Skip to main content

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.
  1. Follow Snowflake’s instructions for generating a key-pair.
  2. 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

This command generates the SQL statements for all (database.schema) pairs. You must grant access to databases before running this (Step 5).
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

  1. In Snowflake, in the bottom-left corner, click your avatar.
  2. Select Account > View Account Details.
  3. Copy the value for Account Identifier.

8. Connect Snowflake to Sidecar

  1. On the Integrations page, navigate to the Snowflake integration.
  2. Enter your Account ID (Step 7).
  3. Enter the name of the user you created (e.g., SIDECAR_USER) (Step 2).
  4. Enter either the password or private key + private key passphrase for the Sidecar user (Step 3).
  5. Click Test Connection.
  6. Click Save.

Add Snowflake MCP to Agent Console

After the warehouse connection is saved, follow Set up Snowflake MCP to give Sidecar agents read-only query access.