← All guides

How to export Mixpanel data to Snowflake

Use Mixpanel's Data Pipelines to load your events into a Snowflake table.

Steps checked against the vendor docs on .

M
MixpanelSettings → Destinations → Snowflake
hourly or daily pipeline
SnowflakeMP_MASTER_EVENT view
query in place
Funnels, retention, journeysoptional: analyze it with Mitzu

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

1

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;
2

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;
3

Create the pipeline and its user

Settings→Destinations→Snowflake→+ Create Pipeline

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 columnWhat it holds
MP_MASTER_EVENT_RAWThe raw load: one VARIANT column called DATA
MP_MASTER_EVENTA view that exposes the properties as columns. Query this one.
event_name, time, distinct_idEvent, when it happened (UTC), who did it
propertiesObject column, for example properties:"$city"::STRING
MP_IDENTITY_MAPPINGS_DATAMaps 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. time is 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_EVENT view 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.

Analyze your Mixpanel events where they already are

Mixpanel's plans are priced on event volume, and Data Pipelines is a paid add-on on top. Once the events sit in Snowflake, Mitzu runs the core analyses on them, priced per seat.

  • Funnels, retention, segmentation and journeys on MP_MASTER_EVENT
  • Khatabook replaced Mixpanel with Mitzu at about 80% lower product analytics and ingestion cost
  • Priced per seat, not per event. More events don't raise your Mitzu bill.

2-week free trial. No credit card.

What is Mitzu?

Mitzu is product analytics that runs on your data warehouse. It reads event tables in Snowflake, BigQuery, Databricks or Redshift, so the Mixpanel export you just set up is ready to analyze.

  • Funnels, retention, segmentation and journeys on your Snowflake tables
  • An AI agent that answers questions in plain English
  • Data stays in Snowflake. Pricing is per seat, not per event.

Used by product teams at

KhatabookPreziSuuntoShapr3DPhysics Wallah

Funnels

Signup to purchase, by platform or campaign, on MP_MASTER_EVENT.

Retention

Weekly or monthly cohorts from the same events.

Segmentation

Event counts and unique users, split by any event or user property.

Journeys

The paths users take before and after a key event.

AI agent

Ask in plain English, for example "Why did checkout conversion drop last week?", and get a chart with its SQL.

Build funnels on your Mixpanel export

Point Mitzu at MP_MASTER_EVENT. It takes 3 steps, and nothing gets copied anywhere.

1

Connect Snowflake

Account identifier, warehouse and a read-only user. Setup guide

2

Add MP_MASTER_EVENT

Map distinct_id as the user, time as the time and event_name as the event name.

3

Ask or build

"Signup to purchase funnel by platform, last 30 days." Then break it down by any property.

The Mitzu agent builds a conversion funnel by campaign from one question.

Mixpanel to Snowflake: common questions

How often does Mixpanel export to Snowflake?

Hourly or daily. Hourly runs target 30 minutes past the hour, daily runs 00:30 in your project timezone. The SLA is up to 24 hours.

Do I need to create the GCS bucket?

No. Mixpanel creates and manages mixpanel-export-pipelines-<project-id>. You only create the storage integration that lets Snowflake read from it.

Password or key-pair?

Both work. With key-pair, copy the public key from Mixpanel's pipeline form into RSA_PUBLIC_KEY.

Why don't my Snowflake counts match Mixpanel?

time is in UTC, hidden events are exported, and late data can lag up to a day. Convert to your project timezone before comparing daily counts.

Can I run funnels directly on MP_MASTER_EVENT?

Yes. Mitzu reads the view in Snowflake and runs funnels, retention and journeys on it.

Steps and SQL from Mixpanel's Data Pipelines Snowflake docs (read 2026-11-27).

Analyze your Mixpanel export where it lives.

Connect Snowflake to Mitzu and build your first funnel. 2-week free trial, no credit card.