For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Log inBook a demo
GuidesAPI Reference
GuidesAPI Reference
  • Getting started
    • Introduction
    • IP Whitelisting
    • Obtaining API keys
    • LLMs.txt
    • MCP server
    • Quickstart
    • Native clients
    • Concepts
    • Embedding authentication
    • Versioning
    • Idempotent requests
    • Events
    • Self-hosted option
    • 2025-09-18 Migration Guide
  • Configuring your connections
    • Overview
      • Affinity
      • Airtable
      • Amazon Selling Partner
      • Amplemarket
      • Amplitude
      • Apollo.io
      • App Store Connect
      • Appcues
      • AppsFlyer
      • Asana
      • Ascend
      • Ashby
      • Attio
      • Auth0
      • Autumn
      • Autura
      • AWS Athena
      • AWS OpenSearch
      • Azure Blob Storage
      • Azure Cosmos DB
      • Azure SQL
      • Azure Synapse
      • Barbour ABI
      • Botpress
      • Brevo
      • Calendly
      • CallRail
      • Campfire
      • Chameleon
      • Chargebee
      • Chili Piper
      • Chorus
      • Circle
      • Clari Copilot
      • Clazar
      • Clerk
      • ClickHouse
      • Cloudflare Logs
      • Cloudflare R2
      • Construct Connect
      • ConstructionWire
      • CSV URL
      • Customer.io
      • Customer.io Warehouse Exports
      • Databricks
      • Datadog
      • Dayforce
      • dbt Cloud
      • dbt Project Repository
      • Delighted
      • Dialpad
      • Dittofeed
      • Docker Hub
      • Dropbox
      • Dub
      • DynamoDB
      • Facebook Ads
      • Factors.ai
      • Fathom
      • Fireflies.ai
      • Freshdesk
      • Freshservice
      • Front
      • Fullstory
      • G2
      • Gainsight CS
      • Gatsby
      • GitHub
      • Gladly
      • Glean
      • Gmail
      • Gong
      • Google Ads
      • Google Analytics
      • Google BigQuery
      • Google Cloud MySQL
      • Google Cloud PostgreSQL
      • Google Cloud Storage
      • Google Search Console
      • Google Sheets
      • Google Slides
      • Google Workspace
      • Gorgias
      • Greenhouse
      • Harmonic
      • Heap
      • Heron Data
      • HeyReach
      • HighLevel
      • Highspot
      • Honeycomb
      • HTTP API
      • HTTP Enrichment
      • HubSpot
      • Hyperline
      • IBM Db2
      • Instantly
      • Intellimize
      • Intercom
      • Ironclad
      • Iterable
      • Jira
      • Juro
      • Klaviyo
      • Kustomer
      • Lago
      • LearnWorlds
      • Linear
      • LinkedIn Ads
      • Lob
      • Loop
      • Loops
      • Luma
      • m3ter
      • MailerCheck
      • Marketo
      • Microsoft Ads
      • Microsoft Dynamics 365
      • Microsoft SharePoint Excel
      • Microsoft SQL Server
      • Mixpanel
      • monday.com
      • MongoDB
      • MotherDuck
      • MySQL
      • n8n
      • NetSuite
      • NetSuite OpenAir
      • NetSuite SuiteAnalytics
      • Northbeam
      • Notion
      • Outreach
      • Pardot
      • PartnerPage
      • Paycor
      • Pinterest Ads
      • Pipedrive
      • Pitchbook
      • Plain
      • PlusVibe
      • Polytomic Metadata
      • PostgreSQL
      • PostHog
      • PredictLeads
      • Productboard
      • Profound
      • Pylon
      • QtaniumConnect
      • Qualtrics
      • QuickBooks
      • Ramp
      • Recharge
      • Reddit Ads
      • Redshift
      • Redshift Serverless
      • Reo.dev
      • Reply
      • Rewardful
      • Rippling
      • Rocketlane
      • S3
      • Sage Intacct
      • Salesbricks
      • Salesforce
      • Salesloft
      • Scamalytics
      • ScyllaDB
      • Seal Subscriptions
      • Seam AI
      • Segment
      • Seismic
      • SFTP
      • ShipBob
      • Shippo
      • Shopify
      • Short.io
      • Showpad
      • Slack
      • Smartlead.ai
      • Smartsheet
      • Snowflake
      • Sprig
      • Sprout Social
      • Standard Metrics
      • Statsig
      • Stord
      • Strackr
      • Stripe
      • SurveyMonkey
      • Survicate
      • Tabs
      • TestRail
      • Thrive
      • TikTok Ads
      • Tixr
      • Towbook
      • Twilio Sendgrid
      • Typeform
      • Unbounce
      • Upfluence
      • UpPromote
      • UserVoice
      • Vanilla Forums
      • Walmart Marketplace
      • Ware2Go
      • Webhook
      • WorkOS
      • Xero
      • Yotpo
      • YouTube Analytics
      • Zendesk Chat
      • Zendesk Support
      • Zoho CRM
      • Zoho Desk
      • ZoomInfo
    • CDC streaming from databases
    • Syncing to custom webhooks
  • Code examples
    • Overview
    • Bulk sync (ELT) from HubSpot to PostgreSQL
    • Bulk sync (ELT) from Salesforce to S3
    • Bulk sync (ELT) from Salesforce to Snowflake
    • Model sync (Reverse ETL) from Snowflake query to Salesforce
    • Model sync (Reverse ETL) from MongoDB to Salesforce
    • Adding users from Snowflake to Salesloft Cadence
    • Adding contacts from Snowflake to Gong Engage
    • Joined model sync from Postgres, Airtable, and Stripe to Hubspot
    • Model sync from MySQL to Snowflake
    • Model sync from Salesforce to Netsuite
    • Querying Salesforce using SOQL
    • Syncing audiences from Snowflake to LinkedIn Ads
    • Syncing contacts from Google Cloud Storage to Salesforce
    • Syncing contacts from Google Cloud Storage to webhooks
  • Terraform examples
    • Overview
    • Model sync (Reverse ETL) from BigQuery to Salesforce
    • Model sync (Reverse ETL) from BigQuery to LinkedIn Ads
Logo
Log inBook a demo
On this page
  • Connection
  • Configuration
  • Example
  • Read-only properties
  • Model Sync
  • Source
  • Configuration
  • Example
  • Target
  • All targets
  • Configuration
  • Example
  • Target creation
  • Bulk Sync
  • Source
  • Destination
  • Configuration
  • Example
  • Type handling
  • Destination types
  • Source types
Configuring your connectionsConnection configurations

Redshift

Was this page helpful?
Previous

Redshift Serverless

Next

Supports:

  • ✅ Models
  • ✅ Model sync destination
  • ✅ Bulk sync source
  • ✅ Bulk sync destination

Connection

Configuration

NameTypeDescriptionRequired
auth_modestringAuthentication Method

How to authenticate with AWS. Defaults to Access Key and Secret. Accepted values: access_key_and_secret ↓, iam_role ↓
true
databasestringDatabasetrue
hostnamestringHostnametrue
passwordstringPasswordtrue
portintegerPorttrue
s3_bucket_namestringS3 Bucket Name (destinations only)

Name of bucket used for staging data load files
false
s3_bucket_regionstringS3 Bucket Region (destinations only)

Region of bucket. Note: must match region of redshift server
false
sshbooleanConnect over SSH tunnel ↓false
use_bulk_sync_staging_schemabooleanUse custom bulk sync staging schema ↓false
usernamestringUsernametrue

auth_mode

When auth_mode is access_key_and_secret
NameTypeDescriptionRequired
aws_access_key_idstringAWS Access Key ID (destinations only)

Access Key ID with read/write access to a bucket. More info: https://docs.polytomic.com/docs/redshift
false
aws_secret_access_keystringAWS Secret Access Key (destinations only)false
When auth_mode is iam_role
NameTypeDescriptionRequired
iam_role_arnstringIAM Role ARNtrue

use_bulk_sync_staging_schema

When use_bulk_sync_staging_schema is true
NameTypeDescriptionRequired
bulk_sync_staging_schemastringStaging schema namefalse

ssh

When ssh is true
NameTypeDescriptionRequired
ssh_hoststringSSH hostfalse
ssh_portintegerSSH portfalse
ssh_private_keystringPrivate keyfalse
ssh_userstringSSH userfalse

Example

1{
2 "name": "Redshift connection",
3 "type": "redshift",
4 "configuration": {
5 "auth_mode": "access_key_and_secret",
6 "aws_access_key_id": "AKIAIOSFODNN7EXAMPLE",
7 "aws_secret_access_key": "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY",
8 "database": "mydb",
9 "hostname": "mycluster.us-west-2.redshift.amazonaws.com",
10 "password": "password",
11 "port": 5439,
12 "s3_bucket_name": "my-bucket",
13 "s3_bucket_region": "us-west-2",
14 "ssh": false,
15 "use_bulk_sync_staging_schema": false,
16 "username": "redshift_user"
17 }
18}

Read-only properties

NameTypeDescriptionRequired

auth_mode

When auth_mode is access_key_and_secret
NameTypeDescriptionRequired
aws_userstringUser ARNfalse
When auth_mode is iam_role
NameTypeDescriptionRequired
external_idstringExternal ID for the IAM rolefalse

Model Sync

Source

Configuration

NameTypeDescriptionRequired
querystringfalse
schemastringSchemafalse
tablestringTablefalse
viewstringViewfalse

Example

1{
2 ...
3 "configuration": {
4 "query": "SELECT * FROM sampledata.users",
5 "schema": "sampledata",
6 "table": "users",
7 "view": "active_users"
8 }
9}

Target

Redshift connections may be used as the destination in a model sync.

All targets

Configuration
NameTypeDescriptionRequired
created_columnstring’Created at’ timestamp columnfalse
preserve_table_on_resyncbooleanPreserve destination table when resyncingfalse
updated_columnstring’Updated at’ timestamp columnfalse
write_record_timestampsbooleanWrite row timestamp metadatafalse
Example
1{
2 ...
3 "target": {
4 "configuration": {
5 "created_column": "",
6 "preserve_table_on_resync": false,
7 "updated_column": "",
8 "write_record_timestamps": false
9 }
10 }
11}

Target creation

Redshift connections may be used to create a new target for a model sync. The following parameters are required to create a new target:

NAMEDESCRIPTIONENUM
nameTable namefalse

Bulk Sync

Source

Redshift connections may be used as a bulk sync source. No additional configuration options are required.

Destination

Configuration

NameTypeDescriptionRequired
advancedobjectfalse
mirror_schemasbooleanMirror schemasfalse
schemastringOutput schemafalse

Example

1{
2 ...
3 "destination_configuration": {
4 "advanced": {
5 "empty_strings_null": false,
6 "hard_deletes": false,
7 "table_prefix": "",
8 "truncate_existing": false
9 },
10 "mirror_schemas": false,
11 "schema": "schema"
12 }
13}

Type handling

Destination types

POLYTOMIC TYPEREDSHIFT TYPE
array<>SUPER
bigintBIGINT
booleanBOOL
dateDATE
datetimeTIMESTAMP
decimal(precision, scale)NUMERIC(precision,scale)
doubleFLOAT8
intINTEGER
jsonSUPER
jsonarraySUPER
numberNUMERIC(38,18)
object{}SUPER
singleFLOAT4
smallintSMALLINT
stringVARCHAR(MAX)
timeVARCHAR(255)

Source types

REDSHIFT TYPEPOLYTOMIC TYPE
4000json
BIGINTbigint
BOOLboolean
BOOLEANboolean
BPCHARstring
CHARstring
CHARACTERstring
CHARACTER VARYINGstring
DATEdate
DECIMALnumber
DECIMAL(precision, scale)decimal(precision, scale)
DOUBLE PRECISIONdouble
FLOATdouble
FLOAT4single
FLOAT8double
INTint
INT2smallint
INT4int
INT8bigint
INTEGERint
NCHARstring
NUMERICnumber
NUMERIC(precision, scale)decimal(precision, scale)
NVARCHARstring
REALsingle
SMALLINTsmallint
STRINGstring
TEXTstring
TIMEtime
TIME WITH TIME ZONEtime
TIME WITHOUT TIME ZONEtime
TIMESTAMPdatetime
TIMESTAMP WITH TIME ZONEdatetime_tz
TIMESTAMP WITHOUT TIME ZONEdatetime
TIMESTAMPTZdatetime_tz
TIMETZtime
VARCHARstring