Snowflake
To integrate Konstellation with Snowflake, you will need to:
- Create a read-only role and a user (service account), so Konstellation can access your Snowflake instance.
- Grant privileges to the databases and schemas you want to integrate
- Add the Snowflake connection to Konstellation.
Run the following commands in a Snowflake worksheet. You will need either ACCOUNTADMIN
or SYSADMIN
permissions to run the following commands:
Define Variables
All variables except password must be in CAPS.
Create Warehouse
This warehouse will be used by the Konstellation user to access and read your data.
For more info on Warehouse creation, check out Snowflake’s documentation
Create Role
Create a read-only role to be granted to the Konstellation user within your Snowflake account. Grant permissions to use the recently-created warehouse.
Grant access to the data you want to monitor
For each database, schema you want Konstellation to monitor, replace the variables below and run the following set of commands:
Create User and Grant Role
Add the Snowflake connection to Konstellation
First, grab your Snowflake account identifier. In most cases, the URL for an account uses the following format:
account-identifier.snowflakecomputing.com OR, app.snowflake.com/account/identifier
This account identifier is made up of 2 components, referred above as (1) account and (2) identifier. Your account name will concatenate both with a dash, account-identifier
If you need more help, check out these instructions to find it.
Once you are in the “Connections” tab, click “Add Connection”, choose Snowflake, and then provide the following details:
Connection Name | A friendly name to identify this connection within Konstellation. You can change this in the future if you wish. |
Account Name | Your Snowflake Account Identifier, as identified in the previous step |
User Name | The user name created through the script, $USER_NAME |
Password | The password provided through the script, $USER_PASSWORD |
Warehouse Name | The name of the warehouse created, $WAREHOUSE_NAME |
User Role | The name of the role created with the necessary access, $ROLE_NAME |
Once you have added all details, Click on “Test Connection” and ensure the message says Successfully Connected:
If you have any issues with connection at this point, please Contact Us for assistance.
After that, click “Create” and you are ready to go.