Connection to Snowflake
To connect Snowflake as a data source in the DQC Platform, you’ll need to provide login credentials (either password or key pair), account details, and database-specific configuration. This guide walks you through the connection setup and best practices.
Add a Snowflake connector
To begin:
Navigate to the Data Connectors screen
Click the Snowflake button
Fill in the required fields as described below
Start the integration by selecting Snowflake from the list
Required connection information
Field | Example | Description |
|---|---|---|
Name |
| Custom label for this connection |
User |
| A Snowflake user with read access |
Key Pair |
| (Recommended) Unencrypted RSA key in PEM format (see below) |
Password |
| Optional alternative to key pair authentication |
Account |
| Typically found in the URL: |
Warehouse |
| The warehouse to execute queries |
Database |
| Target database containing relevant schemas |
Schema |
| Schema with the tables to be quality checked |
Role |
| Role that defines access scope |
Recommended setup: Dedicated Snowflake service account
Create a new service account
Go to Account > Users
Click Create and define a technical user for DQC
Optionally assign a warehouse under “Advanced”
Use a separate technical user for better auditing and security
Create a custom role & grant access
Go to Roles > Create Role

2.Grant the new role to the service account

3.In the left pane, select the target schema
4.Click Privileges and assign the following:
USAGESELECT(future tables)SELECT(future views)
Snowflake does not inherit privileges from database to schema — set both explicitly
Create and use a key pair (preferred)
Available with DQC Platform version 2.28.6 and above
Step 1: Generate private key
Run this in your terminal:
openssl genrsa 2048 | openssl pkcs8 -topk8 -inform PEM -out rsa_key.p8 -nocryptThis generates the required private key
-----BEGIN PRIVATE KEY-----
MIIE6T...
-----END PRIVATE KEY-----The private key is in file rsa_key.p8 open or print the file:
cat rsa_key.p8Step 2: Generate public key and assign in Snowflake
Generate the public key:
openssl rsa -in rsa_key.p8 -pubout -out rsa_key.pub
cat rsa_key.pubAssign it to the user in Snowflake:
ALTER USER example_user SET RSA_PUBLIC_KEY='MIIBIjANBgkqh...';You can now use the private key to connect the Snowflake user to the DQC Platform. Make sure to use the right format for the private key field like this:
-----BEGIN PRIVATE KEY-----
MIIE6T...
-----END PRIVATE KEY-----Note: Omit
-----BEGIN PUBLIC KEY-----and-----END PUBLIC KEY-----in SQL.
Only account owners or users with theSECURITYADMINrole can modify users.
Whitelist the DQC Platform IP address
To allow Snowflake to accept connections from the DQC Platform, whitelist the following static IP:
3.123.94.228Troubleshooting
When DQC cannot connect to Snowflake or load its tables, it shows the reason with a short fix and links to this section. Look up the beginning of the message:
Message in DQC | Likely cause | Fix |
|---|---|---|
| Wrong user name or password, or the user does not exist in this account | Check user name and password, or switch to key-pair authentication |
| The key is not an unencrypted PKCS#8 PEM key, or it is truncated | Paste the full private key including the |
| The user is disabled | Ask a Snowflake administrator to enable the user |
| A network policy blocks the DQC IP address | Add the DQC Platform IP address to the network policy of the user or account |
| The public key is not assigned to this user | Assign the public key to the user (see Create and use a key pair) |
| Another login error, for example MFA required, a locked user or an expired password | Act on the reason; key-pair authentication avoids MFA and password expiry |
| The account identifier is malformed | Use |
| Wrong database, or the role has no | Check the database and grant |
| Wrong schema, or the role has no | Check the schema and grant |
| The name was created in quotes with mixed case | Use uppercase object names |
| DQC could not classify the error of the connection test | Check every field of the form, the network access and the permissions described above |
| The table was renamed, moved or deleted, or the user lost access to it after the last sync | Restore the table or the access, then resync the connector |
Synchronization failed: when a sync cannot connect, the connector shows Failed on the Data sources screen and the badge links to this section. Edit the connector and click Load tables or Save: DQC tests the connection again and shows the current reason.
Connection test passes, but tables do not load: grant
USAGEon the warehouse to the role and enable auto-resume for it.Still stuck? Write to support@dqc.ai with the connector name, the time of the attempt and the full message.
Notes
We strongly recommend using key pair authentication for production use
Password authentication remains available as a fallback
Learn more: Supported data sources, Connection to Azure SQL, Connection to PostgresSQL