Skip to main content
For more information on destinations, see the Destinations page. When new data is read from a SaaS instance via a Read Action or Subscribe Action, Ampersand inserts the payload as rows into your Amazon Redshift table. Both Redshift Serverless (via a workgroup) and provisioned clusters (via a cluster identifier) are supported.

Prerequisites

Before setting up a Redshift destination, ensure that you have:
  • An Amazon Redshift Serverless workgroup or a provisioned cluster
  • A target database, and a table to insert into (see Data format and table setup)
  • AWS credentials with permission to run the Redshift Data API and insert into the target table

Data format and table setup

Ampersand delivers each read or subscribe message as a JSON object. The full payload schema is defined in webhook.yaml. The Redshift destination writes each message into two columns: created_at (the insert time) and payload (the full message JSON). The payload is written as a string, so payload must be a character column large enough to hold it. Create the table like this:

Create a Redshift destination

Go to the Destinations page in the Ampersand Dashboard and create a new Redshift destination. You’ll need to provide:
*Either Workgroup name or Cluster identifier is required. Provide a workgroup name for Redshift Serverless, or a cluster identifier (and DB user) for a provisioned cluster.

Refer to the destination in your integration

After creating your Redshift destination, reference it in your amp.yaml file: