This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 8e6d396a30 Doc: Update example for dbt Cloud connection string (#43094)
8e6d396a30 is described below

commit 8e6d396a3064f5433db09667470d750dd2f93f46
Author: Doug Guthrie <[email protected]>
AuthorDate: Thu Oct 17 15:35:27 2024 -0600

    Doc: Update example for dbt Cloud connection string (#43094)
    
    * provide example for access URL conn string
    
    * Apply suggestions from code review
    
    ---------
    
    Co-authored-by: Kaxil Naik <[email protected]>
---
 docs/apache-airflow-providers-dbt-cloud/connections.rst | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/docs/apache-airflow-providers-dbt-cloud/connections.rst 
b/docs/apache-airflow-providers-dbt-cloud/connections.rst
index 428c15d12e..bed1fc8e05 100644
--- a/docs/apache-airflow-providers-dbt-cloud/connections.rst
+++ b/docs/apache-airflow-providers-dbt-cloud/connections.rst
@@ -109,11 +109,16 @@ For example, to add a connection with the connection ID 
of "dbt_cloud_default":
 
         export AIRFLOW_CONN_DBT_CLOUD_DEFAULT='dbt-cloud://:api_token@'
 
-    When specifying a Tenant domain:
+    When specifying a Tenant domain, be sure to follow the Access URL pattern 
in the table 
[here](https://docs.getdbt.com/docs/cloud/about-cloud/access-regions-ip-addresses)
 
     .. code-block:: bash
 
-        export 
AIRFLOW_CONN_DBT_CLOUD_DEFAULT='dbt-cloud://:[email protected]'
+        export 
AIRFLOW_CONN_DBT_CLOUD_DEFAULT='dbt-cloud://:api_token@my-access-url'
+
+    As an example, if my account is hosted in the Cell-based North America 
region and my access URL is ab123.us1.dbt.com, my conn string should be:
+    .. code-block:: bash
+
+        export 
AIRFLOW_CONN_DBT_CLOUD_DEFAULT='dbt-cloud://:[email protected]'
 
 You can refer to the documentation on
 :ref:`creating connections via environment variables 
<environment_variables_connections>` for more

Reply via email to