Skip to main content
Snowflake is a cloud-native data warehouse platform that enables scalable storage, processing, and analytics across AWS, Azure, and GCP. With BonData, you can connect to your Snowflake warehouse to read, enrich, and act on your data directly within Agent workflows. BonData supports two authentication methods for Snowflake.
We strongly recommend using Key Pair Authentication for a stable, long-lived connection. OAuth connections expire after a maximum of 90 days, after which you will need to reconnect. Key pair authentication does not have this limitation.

OAuth Authentication

Expires after up to 90 days

Key Pair Authentication

Recommended for stable, long-lived connections

OAuth Authentication

Follow these steps to configure OAuth authentication for BonData.

Step 1: Create a Security Integration

Run this SQL in Snowflake as an ACCOUNTADMIN:

Step 2: Get OAuth Credentials

Run these commands to retrieve your credentials:
This returns:
  • OAUTH_CLIENT_ID - your Client ID
  • OAUTH_CLIENT_SECRET - your Client Secret

Step 3: Get Your Account URL

Your Snowflake URL is in the format:
  • https://<account_identifier>.snowflakecomputing.com
Find your account identifier in Snowflake under AdminAccounts.

Step 4: Enter Credentials

Enter your Client ID, Client Secret, and Snowflake URL in BonData, then click Connect to authorize via OAuth.

Required Fields (OAuth)


Key Pair Authentication

Follow these steps to set up key pair authentication for Snowflake.

Step 1: Generate a Key Pair

Run these commands in your terminal:
You’ll be prompted to create a passphrase for the private key.

Step 2: Create a Snowflake User

Run this SQL in Snowflake:

Step 3: Grant Permissions

Step 4: Get Your Account Identifier

Your account identifier is in your Snowflake URL:
  • URL: https://abc12345.us-east-1.snowflakecomputing.com
  • Account: abc12345.us-east-1

Step 5: Enter Credentials

Enter the URL, User, Account, and upload your private key file in BonData.

Required Fields (Key Pair)