Grab a spot →
Skip to main content

Set up Snowflake

Connect docs via MCP
Who can do this?

You need your Snowflake administrator to run these commands—you may not have access yourself.

Create the Snowflake user and role that Atlan uses to connect, then configure network access. For the full SQL grants Atlan needs to crawl metadata, see the Snowflake permissions reference.

Prerequisites

Before you begin:

Create role in Snowflake

CREATE OR REPLACE ROLE atlan_user_role;
GRANT OPERATE, USAGE ON WAREHOUSE "<warehouse-name>" TO ROLE atlan_user_role;

Replace <warehouse-name> with the default warehouse to use when running the Snowflake crawler.

  • OPERATE enables Atlan to start the virtual warehouse to fetch metadata if the warehouse has stopped.
  • USAGE enables Atlan to show or list metadata from Snowflake, which lets the crawler run SHOW queries.

Create user in Snowflake

Choose the authentication method you want to use for the Atlan service account:

See Snowflake's official guide for generating an RSA key-pair. Replace rsa_public_key with your public key and <warehouse-name> with your warehouse:

CREATE USER atlan_user rsa_public_key='MIIBIjANBgkqh...' default_role=atlan_user_role default_warehouse='<warehouse-name>' display_name='Atlan'
TYPE = 'SERVICE'

Learn more about the SERVICE type in Snowflake documentation.

info

Atlan only supports AES-encrypted PKCS#8 private keys with a non-empty passphrase—this is generally recommended as more secure. An empty passphrase results in workflow failures. DES-encrypted PKCS#8 keys fail at connection time with InvalidKeyException: IOException: DER input, Integer tag error.

When generating the key with openssl pkcs8, specify an AES cipher (for example, -v2 aes-256-cbc). To convert an existing DES-encrypted key to AES:

openssl pkcs8 -in des_encrypted_key.p8 -topk8 -v2 aes-256-cbc -out aes_encrypted_key.p8

Refer to Snowflake documentation to learn more.

GRANT ROLE atlan_user_role TO USER atlan_user;

Next step

Grant Snowflake permissions: Run the SQL grants for your chosen extraction method and any optional object types.

Choose how Atlan connects to Snowflake: Compare public IP allowlisting, Private Link, and the self-deployed agent, and pick the right connectivity method.