Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Feature: Fivetran Destination Support

pg_tide can function as a Fivetran destination connector, receiving data from Fivetran's managed extraction pipelines and writing it into a pg_tide inbox. This lets you use Fivetran's 300+ managed connectors while routing the data through your transactional inbox for further processing.

How It Works

Fivetran manages the extraction side (connecting to sources like Salesforce, Stripe, databases) and pushes data to a destination. pg_tide acts as that destination — receiving Fivetran's standardized output and writing records into your PostgreSQL inbox table.

Fivetran Cloud  →  HTTP Push  →  pg_tide (Fivetran destination)  →  Inbox table

Configuration

SELECT tide.relay_set_inbox(
    'fivetran-crm',
    'crm_inbox',
    '{
        "source_type": "fivetran",
        "listen_addr": "0.0.0.0:8080",
        "api_key": "${env:FIVETRAN_API_KEY}",
        "api_secret": "${env:FIVETRAN_API_SECRET}"
    }'::jsonb
);

Configuration Reference

ParameterTypeDefaultDescription
source_typestringMust be "fivetran"
listen_addrstring"0.0.0.0:8080"HTTP server address
api_keystringFivetran API key for authentication
api_secretstringFivetran API secret

When to Use Fivetran vs Singer/Airbyte

AspectFivetranSinger/Airbyte
ManagementFully managed (Fivetran Cloud)Self-hosted
SchedulingFivetran handles sync scheduleYou manage cron/orchestration
MonitoringFivetran dashboardYour own metrics
CostPer-row pricingFree (compute cost only)
Connector qualityEnterprise-grade, maintained by FivetranCommunity-maintained

Choose Fivetran when you want zero-maintenance extraction with enterprise SLAs. Choose Singer/Airbyte when you want full control and cost predictability.

Further Reading