Warehouse compatibilities
Supported warehouse providers, and the exact access each one needs.
Your goal
Prepare your warehouse so the platform can read the data you want to expose - with the narrowest access that still supports the synchronisation strategy you need.
Expected outcome
A dedicated service account, the right permissions, and a credentials file the platform accepts.
Supported providers
Google BigQuery
A service account and a credentials JSON file.
Snowflake
A service account with key-pair authentication, and a credentials JSON file you assemble.
In both cases the service account needs at least read access on the data you want to expose, plus editing rights on the working schema if you want strategies that handle updates and deletes. See Sync with your data warehouse.
Where the warehouse is the source of truth for the datamart, the platform writes into it as well as reading from it, so a working schema is required rather than optional, and object storage in your environment is needed for live tracking.
Google BigQuery
Snowflake
Connecting to Snowflake requires key-pair authentication.
Create the service account and grant permissions
Start from this template. It creates a dedicated service account, role, and warehouse for mediarithmics; gives the service account read-only access on a database of your choice and all its content; and creates a working schema inside the database with full read and write access for the service account.
Adapt it as needed:
To restrict access to specific tables or views, the minimum permissions are
USAGE on DATABASE,USAGE on SCHEMA, andSELECT on TABLES- or views.If you do not need the working schema, omit the last part of the script.
Assemble the credentials file
user
The user you associated the public key with.
account
Snowflake's "account identifier" - usually the organisation name and the account name, hyphenated.
database
The database containing the data you want to expose.
private_key
The private key generated above, matching the public key on the user.
Verify
The credentials file is accepted when you declare the warehouse - an incorrect permission set raises an error at that point. See Data warehouse sync.
The service account can read the tables you intend to expose, and nothing more.
If you created a working schema, the service account can write in it.
Related pages
Last updated
Was this helpful?