> ## Documentation Index
> Fetch the complete documentation index at: https://docs.domino.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect to Snowflake

This topic describes how to connect to [Snowflake](https://www.snowflake.com/) from Domino.

The easiest way to connect to Snowflake from Domino is to create a Domino Data Source as described below.

## Prerequisites

You must have network connectivity between Snowflake and your Domino deployment.

To use Snowflake code integrations, such as [Snowpark](https://docs.snowflake.com/en/developer-guide/snowpark/index.html), you must agree to the [Snowflake third party terms](https://docs.snowflake.com/en/developer-guide/udf/python/udf-python-packages.html#getting-started). To agree to these terms, you must have a Snowflake account with the [ORGADMIN](https://docs.snowflake.com/en/user-guide/organizations-gs.html#enabling-the-orgadmin-role-for-an-account) role. If you don’t have access to a Snowflake account with the ORGADMIN role, [submit a Snowflake support ticket](https://community.snowflake.com/s/article/How-To-Submit-a-Support-Case-in-Snowflake-Lodge).

## Create a Snowflake Data Source

Domino recommends that you use a [Domino Data Source](/cloud/platform-capabilities/core-concepts/data/data-source-connectors) to connect to a Snowflake instance from Domino.

1. From the navigation pane, click **Data > Data Sources**.

2. Click **Create a Data Source**.

3. In the New Data Source window, from **Select Data Store**, select **Snowflake**.

   **Account Name**\
   If the Domino deployment and Snowflake Data Source, are in the same region, enter the **Account Name** as `<account name>`. However, if the Domino deployment and Snowflake Data Source are in different regions, enter the **Account Name** as `<account name>.<region>`. For example, `abc.us-east`. (For Azure, these might take the form of `def.east-us-2.azure`.)

   **Optional: Database**\
   The name of the Snowflake database that contains the data.

   **Optional: Schema**\
   The name of the active schema for the session.

   **Optional: Warehouse**\
   The name of all the compute resource clusters that provide the resources in Snowflake.

   **Optional: Role**\
   The role that has privileges to the Data Source.

   **Data Source Name**\
   The name that identifies the Data Source.

   **Optional: Description**\
   The purpose for the Data Source.

4. Click **Next**.

5. Specify the credentials for authenticating to Snowflake.

   * **Basic authentication** is supported by default. The Domino secret store backed by HashiCorp Vault securely stores the credentials.

   * **OAuth authentication** is available if your administrator has [enabled this option](/cloud/admin/data-administration/external-data/configure-ds-auth#snowflake-oauth).

     <Note>
       OAuth-authenticated connections can be used for any execution type *except* Domino endpoints.
     </Note>

6. If you are using basic authentication, click **Test Credentials** to validate your username and password.

7. Click **Next** (or **Skip for Now** to configure authentication later).

8. Select who can view and use the Data Source in projects.

9. Click **Finish Setup**.

If your users have Domino permissions to use the Data Source and enter their credentials, they can now use the Domino Data API to retrieve data with the connector.

See [Retrieve Data](/cloud/platform-capabilities/core-concepts/data/data-source-connectors/use-data-sources) for more information.

## Next steps

* After connecting to your Data Source, learn how to [Use Data Sources](/cloud/platform-capabilities/core-concepts/data/data-source-connectors/use-data-sources).

* [Share this Data Source](/cloud/platform-capabilities/core-concepts/data/sharing-and-security/share-data-sources#share-a-data-source) with your collaborators.
