Snowflake
Setup Snowflake Custom OAuth
Details about custom OAuth for Snowflake are described here.
1. Create a security integration
First, create a new Worksheet to be able to execute queries. Next, run the below query:
Further configuration options can be specified for the security integration if needed.
Only Snowflake account administrators (ACCOUNTADMIN
role) or a role with the global CREATE INTEGRATION
privilege can execute this SQL command.
2. Get the security integration's details
Run the below command to get all Oauth2 details:
oauth_locoia
is the integration name. The result looks like:
3. Generate the client_secret
Run the below command:
The integration name needs to be in upper case letters.
The client_secret is be returned.
Authenticating Snowflake
In Locoia, go to Settings > Connector Auth and click create. Alternatively create an authentication directly in the Flow Builder
Enter your details as explained in the images below:
3. Sign in with your Snowflake credentials. Note that this user can't have the roles ACCOUNTADMIN
or SECURITYADMIN
.
4. In the final step, you need to click Allow in order to grant access to the mentioned Snowflake entities:
API requests to Snowflake
The Snowflake API and its requests is described here.
Last updated