How to sync data from Snowflake into Knock
Sync Snowflake models to Knock users, tenants, objects, audiences, and subscriptions.
Knock connects to Snowflake with key-pair authentication. Every environment in your account can sync from the warehouse once it's connected.
Add the warehouse
#To add or edit a warehouse, you need the owner or admin role, or a custom permission group that's allowed to manage integrations.
- Go to Platform > Sources.
- Under Connect a new source, click Snowflake.
- Enter a Name and a Key. The key can't be changed later.
- Click Add warehouse. Knock opens the warehouse's Details tab.
Connect Snowflake
#-
On the warehouse's Details tab, fill in the connection:
-
Leave Public key empty and click Save connection. Knock generates a key pair and shows the public key.
-
Click Copy public key and assign it to the user in Snowflake, leaving out the
BEGINandENDlines: -
Make sure the user's default role can read the tables you'll sync and that the user has a default warehouse.
-
Click Test connection.
To use a key that's already assigned to the user, paste its public key into Public key before saving.
Once the connection works, create a sync. See create a sync.