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:- 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
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: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