Supported connectors
Connect Snowflake
Connect Snowflake with a user, role and warehouse that can read your data.
Before you start
- You are an Admin or a Developer, or your role has the datasource Connect permission.
- Your firewall allows Databrain’s outbound IP on the database port. The form shows the IP under Setup guide > Allow the outbound IP. See Allow Databrain’s IP.
- You have a Snowflake user and a role that can use the warehouse, database and schema.
Connect
-
Go to Data Studio > Datasources and select Connect data source.

Connect data source is at the top right of the Datasources page. -
Select Snowflake. You can type the name in Search connectors.

The Snowflake tile on the Add datasource page. -
Fill in the form:
Field What to enter Datasource name How this datasource appears in lists and pickers, for example Production warehouse.Host Your account in <account_locator>.<region>.<cloud>format, for examplexy12345.us-east-1.aws. Do not addhttps://or.snowflakecomputing.com.Role The role Databrain uses. Warehouse The warehouse that runs the queries. Database The database you want to read from. Default Schema The schema Databrain queries unless a model says otherwise. Username The Snowflake user. Credentials username/password(then Password) orKey-pair authentication(then Private Key and, for an encrypted key, Private Key Pass). -
Select Connect datasource.

Databrain checks the connection and reads your schema. You see Step 3 of 3 with Model your data. Next, create a datamart.
Grant read access
The user needs SELECT on the tables you want to model, and read access to information_schema so Databrain can read the schema. Replace the placeholders:
GRANT USAGE ON DATABASE <db> TO ROLE <role>;
GRANT USAGE ON SCHEMA <db>.<schema> TO ROLE <role>;
GRANT SELECT ON ALL TABLES IN SCHEMA <db>.<schema> TO ROLE <role>;
GRANT USAGE ON WAREHOUSE <warehouse> TO ROLE <role>;Where to find the values
- Role: the role menu at the top right of the Snowflake UI.
- Warehouse: the Warehouses tab.
- Database and schema: the Databases tab.
If something goes wrong
If the check fails, the datasource stays on the form with Needs credentials. Fix the field the message names and select Connect datasource again.
- The database did not answer in time. A firewall blocks Databrain. Allow the outbound IP on the database port.
- The database rejected these credentials. Check the username and password, and that the user can sign in from a remote host.
- The credentials worked, but the user cannot read the catalogue. Run the grants above.