Overview
Stigg’s integration with Amazon Redshift allows you to export your product catalog, customer, and subscription data directly to your Redshift cluster for custom reporting and analysis.Stigg’s native data export integrations are included in the Scale plan, and are also available as an optional add-on to the Growth plan. See Stigg’s pricing for more details.
Exported entities
When connecting Redshift, you can choose which Stigg entity groups to include in the sync. All groups are selected by default. See Exported entities for the full list of entity groups and the tables within each.Entity schema
Setting up the integration
Prerequisites
- An Amazon Redshift cluster
- An S3 bucket in the same AWS region (used for staging data before loading into Redshift)
- An IAM role with permission to read/write the S3 staging bucket and load data into Redshift
Create an IAM role for Stigg
In the AWS IAM console, create a role that Stigg can assume. The role must have:
- S3 permissions:
s3:GetObject,s3:PutObject,s3:DeleteObject,s3:ListBucketon your staging bucket - Redshift permissions:
redshift:GetClusterCredentialsand the ability to runCOPYcommands
arn:aws:iam::STIGG_ACCOUNT_ID:root) permission to assume this role. Contact Stigg support for the current account ID.Connect Stigg with Redshift
In Stigg, navigate to Integrations > Apps > Amazon Redshift.Enter the following information in the connection form:
Click Test & connect.
| Field | Description |
|---|---|
| Host | The Redshift cluster endpoint |
| Port | The port Redshift listens on. Defaults to 5439. |
| Database | The name of the target database |
| Cluster | The Redshift cluster identifier |
| Schema | The schema where Stigg will create and sync tables |
| Username | The Redshift database user |
| IAM Role ARN | The ARN of the IAM role created above |
| Staging bucket | The S3 bucket name and region used for staging |
Select entities to export
After entering your connection details, expand the Entities to export section to choose which entity groups to include in the sync. All groups are selected by default.See Exported entities for a description of each group.
