Create a connection to Snowflake
To connect your Visualization service to Snowflake:
-
Open the Visualization
-
Select your workbook or click Create workbook to make a new one.
-
Click Create → Connection in the upper-right corner of your workbook page.
-
Select Snowflake. You'll see the following page:
-
Under Authentication:
First connection OAuth setup
If you're setting up your first Snowflake connection to DoubleCloud Visualization, set up OAuth integration
-
In the OAuth integration field, specify an integration object name and click Get snippet.
-
Create an integration: in the Snowflake environment, paste the acquired snippet. The snippet's code must be executed by a user with appropriate permissions. Your query will return the values to provide to Visualization.
-
Fill out the parameters received from Snowflake:
-
ACCOUNT_NAME - the Snowflake account name
-
CLIENT_ID - the client identifier
-
CLIENT_SECRET - the Snowflake OAuth client secret
-
-
To the right of the Refresh-token field, click Get token. In the new tab, confirm access. Make sure you used the credentials of a Snowflake user with limited access. For more information on access control, see the Snowflake documentation
-
-
Under Database details:
-
Specify the User name to which you confirmed access previously.
-
Enter the Database name you want to connect.
-
Specify the Database schema.
-
Enter the name of the data Warehouse. For more information on warehouses, see the Snowflake documentation
-
Provide the User role that has permissions to access the above database.
-
-
Click Check connection:
-
If your connection is operational, you'll see a green icon.
-
If there is a problem, a red icon will appear. You'll also see a popup message with a Details button to check service information about the error.
-
-
Click Create connection.
-
Name your connection and click Create.
The connection will appear on your workbook page under the Connections tab.