Copy your data to Snowflake
A nightly copy of your daily marketing data in your own Snowflake account, signed in with a key pair.
1. Make a role and a user (as ACCOUNTADMIN, in a worksheet)
Change COMPUTE_WH, MARKETING and PUBLIC to your own warehouse, database and schema.
CREATE ROLE MARKETING_EXPORT_ROLE; CREATE USER MARKETING_EXPORT TYPE = SERVICE DEFAULT_ROLE = MARKETING_EXPORT_ROLE DEFAULT_WAREHOUSE = COMPUTE_WH; GRANT ROLE MARKETING_EXPORT_ROLE TO USER MARKETING_EXPORT;
GRANT USAGE ON WAREHOUSE COMPUTE_WH TO ROLE MARKETING_EXPORT_ROLE; GRANT USAGE ON DATABASE MARKETING TO ROLE MARKETING_EXPORT_ROLE; GRANT USAGE, CREATE TABLE ON SCHEMA MARKETING.PUBLIC TO ROLE MARKETING_EXPORT_ROLE;
2. Add it in the app
- Open Destinations and fill in "Add Snowflake": your account URL, the user, the role, the warehouse, the database and the schema.
- We make a key pair for this export and show you an ALTER USER statement with our public key.
- Run that statement in Snowflake, then click Test. We create the table MARKETING_DAILY.
Good to know
- You never type a password into our app. The private key never leaves our server; delete the destination and it is gone.
- Each nightly copy wakes the warehouse for about a minute. An X-Small warehouse with auto-suspend keeps the cost small.
- If your account has a network policy that only allows some IP addresses, the export cannot connect: our servers have no fixed address.
- A day is replaced in one transaction, so rows are never doubled. Rates are not stored: CTR = SUM(CLICKS) / SUM(IMPRESSIONS).
Ready to try it?
Create a free account, connect a source and ask your first question. No card needed.