From 99e0e33df167721482a258dced9b841374afc0d9 Mon Sep 17 00:00:00 2001 From: pwseg Date: Tue, 22 Jul 2025 13:39:40 -0700 Subject: [PATCH 1/4] fix dbt sync table [netlify-build] --- src/segment-app/extensions/dbt.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/segment-app/extensions/dbt.md b/src/segment-app/extensions/dbt.md index 4d338ebd97..5c3729b300 100644 --- a/src/segment-app/extensions/dbt.md +++ b/src/segment-app/extensions/dbt.md @@ -112,7 +112,7 @@ To enable CI Checks, authorize a GitHub App credential for your Git connection. The following table lists common dbt Extension errors, as well as their solutions: -| Error | Error message | Solution | -| ----------- | -------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| 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.
For example, use `project/dbt_project.yml` instead of `main/project/dbt_project.yml`. | -| 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. | +| Error | Error message | Solution | +| ----------- | ------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| 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.
For example, use `project/dbt_project.yml` instead of `main/project/dbt_project.yml`. | +| 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. | From 02ac0fbb50089b653ed5b220d0495aafcda883ae Mon Sep 17 00:00:00 2001 From: pwseg Date: Thu, 24 Jul 2025 02:17:06 -0500 Subject: [PATCH 2/4] fix erroneous git sync instructions --- src/segment-app/extensions/dbt.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/segment-app/extensions/dbt.md b/src/segment-app/extensions/dbt.md index 5c3729b300..21d221396d 100644 --- a/src/segment-app/extensions/dbt.md +++ b/src/segment-app/extensions/dbt.md @@ -32,14 +32,14 @@ To set up the dbt extension, you'll need: ### Git repository and dbt Models setup -Follow these steps to connect the Git repository that stores your dbt Models: +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. 1. In your Segment workspace, navigate to **Settings > Extensions**. -2. Click **Set up Git sync**. -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**. +2. Click either **Set up dbt model syncs**. +3. On the **Configure service credentials** page, select a credential and protocol, add your key or token, then click **Next**. 4. In the **Connect source** window, select an existing Reverse ETL warehouse source from the dropdown, then click **Save**. -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. +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. ### dbt Cloud setup From d47662fab82af04a85938054a02c0b5d3dc5cfea Mon Sep 17 00:00:00 2001 From: pwseg <86626706+pwseg@users.noreply.github.com> Date: Thu, 24 Jul 2025 12:47:55 -0500 Subject: [PATCH 3/4] Update src/segment-app/extensions/dbt.md Co-authored-by: Sharon Adewusi --- src/segment-app/extensions/dbt.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/segment-app/extensions/dbt.md b/src/segment-app/extensions/dbt.md index 21d221396d..b1597ed6f3 100644 --- a/src/segment-app/extensions/dbt.md +++ b/src/segment-app/extensions/dbt.md @@ -35,7 +35,7 @@ To set up the dbt extension, you'll need: 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. 1. In your Segment workspace, navigate to **Settings > Extensions**. -2. Click either **Set up dbt model syncs**. +2. Click either **Set up dbt model syncs** or **Set up integration**. 3. On the **Configure service credentials** page, select a credential and protocol, add your key or token, then click **Next**. 4. In the **Connect source** window, select an existing Reverse ETL warehouse source from the dropdown, then click **Save**. From 91a54b90b5efca23df82304eee1365678e4aab96 Mon Sep 17 00:00:00 2001 From: Sharon Adewusi Date: Thu, 24 Jul 2025 19:36:03 +0100 Subject: [PATCH 4/4] Reverting suggestion --- src/segment-app/extensions/dbt.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/segment-app/extensions/dbt.md b/src/segment-app/extensions/dbt.md index b1597ed6f3..21d221396d 100644 --- a/src/segment-app/extensions/dbt.md +++ b/src/segment-app/extensions/dbt.md @@ -35,7 +35,7 @@ To set up the dbt extension, you'll need: 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. 1. In your Segment workspace, navigate to **Settings > Extensions**. -2. Click either **Set up dbt model syncs** or **Set up integration**. +2. Click either **Set up dbt model syncs**. 3. On the **Configure service credentials** page, select a credential and protocol, add your key or token, then click **Next**. 4. In the **Connect source** window, select an existing Reverse ETL warehouse source from the dropdown, then click **Save**.