Bulk sync (ELT) from HubSpot to PostgreSQL
Bulk sync (ELT) from HubSpot to PostgreSQL
Bulk sync (ELT) from HubSpot to PostgreSQL
Watch the same steps in the Polytomic admin console in this demo video.
Set your Polytomic API key as an environment variable:
This example covers three steps:
The following request creates a Connection to HubSpot. See the connection configuration reference for the fields each Connection type accepts.
HubSpot Connections authenticate with OAuth. Open the URL returned in the auth_url field of the response to complete the flow.
By default, the API expects auth_url to open in a new browser window.
Set the optional redirect_url parameter in the request body to change
the redirect target.
The PostgreSQL server must be network-accessible from Polytomic.
Polytomic may take a few moments to cache source schemas after a new Connection is created.
The following request creates a Bulk Sync that replicates every HubSpot object into Postgres: