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, delivered to a Redshift Serverless workgroup.

Prerequisites

Before setting up a Redshift destination, ensure that you have:
  • An Amazon Redshift Serverless workgroup
  • 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:

Refer to the destination in your integration

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