You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/segment-app/extensions/dbt.md
+7-8Lines changed: 7 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -6,38 +6,37 @@ Segment's dbt extension lets you use [Reverse ETL](/docs/connections/reverse-etl
6
6
7
7
With Segment's dbt extension, you can:
8
8
9
-
- Securely connect Segment to the GitHub repository that stores your dbt models.
9
+
- Securely connect Segment to a Git repository that stores your dbt models.
10
10
- Use centralized dbt models to set up Reverse ETL.
11
11
- Trigger Reverse ETL syncs from dbt jobs.
12
12
13
13
This page explains how to set up a dbt Model and then use the model with Reverse ETL.
14
14
15
-
> info ""
16
-
> Extensions, including dbt sync, is currently in public beta and is governed by Segment's [First Access and Beta Preview Terms](https://www.twilio.com/en-us/legal/tos){:target="_blank"}.
17
-
18
15
## Before you begin
19
16
20
17
Keep the following in mind as you set up the dbt extension:
21
18
22
19
- The extension supports [dbt Core v1.7](https://docs.getdbt.com/docs/dbt-versions/core-upgrade/upgrading-to-v1.7){:target="_blank"}.
23
20
- You can use [Snowflake](/docs/connections/reverse-etl/reverse-etl-source-setup-guides/snowflake-setup/), [Databricks](/docs/connections/reverse-etl/reverse-etl-source-setup-guides/databricks-setup/), [Redshift](/docs/connections/reverse-etl/reverse-etl-source-setup-guides/redshift-setup/), [Postgres](/docs/connections/reverse-etl/reverse-etl-source-setup-guides/postgres-setup/), and [BigQuery](/docs/connections/reverse-etl/reverse-etl-source-setup-guides/bigquery-setup/) as Reverse ETL sources.
24
-
- dbt models aren't synchronized from the dbt cloud. The model sync connects to a Git repository that loads models into Segment for use with Reverse ETL.
21
+
- dbt models aren't synchronized from the dbt cloud. The model sync connects to a Git repository that loads models into Segment for use with Reverse ETL.
22
+
- You can connect to GitHub using a GitHub App, token, or SSH.
23
+
- For [GitLab](https://docs.gitlab.com/ee/user/ssh.html){:target="_blank"} and [Bitbucket](https://support.atlassian.com/bitbucket-cloud/docs/configure-ssh-and-two-step-verification/){:target="_blank"}, use SSH to connect.
25
24
26
25
## Set up Git dbt Models and dbt Cloud
27
26
28
27
To set up the dbt extension, you'll need:
29
28
30
29
- an existing dbt account with a Git repository
31
-
-(for job syncs:) dbt cloud with jobs already created
30
+
- for job syncs, dbt cloud with jobs already created
32
31
33
32
### Git repository and dbt Models setup
34
33
35
34
Follow these steps to connect the Git repository that stores your dbt Models:
36
35
37
36
1. In your Segment workspace, navigate to **Settings > Extensions**.
38
37
2. Click **Set up Git sync**.
39
-
3. On the **Configure service credentials** page, select a service and protocol, add your SSH private key or GitHub token, then click **Next**.
40
-
4. In the **Connect source** window, select a Reverse ETL warehouse source from the dropdown, then click **Save**.
38
+
3. On the **Configure service credentials** page, select a service and protocol, add your GitHub App, SSH private key or GitHub token, then click **Next**.
39
+
4. In the **Connect source** window, select an existing Reverse ETL warehouse source from the dropdown, then click **Save**.
41
40
42
41
After you've saved your setup, you can configure your Git repository's settings to your needs by changing the repository, branch, dbt version, default schema, and project path.
0 commit comments