Connections > Snowflake Data Cloud connection > Prepare for authentication
  

Prepare for authentication

You can configure standard, authorization code, client credentials, and programmatic access token authentication types to access Snowflake. Consider using authorization code, client credentials, or programmatic access token authentication to connect more securely to Snowflake. Key pair authentication type is not applicable.
Before you configure the connection properties, you need to keep the authentication details handy based on the authentication type that you want to use.

Standard

To connect to Snowflake using standard authentication, you need the Snowflake user name, password, account name, and warehouse name.
Let's get the required details such as the Snowflake account name, warehouse, and role details from the Snowflake account.
The following image shows you where you can find the name of your Snowflake account:
The Snowflake account name that you can get from the from the first part of the URL.
The following image shows you where you can find the name of the warehouse and role details of your Snowflake account:
The values for the User Role and Warehouse name fields are available on the Worksheet tab.

Authorization code

To connect to Snowflake using the OAuth 2.0 authorization code, you need the Snowflake account name, warehouse name, authorization URL, access token URL, client ID, client secret, and access token.
To get the authorization details, create a security integration in Snowflake that enables OAuth access, which acts as a secure gateway for your application to connect to Snowflake and register the following Informatica redirect URL in Security Integration:
https://<Informatica cloud hosting facility for your organization>/ma/proxy/oauthcallback
If the access token expires, Informatica redirect URL, which is outside the customer firewall, tries to connect to the endpoint and retrieves a new access token.
When you use the OAuth 2.0 authorization code to connect to Snowflake, you can use either the Snowflake OAuth provider or an external OAuth authorization server, such as Okta or Microsoft Entra ID, that uses the OAuth protocol for accessing Snowflake.
For more information about how to create a security integration and get the authorization details, see Create security integration in the Snowflake documentation.

Client credentials

To connect to Snowflake using the OAuth 2.0 client credentials, you need the Snowflake account name, warehouse name, access token URL, client ID, client secret, scope, and access token.
Configure the OAuth endpoint with the client credentials grant type and then create a security integration to get the authorization details.
Before you use the client credentials authentication to connect Snowflake, the organization administrator needs to perform the prerequisite tasks.
  1. 1Create a client application that is compatible with OAuth to use with Snowflake.
  2. 2Configure the authorization server with the client credentials Grant type.
  3. 3Create a security integration for an external OAuth in Snowflake.
When you use the OAuth 2.0 client credentials to connect to Snowflake, you need to use an external OAuth authorization server, such as Okta or Microsoft Entra ID, that uses the OAuth protocol for accessing Snowflake.
For more information about how to create a security integration for external OAuth authorization server and get the authorization details, see Create security integration for external OAuth in the Snowflake documentation.

Programmatic access token

To connect to Snowflake using programmatic access token authentication, you need the Snowflake user name, programmatic access token, account name, and warehouse name.
If you use the Secure Agent deployed in your environment, serverless runtime environment, or elastic runtime environment, you need to allow the range of IP addresses to connect to Snowflake using a PAT.
To allow the range of IP addresses in Snowflake, perform the following tasks:
  1. 1Create a network rule for the allowed IP addresses.
  2. For more information about creating a network rule, see Working with network rules in the Snowflake documentation.
  3. 2Create a network policy for the network rule that you created.
  4. For more information about creating a network policy, see Working with network policies in the Snowflake documentation.
For the detailed steps to generate a PAT, see Generating a programmatic access token in the Snowflake documentation.