From 9dc85a14e8b59cd6fbf0ceb2bbbe4b18c140ffd5 Mon Sep 17 00:00:00 2001 From: Will Deng Date: Mon, 10 Jun 2024 12:55:43 -0400 Subject: [PATCH] update doc about sl creds in the llm schema --- .../docs/cloud-integrations/set-up-snowflake-native-app.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/website/docs/docs/cloud-integrations/set-up-snowflake-native-app.md b/website/docs/docs/cloud-integrations/set-up-snowflake-native-app.md index 96d5736b9b5..5ac1700462f 100644 --- a/website/docs/docs/cloud-integrations/set-up-snowflake-native-app.md +++ b/website/docs/docs/cloud-integrations/set-up-snowflake-native-app.md @@ -67,15 +67,14 @@ Configure dbt Cloud and Snowflake Cortex to power the **Ask dbt** chatbot. Make sure to replace `SNOWFLAKE.CORTEX_USER`, `DEPLOYMENT_USER`, and `SL_USER` with the appropriate strings for your environment. -1. Create a schema `dbt_sl_llm` in the deployment database. The deployment user must have the ability to read and write into this schema and the SL user needs only read access. Open a Snowflake SQL worksheet and run these statements: +1. Create a schema `dbt_sl_llm` in the deployment database. The deployment user will need write access to create necessary tables in that schema. The SL user only needs read access to this schema. Open a Snowflake SQL worksheet and run these statements: ```sql create schema YOUR_DEPLOYMENT_DATABASE.dbt_sl_llm; - grant ownership on schema dbt_sl_llm to role DEPLOYMENT_USER; - grant select on schema dbt_sl_llm to role SL_USER; + grant SELECT on schema dbt_sl_llm to role SL_USER; ``` - Make sure to replace `YOUR_DEPLOYMENT_DATABASE`, `DEPLOYMENT_USER`, and `SL_USER` with the appropriate strings for your environment. + Make sure to replace `YOUR_DEPLOYMENT_DATABASE` and `SL_USER` with the appropriate strings for your environment. ## Configure dbt Cloud Collect three pieces of information from dbt Cloud to set up the application.