title | beta |
---|---|
Redshift Reverse ETL Setup |
true |
Set up Redshift as your Reverse ETL source.
info "" Redshift for Reverse ETL is in beta and Segment’s First-Access and Beta terms govern this feature. If you’d like to learn more, reach out to your CSM, AE, or SE.
To set up Redshift with Reverse ETL:
-
Log in to Redshift and select the Redshift cluster you want to connect with Reverse ETL.
-
Follow the networking instructions to configure the correct network and security settings.
-
Run the SQL commands below to create a user named
segment
.-- create a user named "segment" that Segment will use when connecting to your Redshift cluster. CREATE USER segment PASSWORD '<enter password here>'; -- allows the "segment" user to create new schemas on the specified database. (this is the name you chose when provisioning your cluster) GRANT CREATE ON DATABASE "<enter database name here>" TO "segment";
-
Follow the steps listed in the Add a source section to finish adding Redshift as your source.
Give the segment
user read permissions for any resources (databases, schemas, tables) the query needs to access.
Give the segment
user write permissions for the Segment managed schema (__segment_reverse_etl
), which keeps track of changes to the query results.