← All guides

How to import Snowflake data into Mixpanel

Use Mixpanel's Warehouse Connectors to sync a Snowflake table into Mixpanel.

Steps checked against the vendor docs on .

Snowflakeyour events table
hourly, daily or weekly sync
M
Mixpanelbilled as Mixpanel events
or skip the copy
Analyze it in Snowflakefunnels, retention, journeys with Mitzu

Before you begin

Your events are already in Snowflake. Do you need to import them at all?

Mixpanel bills imported rows as events, and in Mirror mode it bills updates and deletes too. Connect Snowflake to Mitzu instead: no import, no streams to keep alive and no per-event fees. You get funnels, retention, segmentation and journeys on the table you have now.

Quick answer

In Snowflake, create a Mixpanel role, user, warehouse and GCS storage integration, and grant read access to your tables. Then in Mixpanel open Project Settings → Warehouse Sources → Snowflake, connect, and add the table under Warehouse Data → + Event Table.

Have these 3 things ready

  • A paid Mixpanel plan. Warehouse Connectors aren't on the free plan.
  • Admin or Owner role in the Mixpanel project.
  • A Snowflake admin who can create a role, user, warehouse and storage integration, and grant read access.

Set up the import in 3 steps

1

Create the role, user and warehouse

Start the connection in Project Settings → Warehouse Sources → Snowflake to get Mixpanel's public key and bucket name.

CREATE ROLE MIXPANEL_ROLE;
CREATE USER MIXPANEL RSA_PUBLIC_KEY = '<key shown by Mixpanel>' DEFAULT_ROLE = MIXPANEL_ROLE;
GRANT ROLE MIXPANEL_ROLE TO USER MIXPANEL;

CREATE WAREHOUSE MIXPANEL_WAREHOUSE WITH
  WAREHOUSE_SIZE = XSMALL  AUTO_SUSPEND = 60
  AUTO_RESUME = TRUE       INITIALLY_SUSPENDED = TRUE;
GRANT USAGE, MONITOR ON WAREHOUSE MIXPANEL_WAREHOUSE TO ROLE MIXPANEL_ROLE;
2

Add the storage integration and read access

Mixpanel unloads data through a bucket it manages. Use the bucket name it shows you.

CREATE STORAGE INTEGRATION MIXPANEL_STORAGE_INTEGRATION
  TYPE = EXTERNAL_STAGE  STORAGE_PROVIDER = 'GCS'  ENABLED = TRUE
  STORAGE_ALLOWED_LOCATIONS = ('gcs://<mixpanel-provided-bucket>/');
GRANT USAGE ON INTEGRATION MIXPANEL_STORAGE_INTEGRATION TO ROLE MIXPANEL_ROLE;

GRANT USAGE ON DATABASE <database> TO ROLE MIXPANEL_ROLE;
GRANT USAGE ON ALL SCHEMAS IN DATABASE <database> TO ROLE MIXPANEL_ROLE;
GRANT SELECT ON ALL TABLES IN DATABASE <database> TO ROLE MIXPANEL_ROLE;
GRANT SELECT ON ALL VIEWS IN DATABASE <database> TO ROLE MIXPANEL_ROLE;

-- Mirror mode only: an empty schema for Mixpanel's streams
CREATE SCHEMA <database>.MIXPANEL;
GRANT USAGE, CREATE STREAM ON SCHEMA <database>.MIXPANEL TO ROLE MIXPANEL_ROLE;
3

Connect, add the event table and run it

Warehouse Sources → Snowflake→Warehouse Data→+ Event Table→Run

Enter your account identifier and finish the connection. Then map Event Name (a column or a fixed name) and Time, plus User ID, Device ID and Insert ID if you have them. Pick the sync mode and run hourly, daily or weekly. For Mirror, first run ALTER TABLE <table> SET CHANGE_TRACKING = TRUE;

Why load the table into Mixpanel at all?

Mitzu uses the same mapping, a user ID, a timestamp and an event name, and queries the Snowflake table directly. Nothing gets copied or billed per row.

Pick the right sync mode

ModeUse it when
AppendRows only get added. Needs an Insert Time column, and ignores updates and deletes.
MirrorInserts, updates and deletes should reach Mixpanel. Uses Snowflake Streams in the MIXPANEL schema.
FullUser profiles, group profiles and lookup tables, re-read as a snapshot.
One-TimeA single historical load.

Want to skip sync modes altogether?

With Mitzu there's nothing to sync. It queries the Snowflake table directly, so you need no streams, no change tracking and no Insert Time column.

Know what Mixpanel bills

  • Imported events are billed, whether they come from One-Time, Append or Mirror.
  • In Mirror mode, updates and deletes are billed too.
  • Rows that fail validation aren't billed. Track imports under Organization Settings → Usage → Data Points, filtered by data source.

Paying Mixpanel per row for events you already store?

You can analyze the table where it is. Mitzu queries Snowflake directly and is priced per seat, so event volume doesn't change what you pay Mitzu.

Keep Mirror syncs from breaking

  • Keep the gap between syncs under 14 days. Streams keep change data for MAX_DATA_EXTENSION_TIME_IN_DAYS, 14 by default.
  • Don't drop and recreate the table. Streams break, so a dbt full refresh breaks the sync. Mixpanel recommends incremental models.
  • Column renames and deletes aren't synced. Adding a default-NULL column is the safe schema change.
  • Expect trimming. Strings over 255 bytes are trimmed, and events older than your Mixpanel retention are dropped.

Want to keep your dbt models as they are?

Mitzu reads the tables your dbt project builds, full refreshes included. There are no streams to break and nothing gets trimmed.

Skip the import. Analyze the table in Snowflake.

Mixpanel bills imported rows as events, and Mirror mode bills updates and deletes as well. Mitzu reads the same Snowflake table in place and runs the core analyses on it, priced per seat.

  • Funnels, retention, segmentation and journeys on the table you already have
  • 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 you can analyze the table you were about to import without copying it.

  • 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 your Snowflake events table.

Retention

Weekly or monthly cohorts from the same events.

Segmentation

Event counts and unique users, split by any column you already have.

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 Snowflake table

Point Mitzu at the table you were going to import. It takes 3 steps.

1

Connect Snowflake

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

2

Add your events table

Pick the user ID, timestamp and event name columns, the same ones you'd map in Mixpanel.

3

Ask or build

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

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

Snowflake to Mixpanel: common questions

Do imported events count toward my Mixpanel bill?

Yes. Under ingestion-time billing, events from One-Time, Append and Mirror syncs are billed, and Mirror also bills updates and deletes. Rows that fail validation aren't billed.

How do I fix "Cannot unload to an inlined external location"?

Mixpanel's docs point to ALTER ACCOUNT SET PREVENT_UNLOAD_TO_INLINE_URL = FALSE;. Read Snowflake's docs on that security setting before you change it.

Why did my Mirror sync stop after a dbt run?

A full refresh drops and recreates the table, which breaks the Snowflake Stream. Use an incremental model.

Password or key-pair?

Both work. With key-pair, Mixpanel generates the key and shows you the public part for RSA_PUBLIC_KEY.

Can I analyze the Snowflake table without importing it?

Yes. Mitzu reads the table in Snowflake and runs funnels, retention and journeys on it, with no copy.

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

Analyze your Snowflake events where they live.

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