For the complete documentation index, see llms.txt. This page is also available as Markdown.

Snowflake

Connect Snowflake to Felt to map tables and views. Use key-pair or programmatic access token authentication.

Connect Snowflake to add a database's tables and views to maps or query them with SQL.

Connect Snowflake

Create a read-only user for Felt with one of the supported authentication methods. Then follow the steps in Add a source and select Snowflake. If your Snowflake account uses network policies, allow Felt's IP addresses.

In Connection, fill in these fields.

Field
Required
What to enter

Account ID

Yes

Your Snowflake account identifier, such as myorg-account123.

Database

Yes

The name of the database.

Username

Yes

The Snowflake user you created for Felt, not your Felt login.

Schema

No

One schema to read. Leave it empty to read all schemas.

Role

No

The role Felt uses. Leave it empty to use the user's default role.

Warehouse

No

The warehouse Felt uses for queries. Leave it empty to use the user's default warehouse.

Supported authentication methods

Snowflake sources support key-pair authentication and programmatic access tokens. In Credentials, select the method you want as the Authentication type.

Key-pair authentication

Snowflake key-pair authentication pairs a public key on a Snowflake user with a private key that you upload to Felt.

  1. In a terminal, create a key pair. Snowflake recommends an encrypted private key, protected by a passphrase.

  2. In a Snowflake SQL worksheet, create a read-only role with access to the warehouse, database, schemas, and tables you want to use in Felt. Replace MY_DATABASE and MY_WAREHOUSE with yours.

    The ON ALL grants cover only what exists today. The ON FUTURE grants give Felt access to schemas and tables you create later, so they appear in the source at its next list refresh without new grants. If a schema has its own future grants, Snowflake uses those instead, so add the grants to that schema too.

  3. Create a service user with the public key and grant it the role. Before pasting the public key, remove its header and footer lines (starting with ---) and all line breaks.

  4. In Felt, select Key pair and upload the private key file, such as snowflake_rsa_key.p8, to Private key. Felt accepts .pem, .key, .p8, and .ppk files. If the key is encrypted, enter its Passphrase.

Programmatic access token

A Snowflake programmatic access token (PAT) is a long-lived token for one user. Snowflake creates a PAT only for a user bound to a network policy, so add Felt's IP addresses to that policy. In Felt, select Programmatic access token and paste the token into Token. See Snowflake's guide to programmatic access tokens.

Last updated

Was this helpful?