Connection Setup
How to setup Coupler.io to Snowflake connection using different types of authentication
General settings for all auth types
Step 1 - Locate Snowflake account identifier
Click your user icon -> open account selector -> account details:

Copy Account identifier value:

Step 2 - Configure warehouse, user, and role
This section contains SQL commands to create specific user, warehouse and role to use for Coupler.io integration with Snowflake. If you already have them configured, proceed to step 3.
Step 3 - Provide account identifier, warehouse and role settings to Coupler.io
Paste account identifier from step 1:

Copy name of warehouse created on step 2 or you can use already existing warehouse. To find it: navigate to Compute -> Warehouses menu -> Copy name of warehouse:



If you defined needed default role for user - keep role field empty. If you want to specify role - enter it's name in field:


Select auth type & configure it
Connect using Programmatic access token (PAT)
Key pair
User & password
Option A - Connect using Programmatic access token (PAT)
Step 4 - Create a network policy
A network policy controls which IP addresses are allowed to connect to Snowflake.
Step 5 - Generate token
Option A - Via Snowsight (UI):
Sign in to Snowsight
Navigate to Governance & security > Users & roles
Select the user
Under Programmatic access tokens, select Generate new token
Enter a name, set expiration (up to 365 days, default 15 days), and optionally restrict to a specific role (recommended).
Select Generate and copy the token immediately - it cannot be retrieved later
Option B - Via SQL:
Step 6 - Enter auth details to Coupler.io connection settings
Paste username and copied token:

Option B - Connect using Key Pair
Key Pair authentication uses an RSA key instead of a password.
Step 1 - Generate an RSA key pair
On the customer's machine (not in Snowflake):
This produces two files:
rsa_key.p8— the private key (customer keeps this secret)rsa_key.pub— the public key (assigned to the Snowflake user)
Step 2 - Assign the public key to the Snowflake user
Important: Exclude the
-----BEGIN PUBLIC KEY-----and-----END PUBLIC KEY-----delimiters and any line breaks when pasting into the SQL command.
Step 3 - Verify the key was assigned correctly (optional)
Step 4 - Enter auth details to Coupler.io connection settings
Username (required)
Enter login name of Snowflake user associated with key.
Private key (required)
Paste your RSA private key in PEM format:
Passphrase (optional)
If your private key is encrypted, enter the passphrase. If not encrypted, leave it empty.
Option C - Connect using your Username & Password
Password authentication is being deprecated by Snowflake and will be removed later this year. We recommend using Programmatic access token (PAT) authentication instead.
Username (required)
Enter your Snowflake user login name.
Password (required)
Enter the password for this Snowflake user.
Note: Your Snowflake user must have permissions to access the destination database/schema and create/write tables.
Last updated
Was this helpful?
