Prerequisites
To follow the steps in this guide, you’ll need:- Account Admin permissions in Sidecar
- Permissions in Snowflake that allow you to:
- Create database users, create warehouses, create databases, and grant permissions
- Set up key-pair authentication
1. (Optional) Create a warehouse for Sidecar
You can also grant Sidecar an existing warehouse if you prefer.2. Create a user, role, and database for Sidecar
3. Add key-pair authentication to the Sidecar user
Starting November 2025, Snowflake requires all service users to use key-pair authentication. Sidecar recommends using key-pair when setting up a user for Sidecar.
- Follow Snowflake’s instructions for generating a key-pair.
- Using the public key generated, alter the user for Sidecar:
4. Grant Sidecar access to Snowflake system views and warehouse monitoring
5. Grant Sidecar access to databases you’d like to monitor
6. Grant Sidecar access to schemas you’d like to monitor
Helper script: generate grant statements for all schemas
Helper script: generate grant statements for all schemas
This command generates the SQL statements for all
(database.schema) pairs. You must grant access to databases before running this (Step 5).Alternative: database-level grants
Alternative: database-level grants
For customers who only wish to grant database-level privileges, use the following. Note: Database-level privileges are ignored if schema-level privileges are granted to other users, so this approach may lead to inconsistent access.
7. Locate your Snowflake Account ID
- In Snowflake, in the bottom-left corner, click your avatar.
- Select Account > View Account Details.
- Copy the value for Account Identifier.
8. Connect Snowflake to Sidecar
- On the Integrations page, navigate to the Snowflake integration.
- Enter your Account ID (Step 7).
- Enter the name of the user you created (e.g.,
SIDECAR_USER) (Step 2). - Enter either the password or private key + private key passphrase for the Sidecar user (Step 3).
- Click Test Connection.
- Click Save.