Bulk sync (ELT) from Salesforce to S3
Bulk sync (ELT) from Salesforce to S3
Bulk sync (ELT) from Salesforce to S3
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 Salesforce Connection. See the Salesforce connection configuration for the required fields.
Salesforce 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 S3 bucket must be reachable from Polytomic over the network. For details, see the S3 connection guide.
The following request creates a Bulk Sync that replicates the Salesforce Account and Contact objects into S3:
Omit schemas to sync every object on the source.
ℹ️ Retry while schemas cache
Polytomic may take a few moments to cache source schemas after a new Connection is created. Until the cache is populated, Bulk Sync creation returns:
This request is safe to retry until it returns a
2xxresponse.