Snowflake Cortex AI Connector Guide > Snowflake Cortex AI connections > Snowflake Cortex AI connection authentication properties
  

Snowflake Cortex AI connection authentication properties

When you create a Snowflake Cortex AI connection, you can configure the connection using OAuth 2.0 authentication properties.
To authenticate the Snowflake Cortex AI connection using OAuth 2.0 authentication, select OAuth2 in the Authentication Type list and configure the following properties:
Property
Description
Grant Type
Required. Select the required grant type based on your use case.
Authorization URL
Required. Enter the OAuth authorization URL for the OAuth provider to authorize the user request.
For example: https://<account_name>.snowflakecomputing.com/oauth/authorize
Token Request URL
Required. Enter the OAuth token request URL that handles token requests.
For example: https://<account_name>.snowflakecomputing.com/oauth/token-request
The expiration of the refresh token depends on the OAuth provider. You must re-authenticate and publish the connection before the token expires.
Note: The refresh token doesn't apply to agents and agent groups.
Client ID
Required. Specify the identifier value from the OAuth provider that you copied after creating the security integration.
Client Secret
Required. Enter the client secret to connect to the OAuth provider that you copied after creating the security integration.
Scope
Required. Specify the scope as refresh_token.
Authorization Status
Indicates the current status, the name of the user who authorized, and the last time when the authorization was completed.
Authorize Access
Click to initiate the authorization workflow using OAuth. Enter the user name and password for Snowflake, if prompted.