Skip to content

Commit 546bf31

Browse files
authored
Merge pull request #7784 from segmentio/fix-dbt-sync-table
Fix dbt extension troubleshooting + Git sync instructions
2 parents eb1620f + 91a54b9 commit 546bf31

File tree

1 file changed

+8
-8
lines changed
  • src/segment-app/extensions

1 file changed

+8
-8
lines changed

src/segment-app/extensions/dbt.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,14 @@ To set up the dbt extension, you'll need:
3232

3333
### Git repository and dbt Models setup
3434

35-
Follow these steps to connect the Git repository that stores your dbt Models:
35+
To connect Segment to your dbt models, you’ll first need to configure a Git connection. This allows Segment to pull dbt models directly from your repository.
3636

3737
1. In your Segment workspace, navigate to **Settings > Extensions**.
38-
2. Click **Set up Git sync**.
39-
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**.
38+
2. Click either **Set up dbt model syncs**.
39+
3. On the **Configure service credentials** page, select a credential and protocol, add your key or token, then click **Next**.
4040
4. In the **Connect source** window, select an existing Reverse ETL warehouse source from the dropdown, then click **Save**.
4141

42-
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.
42+
After you've saved your setup, you can configure your settings to your needs by changing the repository, branch, dbt version, default schema, and project path.
4343

4444
### dbt Cloud setup
4545

@@ -112,7 +112,7 @@ To enable CI Checks, authorize a GitHub App credential for your Git connection.
112112

113113
The following table lists common dbt Extension errors, as well as their solutions:
114114

115-
| Error | Error message | Solution |
116-
| ----------- | -------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
117-
| Failed sync | `Sync Failed: Incorrect dbt Project File Path: dbt project file not found` | Verify that the path to your `dbt_project.yml` file is relative to the repository root, excluding the root branch. <br> For example, use `project/dbt_project.yml` instead of `main/project/dbt_project.yml`. |
118-
| Failed sync | `Sync Failed: remote: Write access to repository not granted` | Verify that the account associated with the token has a write role in the repository settings. Fine-grained tokens may require specific roles, depending on your Git provider. |
115+
| Error | Error message | Solution |
116+
| ----------- | ------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
117+
| Failed sync | Sync Failed: Incorrect dbt Project File Path: dbt project file not found | Verify that the path to your `dbt_project.yml` file is relative to the repository root, excluding the root branch. <br> For example, use `project/dbt_project.yml` instead of `main/project/dbt_project.yml`. |
118+
| Failed sync | Sync Failed: remote: Write access to repository not granted | Verify that the account associated with the token has a write role in the repository settings. Fine-grained tokens may require specific roles, depending on your Git provider. |

0 commit comments

Comments
 (0)