diff --git a/website/docs/docs/cloud/manage-access/set-up-snowflake-oauth.md b/website/docs/docs/cloud/manage-access/set-up-snowflake-oauth.md index e9c4236438e..1a789dc2770 100644 --- a/website/docs/docs/cloud/manage-access/set-up-snowflake-oauth.md +++ b/website/docs/docs/cloud/manage-access/set-up-snowflake-oauth.md @@ -35,7 +35,13 @@ To get started, copy the connection's redirect URI from dbt Cloud: ### Create a security integration -In Snowflake, execute a query to create a security integration. Please find the complete documentation on creating a security integration for custom clients [here](https://docs.snowflake.net/manuals/sql-reference/sql/create-security-integration.html#syntax). In the following example `create or replace security integration` query, replace `YOUR_ACCESS_URL` with the [appropriate Access URL](/docs/cloud/about-cloud/access-regions-ip-addresses) for your region and plan. +In Snowflake, execute a query to create a security integration. Please find the complete documentation on creating a security integration for custom clients [here](https://docs.snowflake.net/manuals/sql-reference/sql/create-security-integration.html#syntax). + +In the following `CREATE OR REPLACE SECURITY INTEGRATION` example query, replace `` with the [appropriate Access URL](/docs/cloud/about-cloud/access-regions-ip-addresses) for your region and plan. You can find this in dbt Cloud by: +- Navigating to **Account settings** and then **Connections** +- Click on the Snowflake connection +- Copy the URL under **Redirect URI** + ``` CREATE OR REPLACE SECURITY INTEGRATION DBT_CLOUD @@ -43,7 +49,7 @@ CREATE OR REPLACE SECURITY INTEGRATION DBT_CLOUD ENABLED = TRUE OAUTH_CLIENT = CUSTOM OAUTH_CLIENT_TYPE = 'CONFIDENTIAL' - OAUTH_REDIRECT_URI = 'LOCATED_REDIRECT_URI' + OAUTH_REDIRECT_URI = '' OAUTH_ISSUE_REFRESH_TOKENS = TRUE OAUTH_REFRESH_TOKEN_VALIDITY = 7776000; ``` diff --git a/website/static/img/docs/dbt-cloud/access-control/oauth-connections.jpg b/website/static/img/docs/dbt-cloud/access-control/oauth-connections.jpg new file mode 100644 index 00000000000..e11e8b6fc5a Binary files /dev/null and b/website/static/img/docs/dbt-cloud/access-control/oauth-connections.jpg differ