Connect your Snowflake
Setting up the Snowflake warehouse connector involves setting up Snowflake entities (warehouse, database, schema, user, and role) in the Snowflake console, and configuring the Snowflake Warehouse connector using Whaly UI.
This page describes the step-by-step process of setting up the Snowflake warehouse connector.
Prerequisitesโ
A Snowflake account with the ACCOUNTADMIN role. If you donโt have an account with the
ACCOUNTADMIN
role, contact your Snowflake administrator to set one up for you.
Step 1: Set up Whaly-specific entities in Snowflakeโ
To set up the Snowflake warehouse connector, you first need to create Whaly-specific Snowflake entities (a warehouse, database, schema, user, and role) to read data into Snowflake, track costs pertaining to Whaly, and control permissions at a granular level.
You can use the following script in a new Snowflake worksheet to create the entities:
Edit the following script to change the password to a more secure password and to change the names of other resources if you so desire.
Execute the script as an
ACCOUNTADMIN
user (check on the top right corner of the Worksheet interface).
Note: Make sure you follow the Snowflake identifier requirements while renaming the resources.
Step 2: Set up Snowflake as a Warehouse in Whaly
Navigate to the Whaly UI to set up Snowflake as a destination. You can authenticate using username/password.
Account ID
The Account ID as an URL. Ex. https://xxxxxxx-yyyyyyy.snowflakecomputing.com
. It can be found in Snowflake web UI in Admin > Accounts and then you cal click on the ๐ icon next to the account name in the table.
User
The username you created in Step 1 to allow Whaly to access the database. Example: WHALY_BI_USER
Password
The password associated with the business intelligence user.
How to get the Snowflake Account URL?
If you have a standard Snowflake edition
Go on the bottom right part of you screen and open your Account Selector.
On the tooltip, select the proper account and click on "Copy account URL"
If you have a multi cluster Snowflake edition
Go into the "Admin > Account" panel on the right side of the screen
Next to your account name, click on the ๐ icon which will copy the URL on your clipboard!
Last updated