Skip to main content
New Introducing Mosaic Learn more
Data Warehouse integration

Redshift + Conversion

Sync warehouse models into the marketing data layer.

Redshift
Into Conversion
Conversion

How Conversion works with Redshift

Conversion connects to Amazon Redshift as a dedicated database user and runs the SQL queries you write on a schedule you pick. Query results can create and update contacts, fill custom objects tied to contacts, or record events that start workflows. The connection is read-only and supports Redshift Serverless as well as private clusters reached through an SSH tunnel.

What you can do

SQL across your schemas

Each sync is a Redshift query over the tables you grant, with schema-qualified joins and columns aliased to Conversion field keys.

Private clusters over SSH

Reach a cluster in a private subnet through a bastion host. Conversion generates the SSH public key you add to the host's authorized_keys file.

Objects and events, not only fields

Rows can become custom objects related to contacts or events on the contact timeline, so audiences and workflows work from your models directly.

Schedules that respect your cluster

Run syncs every 15 minutes, hourly, every 6 hours, or daily with a last_sync_time filter, and point Conversion at a read replica to keep load off production.

What syncs

Data Direction Details
Contacts Into Conversion Matched by userId when the query returns one, otherwise by email. Creating a contact requires an email.
Custom objects Into Conversion Records of any custom object type, related to contacts through relationshipFields built with JSON_BUILD_OBJECT and cast to text.
Events Into Conversion Timestamped events on contacts. Supply an eventId and rows that sync twice are ignored.

How to connect Redshift

  1. 1 Create a dedicated Redshift user for Conversion with USAGE on each schema and SELECT on the tables you want to sync.
  2. 2 Allow Conversion's IP addresses in the cluster's security group or firewall on your Redshift port, 5439 by default.
  3. 3 Add a Redshift connection in Conversion settings with the host, port, database, user, and password. Enable SSL, and SSH tunneling if the cluster isn't publicly accessible.
  4. 4 Create a sync for each destination with its SQL query and schedule.
FAQ

Redshift integration FAQ

Yes. Conversion connects to Amazon Redshift as a dedicated database user and runs the SQL queries you write on a schedule you pick. Query results can create and update contacts, fill custom objects tied to contacts, or record events that start workflows. The connection is read-only and supports Redshift Serverless as well as private clusters reached through an SSH tunnel.

USAGE on the schema and SELECT on each table you sync, granted to a dedicated user. Conversion only reads data and never writes to your cluster.

Yes. Enter your Serverless workgroup endpoint as the host. The rest of the setup matches a provisioned cluster.

Yes, through an SSH tunnel. Set up a bastion host in the VPC that can reach the cluster, turn on SSH tunneling in the connection settings, and add the public key Conversion generates to the bastion host.

Queries that return millions of rows should run no more than once a day, because large, frequent syncs affect both Redshift costs and Conversion performance. Smaller incremental syncs can run as often as every 15 minutes.

See Conversion with Redshift

Book a demo and we'll walk through the Redshift integration on a stack that looks like yours.