{"title":"Fivetran","description":"Configure Fivetran's standard PostgreSQL destination to load source data into your Altertable lakehouse through the Postgres adapter.","order":315,"askSuggestions":["Which connection settings does the Fivetran destination need?","How do I verify a Fivetran sync before scheduling it?"],"navigation":true,"routeId":"ingestDataFivetran","body":{"code":"var Component=(()=>{var p=Object.create;var o=Object.defineProperty;var g=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames;var m=Object.getPrototypeOf,v=Object.prototype.hasOwnProperty;var y=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),x=(t,e)=>{for(var s in e)o(t,s,{get:e[s],enumerable:!0})},c=(t,e,s,i)=>{if(e&&typeof e==\"object\"||typeof e==\"function\")for(let r of f(e))!v.call(t,r)&&r!==s&&o(t,r,{get:()=>e[r],enumerable:!(i=g(e,r))||i.enumerable});return t};var w=(t,e,s)=>(s=t!=null?p(m(t)):{},c(e||!t||!t.__esModule?o(s,\"default\",{value:t,enumerable:!0}):s,t)),b=t=>c(o({},\"__esModule\",{value:!0}),t);var l=y((A,d)=>{d.exports=_jsx_runtime});var S={};x(S,{default:()=>u,frontmatter:()=>F});var n=w(l()),F={title:\"Fivetran\",routeId:\"ingestDataFivetran\",description:\"Configure Fivetran's standard PostgreSQL destination to load source data into your Altertable lakehouse through the Postgres adapter.\",order:315,askSuggestions:[\"Which connection settings does the Fivetran destination need?\",\"How do I verify a Fivetran sync before scheduling it?\"]};function h(t){let e={a:\"a\",code:\"code\",h1:\"h1\",h2:\"h2\",h3:\"h3\",li:\"li\",p:\"p\",pre:\"pre\",strong:\"strong\",ul:\"ul\",...t.components},{DocsPreviewDocument:s,DocsPreviewSection:i,DocsTable:r}=e;return s||a(\"DocsPreviewDocument\",!0),i||a(\"DocsPreviewSection\",!0),r||a(\"DocsTable\",!0),(0,n.jsxs)(s,{anchors:\"fivetran goal prerequisites steps 1-add-a-postgresql-destination 2-configure-the-connection 3-run-a-source-sync verification next-steps\",children:[(0,n.jsxs)(i,{sectionId:\"fivetran\",sectionTitle:\"Fivetran\",anchors:\"\",ancestors:\"\",index:\"0\",children:[(0,n.jsx)(e.h1,{id:\"fivetran\",children:\"Fivetran\"}),`\n`,(0,n.jsxs)(e.p,{children:[\"Use \",(0,n.jsx)(e.a,{href:\"https://www.fivetran.com/\",children:\"Fivetran\"}),\" to load source data into Altertable through its standard \",(0,n.jsx)(e.strong,{children:\"PostgreSQL destination\"}),\". Connect the destination to Altertable's \",(0,n.jsx)(e.a,{href:\"/docs/lakehouse/clients/postgres\",children:\"Postgres adapter\"}),\" using your lakehouse credentials.\"]}),`\n`]}),(0,n.jsxs)(i,{sectionId:\"goal\",sectionTitle:\"Goal\",anchors:\"\",ancestors:\"\",index:\"1\",children:[(0,n.jsx)(e.h2,{id:\"goal\",children:\"Goal\"}),`\n`,(0,n.jsx)(e.p,{children:\"Configure a PostgreSQL destination in Fivetran, point it at an Altertable catalog, and verify a source sync with SQL.\"}),`\n`]}),(0,n.jsxs)(i,{sectionId:\"prerequisites\",sectionTitle:\"Prerequisites\",anchors:\"\",ancestors:\"\",index:\"2\",children:[(0,n.jsx)(e.h2,{id:\"prerequisites\",children:\"Prerequisites\"}),`\n`,(0,n.jsxs)(e.ul,{children:[`\n`,(0,n.jsx)(e.li,{children:\"A Fivetran account with permission to create or manage destinations.\"}),`\n`,(0,n.jsxs)(e.li,{children:[\"Your \",(0,n.jsx)(e.a,{href:\"/docs/administration/lakehouse-credentials\",children:\"lakehouse username and password\"}),\".\"]}),`\n`,(0,n.jsxs)(e.li,{children:[\"A writable \",(0,n.jsx)(e.a,{href:\"/docs/lakehouse/catalogs\",children:\"Altertable catalog\"}),\" for the synced data.\"]}),`\n`,(0,n.jsx)(e.li,{children:\"A source ready to connect in Fivetran.\"}),`\n`]}),`\n`]}),(0,n.jsxs)(i,{sectionId:\"steps\",sectionTitle:\"Steps\",anchors:\"\",ancestors:\"\",index:\"3\",children:[(0,n.jsx)(e.h2,{id:\"steps\",children:\"Steps\"}),`\n`]}),(0,n.jsxs)(i,{sectionId:\"1-add-a-postgresql-destination\",sectionTitle:\"1. Add a PostgreSQL destination\",anchors:\"\",ancestors:\"steps\",index:\"4\",children:[(0,n.jsx)(e.h3,{id:\"1-add-a-postgresql-destination\",children:\"1. Add a PostgreSQL destination\"}),`\n`,(0,n.jsxs)(e.p,{children:[\"In Fivetran, open \",(0,n.jsx)(e.strong,{children:\"Destinations\"}),\", choose \",(0,n.jsx)(e.strong,{children:\"Add destination\"}),\", and name it \",(0,n.jsx)(e.code,{children:\"Altertable\"}),\". Select \",(0,n.jsx)(e.strong,{children:\"PostgreSQL\"}),\" as the destination type and use the generic PostgreSQL setup with a direct connection.\"]}),`\n`]}),(0,n.jsxs)(i,{sectionId:\"2-configure-the-connection\",sectionTitle:\"2. Configure the connection\",anchors:\"\",ancestors:\"steps\",index:\"5\",children:[(0,n.jsx)(e.h3,{id:\"2-configure-the-connection\",children:\"2. Configure the connection\"}),`\n`,(0,n.jsx)(e.p,{children:\"Enter the following connection details:\"}),`\n`,(0,n.jsx)(r,{columns:[\"Field\",\"Value\"],data:[{Field:\"Host\",Value:\"`postgres.altertable.ai`\"},{Field:\"Port\",Value:\"`443`\"},{Field:\"User\",Value:\"Your lakehouse username\"},{Field:\"Password\",Value:\"Your lakehouse password\"},{Field:\"Database\",Value:\"Your Altertable catalog name\"},{Field:\"TLS/SSL\",Value:\"**Required**\"}]}),`\n`,(0,n.jsx)(e.p,{children:\"The database field selects the catalog where Fivetran writes data. Use credentials from the Altertable environment that owns that catalog. Altertable manages lakehouse credentials, so use those credentials in place of the PostgreSQL user creation steps in Fivetran's generic guide.\"}),`\n`,(0,n.jsxs)(e.p,{children:[\"Complete the remaining destination settings for your Fivetran account, then choose \",(0,n.jsx)(e.strong,{children:\"Save & Test\"}),\". See Fivetran's \",(0,n.jsx)(e.a,{href:\"https://fivetran.com/docs/destinations/postgresql/setup-guide\",children:\"PostgreSQL destination setup guide\"}),\" for its current setup form and connection tests.\"]}),`\n`]}),(0,n.jsxs)(i,{sectionId:\"3-run-a-source-sync\",sectionTitle:\"3. Run a source sync\",anchors:\"\",ancestors:\"steps\",index:\"6\",children:[(0,n.jsx)(e.h3,{id:\"3-run-a-source-sync\",children:\"3. Run a source sync\"}),`\n`,(0,n.jsxs)(e.p,{children:[\"Create a source connection in Fivetran and select the \",(0,n.jsx)(e.code,{children:\"Altertable\"}),\" destination. Configure the destination schema for that connection, select the tables to sync, and start an initial sync.\"]}),`\n`,(0,n.jsx)(e.p,{children:\"Altertable exposes the PostgreSQL wire protocol but executes queries with DuckDB. Validate both the destination tests and a sync with your source before scheduling recurring loads, including updates and deletes if your source uses them.\"}),`\n`]}),(0,n.jsxs)(i,{sectionId:\"verification\",sectionTitle:\"Verification\",anchors:\"\",ancestors:\"\",index:\"7\",children:[(0,n.jsx)(e.h2,{id:\"verification\",children:\"Verification\"}),`\n`,(0,n.jsxs)(e.p,{children:[\"After the initial sync completes, open \",(0,n.jsx)(e.a,{href:\"/docs/lakehouse/query/sql-explorer\",children:\"SQL Explorer\"}),\". Replace the example identifiers with the catalog, schema, and table configured in Fivetran:\"]}),`\n`,(0,n.jsx)(e.pre,{children:(0,n.jsx)(e.code,{className:\"language-sql\",children:`SELECT * FROM my_catalog.my_schema.my_table LIMIT 10;\n`})}),`\n`,(0,n.jsx)(e.p,{children:\"Compare the sample rows and destination row count with the completed Fivetran sync. If the source includes updates or deletes, verify those changes before enabling recurring syncs.\"}),`\n`]}),(0,n.jsxs)(i,{sectionId:\"next-steps\",sectionTitle:\"Next steps\",anchors:\"\",ancestors:\"\",index:\"8\",children:[(0,n.jsx)(e.h2,{id:\"next-steps\",children:\"Next steps\"}),`\n`,(0,n.jsxs)(e.ul,{children:[`\n`,(0,n.jsx)(e.li,{children:(0,n.jsx)(e.a,{href:\"/docs/lakehouse/query/sql-explorer\",children:\"Query with SQL Explorer\"})}),`\n`,(0,n.jsx)(e.li,{children:(0,n.jsx)(e.a,{href:\"/docs/lakehouse/clients/postgres\",children:\"Postgres adapter\"})}),`\n`,(0,n.jsx)(e.li,{children:(0,n.jsx)(e.a,{href:\"/docs/administration/lakehouse-credentials\",children:\"Manage lakehouse credentials\"})}),`\n`]})]})]})}function u(t={}){let{wrapper:e}=t.components||{};return e?(0,n.jsx)(e,{...t,children:(0,n.jsx)(h,{...t})}):h(t)}function a(t,e){throw new Error(\"Expected \"+(e?\"component\":\"object\")+\" `\"+t+\"` to be defined: you likely forgot to import, pass, or provide it.\")}return b(S);})();\n;return Component;"},"_id":"docs/lakehouse/ingest/integrations/fivetran.mdx","_raw":{"sourceFilePath":"docs/lakehouse/ingest/integrations/fivetran.mdx","sourceFileName":"fivetran.mdx","sourceFileDir":"docs/lakehouse/ingest/integrations","contentType":"mdx","flattenedPath":"docs/lakehouse/ingest/integrations/fivetran"},"type":"Docs","path":"/lakehouse/ingest/integrations/fivetran","level":4,"parent":"lakehouse/ingest/integrations"}