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

# Snowflake

You can use the Snowflake connector from the CData Sync application to move data
from any supported source to the Snowflake destination. To do so, you need to add
the connector, authenticate to the connector, and complete your connection.

## Add the Snowflake Connector

To enable Sync to use data from Snowflake, you first must add the
connector, as follows:

<ol>
  <li>Open the **Connections** page of the Sync dashboard.</li>
  <li>Click **Add Connection** to open the **Select Connectors** page.</li>
  <li>Click the **Destinations** tab and locate
  the **Snowflake** row.</li>

  <li>
    Click the **Configure Connection** icon at the end of that row to open
    the **New Connection** page. This action opens the
    **Add Connection** dialog.

    **Note:** If the **Configure Connection** icon is not
    available, click the **Download Connector** icon to install
    the Snowflake connector.
  </li>

  <li>Enter a name for your connection in the **Add Connection** dialog.</li>
  <li>Click **Add** to open the **Settings** tab for your connector.</li>
</ol>

For more information about installing new connectors, see
[Connections](https://docs.sync.cdata.com/26.4/en/connections/connections.md).

## Authenticate to Snowflake

After you add the connector, you need to set the required properties.

* **Warehouse:** Enter the name of your Snowflake warehouse.
* **URL:** Enter the URL for your Snowflake database. CData Sync supports both Microsoft Azure and Amazon Web Services (AWS) instances:
  * **AWS:** https\://*MyAccount*.*Region*.snowflakecomputing.com
  * **Azure:** https\://*MyAccount*.*Region*.azure.snowflakecomputing.com

CData Sync supports authenticating to Snowflake in several ways. Select your authentication method below to proceed to the relevant section that contains the authentication details.

* [**Password**](#password) (default)
* [**OKTA**](#okta)
* [**Private Key**](#private-key)
* [**Azure Active Directory**](#azure-active-directory)
* [**OAuth**](#oauth)
* [**PingFederate**](#pingfederate)
* [**External Browser**](#external-browser)

### Password

To connect with your user credentials, specify the following properties:

* **Auth Scheme:** Select **Password**.
* **User:** Enter the username that you use to authenticate to Snowflake.
* **Password:** Enter the password that you use to authenticate to Snowflake.

### OKTA

To connect with single sign-on (SSO) via Okta, specify the following properties:

* **Auth Scheme:** Select **OKTA**.
* **User:** Enter the username that you use to authenticate to OKTA.
* **Password:** Enter the password that you use to authenticate to OKTA.
* **SSO Properties:** Enter a comma-separated list of the single sign-on (SSO) properties that you want to use.
* (Optional) **MFA Passcode:** Enter the one-time passcode that was sent to your device. **Note:** Use this property only when multifactor authentication is required for OKTA sign on.

### Private Key

To connect with a private-key credentials, specify the following properties:

* **Auth Scheme:** Select **PrivateKey**.
* **User:** Enter the username that you use to authenticate to Snowflake.
* **Private Key:** Enter the private key that is provided for key-pair authentication with Snowflake.
* **Private Key Password:** Enter the password for the private key that is specified in the PrivateKey property.
* **Private Key Type:** Select the type of key store that contains the private key to use with key-pair authentication. The default key type is **USER**.

### Azure Active Directory

To connect with your Azure Active Directory credentials, specify the following properties:

* **Auth Scheme:** Select **AzureAD**.
* **User:** Enter the username that you use to authenticate to Snowflake.
* **Azure Tenant:** Enter the Id of the Azure tenant that is used to authenticate to Snowflake on Azure.
* **OAuth Client Id:** Enter the client Id that you were assigned when you registered your application with an OAuth authorization server.
* **OAuth Client Secret:** Enter the client secret that you were assigned when you registered your application with an OAuth authorization server.
* (Optional) **Proof Key:** Enter the proof key that is used for authentication with Snowflake database. Typically, you can obtain this key from the **GetSSOAuthorizationURL** call.
* (Optional) **External Token:** Enter the external token that is used for authentication with the Snowflake database. Typically, you can obtain this token from the from the external handler.

### OAuth

To connect with OAuth custom credentials, specify the following properties:

* **Auth Scheme:** Select **OAuth**.
* **User:** Enter the username that you use to authenticate to Snowflake.
* **OAuth Client Id:** Enter the client Id that you were assigned when you registered your application with an OAuth authorization server.
* **OAuth Client Secret:** Enter the client secret that you were assigned when you registered your application with an OAuth authorization server.
* (Optional) **OAuth Authenticator:** Select the authenticator that you want the OAuth application to request from Snowflake.

### PingFederate

To connect with single sign-on via PingFederate, specify the following properties:

* **Auth Scheme:** Select **PingFederate**.
* **User:** Enter the username that you use to authenticate to PingFederate.
* **Password:** Enter the password that you use to authenticate to PingFederate.
* (Optional) **Proof Key:** Enter the proof key that is used for authentication with Snowflake database. Typically, you can obtain this key from the **GetSSOAuthorizationURL** call.
* (Optional) **External Token:** Enter the external token that is used for authentication with the Snowflake database. Typically, you can obtain this token from the from the external handler.

### External Browser

To connect with external-browser credentials, specify the following properties:

* **Auth Scheme:** Select **ExternalBrowser**.
* **User:** Enter the username that you use to authenticate to Snowflake.

## Complete Your Connection

To complete your connection:

1. Specify the following properties:
   * (Optional) **Database:** Enter the name of your Snowflake database.
   * (Optional) **Schema:** Enter a schema for your Snowflake database.
2. Define advanced connection settings on the **Advanced** tab. (In most cases, though, you should not need these settings.)
3. If you authenticate with AzureAD or OAuth, click **Connect to Snowflake** to connect to your Snowflake account.
4. Click **Create & Test** to create your connection.

## More Information

For more information about interactions between CData Sync and Snowflake, see
[Snowflake Connector for CData Sync](https://cdn.cdata.com/help/OWN/synch/default.htm).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.