Quick answer
In Snowflake, create a role with access to your database, schema and warehouse, then a GCS storage integration for Mixpanel's bucket. In Mixpanel, open Settings → Destinations → Snowflake → + Create Pipeline and create the user with the key it shows. Events land in the MP_MASTER_EVENT view.
Have these 3 things ready
- The Data Pipelines add-on. It's sold for Growth and Enterprise plans. The 30-day trial exports daily only and backfills one day.
- Admin or Owner role in the Mixpanel project. Other roles can't create pipelines.
- A Snowflake admin who can create a role, a user and a storage integration, plus a database, schema and warehouse for the data.
Set up the export in 3 steps
Create a role and grant access
Replace the names in angle brackets with your database, schema and warehouse.
CREATE ROLE MIXPANEL_EXPORT_ROLE;
GRANT ALL ON DATABASE <database> TO ROLE MIXPANEL_EXPORT_ROLE;
GRANT ALL ON SCHEMA <database>.<schema> TO ROLE MIXPANEL_EXPORT_ROLE;
GRANT USAGE ON WAREHOUSE <warehouse> TO ROLE MIXPANEL_EXPORT_ROLE;
GRANT OPERATE ON WAREHOUSE <warehouse> TO ROLE MIXPANEL_EXPORT_ROLE;
GRANT MONITOR ON WAREHOUSE <warehouse> TO ROLE MIXPANEL_EXPORT_ROLE;Create the storage integration
Mixpanel stages files in a GCS bucket it creates and manages. You only allow Snowflake to read from it. Use your Mixpanel project ID.
CREATE STORAGE INTEGRATION MIXPANEL_EXPORT_STORAGE_INTEGRATION
TYPE = EXTERNAL_STAGE
STORAGE_PROVIDER = 'GCS'
ENABLED = TRUE
STORAGE_ALLOWED_LOCATIONS = ('gcs://mixpanel-export-pipelines-<project-id>');
GRANT USAGE ON INTEGRATION MIXPANEL_EXPORT_STORAGE_INTEGRATION TO ROLE MIXPANEL_EXPORT_ROLE;Create the pipeline and its user
Enter your account name (for example example1234.us-west-2) and the storage integration name, and choose hourly or daily. Copy the public key the form shows and create the user:
CREATE USER MIXPANEL_EXPORT_USER
RSA_PUBLIC_KEY = '<key shown by Mixpanel>'
DEFAULT_ROLE = MIXPANEL_EXPORT_ROLE;
GRANT ROLE MIXPANEL_EXPORT_ROLE TO USER MIXPANEL_EXPORT_USER;Using a Snowflake network policy? Allowlist Mixpanel's static IPs for your region (US, EU or IN, listed in Mixpanel's docs). For history, set a backfill start date within the past 6 months.
Check that your events landed
Hourly pipelines run around 30 minutes past the hour, and daily ones around 00:30 in your project timezone. Mixpanel's SLA is up to 24 hours. This query shows last week's top events:
SELECT event_name, COUNT(*) AS events
FROM <database>.<schema>.MP_MASTER_EVENT
WHERE time >= DATEADD(day, -7, CURRENT_TIMESTAMP())
GROUP BY event_name
ORDER BY events DESC
LIMIT 20;Want funnel reports on this table without writing SQL?
Mitzu reads MP_MASTER_EVENT directly and builds funnels, retention and journeys by clicking or by asking in plain English. It shows the SQL behind each chart.
Know the tables you'll query
| Table or column | What it holds |
|---|---|
MP_MASTER_EVENT_RAW | The raw load: one VARIANT column called DATA |
MP_MASTER_EVENT | A view that exposes the properties as columns. Query this one. |
event_name, time, distinct_id | Event, when it happened (UTC), who did it |
properties | Object column, for example properties:"$city"::STRING |
MP_IDENTITY_MAPPINGS_DATA | Maps distinct_id to resolved_distinct_id for merged users |
The raw table is clustered by event date in your project timezone.
Why your counts differ from the Mixpanel UI
- Timezone.
timeis in UTC. Mixpanel reports use your project timezone. - Hidden events. Events hidden in Lexicon still get exported.
- Late data. Exports can lag up to a day. Events arriving more than 2 hours after their window are only exported when sync is enabled.
To compare daily counts with Mixpanel, convert to your project timezone first:
SELECT TO_DATE(CONVERT_TIMEZONE('UTC', '<project timezone>', time)) AS day,
COUNT(*) AS events
FROM <database>.<schema>.MP_MASTER_EVENT
GROUP BY day
ORDER BY day DESC
LIMIT 30;Tired of reconciling two sets of numbers?
Mitzu reports straight from MP_MASTER_EVENT, so your charts and your warehouse queries read the same rows. The SQL behind each chart is visible.
Keep the Snowflake bill small
- Give Mixpanel a small, dedicated warehouse with auto-suspend. The OPERATE grant lets the pipeline resume it when a load runs.
- Filter on
time. The data is clustered by event date, so date filters prune the most. - Query the
MP_MASTER_EVENTview rather than parsing the raw VARIANT column each time.
Still paying Mixpanel per event for data that's already in Snowflake?
Once the events sit in Snowflake, you can analyze them in place. Mitzu queries MP_MASTER_EVENT and is priced per seat, so event volume doesn't change what you pay Mitzu.








