# Install flurry in Snowflake

> For the Snowflake admin. One page, four steps.

Canonical: https://dvt.dev/docs/install/

You need a role that can install apps from the Snowflake Marketplace, such as ACCOUNTADMIN.

1. **Install and activate.** In Snowsight, open Marketplace, find flurry and click **Get**. Keep the app name `FLURRY` unless you have a reason to change it. The app asks for two account privileges, CREATE COMPUTE POOL and BIND SERVICE ENDPOINT. Granting both starts it; allow a few minutes for its web address to appear.
2. **Give people access.** Viewers use apps, editors build them, admins certify apps and manage settings. Grant each role:

```sql
GRANT APPLICATION ROLE FLURRY.APP_VIEWER TO ROLE ANALYST;
GRANT APPLICATION ROLE FLURRY.APP_EDITOR TO ROLE DATA_TEAM;
GRANT APPLICATION ROLE FLURRY.APP_ADMIN  TO ROLE DATA_PLATFORM_ADMIN;
```

3. **Connect your data, inside flurry.** An app admin opens **Admin › Connect your data**, checks the tables the apps should use, copies the GRANT CALLER statements flurry generates, runs them in a worksheet as a role with MANAGE CALLER GRANTS, and checks again. An admin has to run them because Snowflake's permission SDK cannot request caller grants. If any app uses `CURRENT_USER_EMAIL()` (as the sample Pipeline review and Pricing approval queue apps do), flurry then prompts the admin under **Admin › People › Emails** to register people's emails: paste `USER,email` lines. flurry shows a query that exports them. When flurry's roles are granted to account roles (the documented install), it is an ACCOUNT_USAGE query, run as ACCOUNTADMIN or a role with IMPORTED PRIVILEGES on the SNOWFLAKE database, and it can miss grants made in the last 2 hours. When they are granted only to users, it is a `SHOW USERS` query.
4. **Open it and share the link.** Get the address with `CALL FLURRY.app_public.app_url();` and send it to your team. Each person signs in to Snowflake once in a browser before their AI can connect.

Why an admin runs them: Snowflake's [permission SDK cannot request caller grants](https://docs.snowflake.com/en/developer-guide/native-apps/restricted-callers-rights).

The grants are minimal: USAGE on the database and schema, SELECT on tables, and INSERT, UPDATE or DELETE only on tables a published write rule changes. Queries run on each person's default warehouse; they need USAGE on it through their own role (`ALTER USER <name> SET DEFAULT_WAREHOUSE = ANALYTICS_WH`). flurry does not need a caller grant on the warehouse (measured 2026-11-14). A caller grant never widens a person's access: their own role must hold the privilege too. If you prefer to write the grants yourself, or flurry will not start, the app's README in Snowsight has the full statements:

```sql
GRANT CALLER USAGE ON DATABASE SALES TO APPLICATION FLURRY;
GRANT CALLER USAGE ON SCHEMA SALES.CRM TO APPLICATION FLURRY;
GRANT INHERITED CALLER SELECT ON ALL TABLES IN SCHEMA SALES.CRM TO APPLICATION FLURRY;
GRANT CALLER INSERT, UPDATE, DELETE ON TABLE SALES.CRM.DEALS TO APPLICATION FLURRY;  -- only tables an app writes
```

Then describe the app you want.

Apps read only the tables your people's roles can already read and that you granted to flurry. flurry itself sends nothing out; an AI agent outside Snowflake, such as Claude Code, sends what a person asks and the results it reads to its own provider. See [what leaves your account](https://dvt.dev/docs/what-leaves-your-account/).

## For people who build

Send them to [connect your AI](https://dvt.dev/docs/connect/). In flurry on Snowflake, the **Connect your AI** screen shows each person's address. Claude Code users sign in with a Snowflake programmatic access token in this form:

```sh host=claude_code mode=native
claude mcp add --transport http flurry https://<your-app-url>/mcp --header 'Authorization: Snowflake Token="<PAT>"'
```

Cortex Code users name their Snowflake connection:

```sh host=cortex_code mode=native
cortex mcp add -t http --snowflake-connection <CONNECTION> flurry https://<your-app-url>/mcp
```

## Didn't work?

See [troubleshooting](https://dvt.dev/docs/troubleshooting/#403-no-organization-membership).
