Snowflake integration: Enable the Glass plugin

Overview

Early Access. For access information, see Request access to Glass.

The Snowflake plugin runs read-only SQL queries through a Snowflake-managed MCP server in your Snowflake account. A Snowflake admin creates the MCP server and an OAuth Security Integration, a Glass admin configures the plugin's workspace app, and then each teammate authorizes their own Snowflake user.

Check Snowflake plugin availability

Before changing Snowflake settings: Ask your Glass admin to check that Snowflake appears in company plugin settings, clearing filters if needed. If it is missing, stop and ask your Glass admin to confirm availability for your company.

Prepare Snowflake

A Glass admin manages company plugin settings. A Snowflake admin creates the MCP server, OAuth Security Integration, and user role settings. If you do not manage both systems, coordinate with the other admin before starting.

For the handoff, send the Snowflake admin this guide and ask them to prepare the server and least-privileged user roles. The Glass admin supplies the exact redirect URL from setup and enters connection details in the setup form. Once both admins confirm setup is complete, members can connect their own accounts; they do not need to repeat the company setup.

Create a Snowflake-managed MCP server

In the database and schema that should host it, create a Snowflake-managed MCP server with a SQL execution tool. Glass calls only this tool, so it must meet these requirements:

CREATE MCP SERVER <database_name>.<schema_name>.<server_name>
  FROM SPECIFICATION $
  tools:
    - title: "SQL Execution Tool"
      name: "sql_exec_tool"
      type: "SYSTEM_EXECUTE_SQL"
      description: "Execute a read-only SQL query."
      config:
        read_only: true
        query_timeout: 45
        warehouse: "<warehouse_name>"
  $;

Set up roles for connecting users

With the default OAuth configuration used by the setup SQL below, sessions use each user's default role and do not activate secondary roles. If you reuse an existing OAuth Security Integration, have your Snowflake admin check its role-selection and secondary-role settings. For each teammate who will connect:

Gather connection details

Have these ready for the Glass setup form:

Configure and enable Snowflake in Glass

An enabled plugin does not necessarily have its workspace OAuth app configured. Allow all plugins enables availability without completing that setup.

  1. Open Snowflake in company plugin settings and start workspace setup:
    • If Enabled is off: Turn it on. Glass opens the setup form if the workspace app has not been configured.
    • If Enabled is already on but workspace setup is incomplete: Turn it off, confirm Turn off, then turn it back on to open setup. While it is off, no one in your company can connect or use this plugin, so coordinate the interruption with your team first.
    • If the app is already configured, turning the plugin on reuses that configuration without opening setup. Continue with connecting your account; do not recreate the integration.
  2. Have your Snowflake admin run the integration-creation SQL shown in setup. It creates a confidential OAuth Security Integration, enables refresh tokens, and retrieves its client credentials. The supplied SQL uses the ACCOUNTADMIN role.
  3. Use the exact OAuth redirect URL shown in Glass for the integration's redirect URI. Follow Add the redirect URL in the setup form rather than constructing a URL yourself.
  4. Under Enter connection details, enter the Account identifier, Snowflake MCP server URI, OAuth client ID, and OAuth client secret. Keep the client secret in the setup form, not in a chat or shared document.
  5. Select Save and enable.

Configuring the workspace app does not connect members' accounts. If the app is already configured, enabling the plugin does not require entering its credentials again.

Connect your Snowflake account in Glass

Each teammate follows Connect a personal Glass plugin account for Snowflake and authorizes as their own Snowflake user. The workspace configuration supplies the Snowflake account and MCP server; with the default OAuth configuration described above, queries run with that user's default role.

For a connection error, follow Glass plugin connection troubleshooting. Before using the account in a shared space, review the space's plugin access.