Skip to content

Commit 249ca3b

Browse files
committed
redshift reverse etl setup
1 parent d51ad42 commit 249ca3b

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed

src/_data/sidenav/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,8 @@ sections:
249249
title: Reverse ETL Overview
250250
- path: /reverse-etl/bigquery-setup
251251
title: BigQuery Reverse ETL Setup
252+
- path: /reverse-etl/redshift-setup
253+
title: Redshift Reverse ETL Setup
252254
- path: /reverse-etl/snowflake-setup
253255
title: Snowflake Reverse ETL Setup
254256
- section_title: Profiles

src/reverse-etl/redshift-setup.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
title: Redshift Reverse ETL Setup
3+
beta: true
4+
---
5+
6+
Set up Redshift as your Reverse ETL source.
7+
8+
> info ""
9+
> Redshift for Reverse ETL is in beta and Segment is actively working on this feature. Segment’s [First-Access and Beta terms](https://segment.com/legal/first-access-beta-preview/) govern this feature. If you’d like to learn more, reach out to your CSM, AE, or SE.
10+
11+
To set up Redshift with Reverse ETL:
12+
1. Log in to Redshift and select the Redshift cluster you want to connect with Reverse ETL.
13+
2. Follow the [networking instructions](/docs/connections/storage/catalog/redshift/#networking) to configure the correct network and security settings.
14+
3. Run the SQL commands below to create a user named `segment`.
15+
16+
```ts
17+
-- create a user named "segment" that Segment will use when connecting to your Redshift cluster.
18+
CREATE USER segment PASSWORD '<enter password here>';
19+
20+
-- allows the "segment" user to create new schemas on the specified database. (this is the name you chose when provisioning your cluster)
21+
GRANT CREATE ON DATABASE "<enter database name here>" TO "segment";
22+
```
23+
4. Follow the steps listed in the [Add a source](/docs/reverse-etl/#step-1-add-a-source) section to finish adding Redshift as your source.
24+
25+
### Extra Permissions
26+
Give the `segment` user read permissions for any resources (databases, schemas, tables) the query needs to access.
27+
28+
Give the `segment` user write permissions for the Segment managed schema (`__segment_reverse_etl`), which keeps track of changes to the query results.

0 commit comments

Comments
 (0)