A direct connection lets you connect the Zeta Marketing Platform (ZMP) to your Snowflake account while your data remains in Snowflake. You can map accessible Snowflake tables and objects for use in ZMP segmentation tools, query-based segments, and data flows. To set up the connection, you’ll create a dedicated user, role, and warehouse with the appropriate permissions. ZMP reads use your Snowflake warehouse, and the associated compute costs are billed to your account.
Recommendation: Prefer the direct zero-copy approach when you only need to query your own warehouse data for segmentation and activation.
Check out the prerequisites.
Direct Snowflake connection (client-owned account)
In this model, data remains in your Snowflake account. You create access for ZMP, then create (or help create) the Snowflake connection in ZMP.
Step A — Prepare Snowflake (client)
Create a dedicated role/user/warehouse and grant least-privilege read access to the required objects. Example pattern (adjust names to your governance standards):
-- Example only — adapt to your security model
CREATE ROLE IF NOT EXISTS ZETA_ZMP_ROLE;
CREATE USER IF NOT EXISTS ZETA_ZMP_USER
PASSWORD = '<secure-password>' -- or configure key-pair auth
DEFAULT_ROLE = ZETA_ZMP_ROLE
DEFAULT_WAREHOUSE = ZETA_ZMP_WH;
CREATE WAREHOUSE IF NOT EXISTS ZETA_ZMP_WH
WAREHOUSE_SIZE = 'XSMALL'
AUTO_SUSPEND = 60
AUTO_RESUME = TRUE;
GRANT USAGE ON WAREHOUSE ZETA_ZMP_WH TO ROLE ZETA_ZMP_ROLE;
GRANT USAGE ON DATABASE <YOUR_DB> TO ROLE ZETA_ZMP_ROLE;
GRANT USAGE ON SCHEMA <YOUR_DB>.<YOUR_SCHEMA> TO ROLE ZETA_ZMP_ROLE;
GRANT SELECT ON ALL TABLES IN SCHEMA <YOUR_DB>.<YOUR_SCHEMA> TO ROLE ZETA_ZMP_ROLE;
GRANT SELECT ON ALL VIEWS IN SCHEMA <YOUR_DB>.<YOUR_SCHEMA> TO ROLE ZETA_ZMP_ROLE;
GRANT ROLE ZETA_ZMP_ROLE TO USER ZETA_ZMP_USER;
Best practices
-
Prefer views when you need column-level control.
-
Grant only the objects needed for profiles, events, segmentation, or personalization.
-
Prefer key-pair authentication when your security policy requires it.
-
Do not send passwords or private keys through email, chat, Jira, or Confluence. Use your approved secure channel, or enter secrets directly in the ZMP Connections UI.
Step B — Create the connection in ZMP
-
Go to Settings → Integrations → Connections.
-
Click Create Connection / New Connection.
-
Select Snowflake.
-
Enter a clear connection name (example:
acme_snowflake_zero_copy). -
Provide connection details:
|
Field |
What to enter |
|---|---|
|
Account |
Your Snowflake account identifier/account URL details |
|
Warehouse |
Warehouse granted to the Zeta role |
|
Database |
Default database for the connection |
|
Schema |
Default schema (as applicable) |
|
Role |
Dedicated role created for Zeta |
|
Username |
Dedicated user |
|
Password / Private key |
Per your auth method |
-
Save the connection. ZMP tests connectivity.
-
Active — ready for use
-
Failed — fix credentials/grants/network policy, then retest
-
Step C — Configure tables for Zero Copy (recommended)
After the connection is Active:
-
Open the connection’s action menu (⋯) → Configure Tables & Groups.
-
Allow a few minutes for tables to populate on first connect.
-
Configure:
-
User ID column on the primary people table
-
Columns available for Targeting and Personalization
-
Table mappings/joins if you need multi-table segmentation
-
Optional groups and aliases for easier marketer use
-
What Zeta does in this approach
-
Confirms entitlement and enables the feature for your account
-
Helps validate connection/table configuration if requested
-
Does not need ongoing access to your Snowflake console when you own credentials and manage grants