How to build Kajabi revenue dashboards in Metabase
Kajabi is an all-in-one platform for creators selling courses, coaching, and memberships — landing pages, checkout, email, and course delivery, with orders, transactions, and payouts recorded behind it. Metabase is where you turn that data into shared, trustworthy dashboards. This guide covers two complementary paths: a lightweight API + CLI route that pulls live data via the Kajabi Public API and loads a CSV into Metabase with the Metabase CLI, and a durable pipeline route that lands Kajabi data in a database so you can build dashboards anyone can read.
How do you connect Kajabi to Metabase?
Most teams combine both routes: quick answers through API exports and CLI uploads first, then recurring reporting on a warehouse-backed model.
Two plan notes before you start. The Public API is gated to Kajabi's Pro plan or its paid API add-on, while the MCP server is available on every plan — so a lower tier can get you the assistant but not the data (check Kajabi's current pricing for the exact tiers). Also watch a June 2026 API change: the singular offer relationship on transactions is deprecated and returns null for bundled charges — use the newer purchases relationship instead.
Live answers in, quick analysis out
Script a scoped export against the Kajabi Public API, write the result to CSV, then load it into Metabase as a ready-to-query table and model.
- Quick questions such as "show me gross vs. net course revenue after fees"
- Loading Kajabi exports into Metabase in seconds
- Spot-checks and one-off investigations without pipeline work
- Great for exploration, not month-end reporting anyone signs off on
- Use read-only credentials or scoped tokens wherever supported
- CSV uploads are snapshots — refresh or move to the pipeline for history
Durable dashboards with history
Land Kajabi data in a database or warehouse — via connector, scheduled API pulls, or a direct database connection — then point Metabase at it.
- Kajabi dashboards the whole team reads from the same definitions
- Joining this data with orders, customers, and revenue from the rest of the stack
- Long-run trends for gross vs. net course revenue after fees and revenue by offer and product
- You own the refresh schedule and the rollup grain
- Model gross, fee, and net amounts once, in the warehouse layer
- Late-arriving records restate recent periods — plan for it
What can you analyze from Kajabi data in Metabase?
Each of these is built from transactions joined to the related orders and order items, offers and products, customers and contacts data your export exposes:
- Gross vs. net course revenue after fees
- Revenue by offer and product
- Refunds, disputes, and chargebacks
- Payment-plan and subscription revenue
- Payout reconciliation against recognized revenue
Which Kajabi dashboards should you build in Metabase?
Revenue
What the business actually earned.
- Gross vs. net revenue after platform and payment fees (combo)
- Revenue by course or product, top 10 (bar)
- New sales vs. payment-plan installments (stacked bar)
- Refunds and chargebacks as a share of gross (line)
Acquisition
Where buyers come from, and what they're worth.
- Sales by offer, coupon, or campaign (table)
- Checkout conversion where funnel data exists (number + trend)
- Average order value by product (bar)
- First-time vs. repeat buyers (stacked bar)
Student engagement
Whether buyers become finishers.
- Course completion rate by course (bar)
- Lesson drop-off curve (line)
- Time from enrollment to first lesson (histogram)
- Active students in the last 30 days (number + trend)
Payouts
Reconciling the platform to the bank.
- Payouts received vs. net revenue earned (combo)
- Fee rate by month (line)
- Outstanding payment-plan balance (number)
- Tax and processor fees broken out (stacked bar)
How do you use the Kajabi Public API with the Metabase CLI?
Pair the Kajabi Public API with the Metabase CLI for fast, hands-on analysis. A short scripted export covers the pulls an MCP server would otherwise make; the Metabase CLI's upload command loads CSV data into Metabase and creates a ready-to-query table and model.
Example workflow
- Ask the API for the last 90 days of transactions, one row per order with product, gross amount, fees, and refund status.
- Export the result as CSV, keeping stable IDs, dates, currency codes, and the fee breakdown intact.
- Run
mb upload csvto load it into Metabase as a table and model, then build questions and dashboards on top.
Be honest about the limits
- Scripted API pulls are excellent for exploration, not scheduled reporting.
- A CSV upload is a snapshot; refresh it with
mb upload replaceor move to the pipeline for real history. - Revenue trends need complete months of order history, and cohort views need each order's enrollment date preserved.
mb upload csvneeds an uploads database configured under Admin → Settings → Uploads.
How do you set up the Kajabi API and the Metabase CLI?
Kajabi Public APIofficial API
- Transport
- REST over HTTPS (api.kajabi.com/v1, JSON:API)
- Auth
- OAuth 2.0 client credentials → POST /v1/oauth/token
- Best for
- Scripted order, transaction, and payout exports
Metabase CLIofficial
- Install
npm install -g @metabase/cli- Auth
mb auth login- Load data
mb upload csv --file data.csv- Requires
- An uploads database (Admin → Settings → Uploads)
# 1. Exchange your Public API key and secret for a token
TOKEN=$(curl -s -X POST https://api.kajabi.com/v1/oauth/token \
-H 'Content-Type: application/json' \
-d '{"grant_type":"client_credentials",
"client_id":"'"$KAJABI_CLIENT_ID"'",
"client_secret":"'"$KAJABI_CLIENT_SECRET"'"}' \
| jq -r '.access_token')
# 2. Page through transactions (amounts are in cents; refunds are negative)
curl -s -G https://api.kajabi.com/v1/transactions \
-H "Authorization: Bearer $TOKEN" \
-H 'Accept: application/vnd.api+json' \
--data-urlencode 'page[size]=100' \
> kajabi-transactions.json
# 3. Flatten to CSV for the Metabase CLI
jq -r '.data[] | [
.id, .attributes.created_at, .attributes.kind, .attributes.state,
(.attributes.amount_in_cents / 100),
(.attributes.sales_tax_in_cents / 100),
((.attributes.payment_fee_in_cents // 0) / 100),
.attributes.currency
] | @csv' kajabi-transactions.json > kajabi-creator-orders.csvKajabi does ship an official, generally available MCP server at https://mcp.kajabi.com/mcp (OAuth, on every plan including Basic) — but it is deliberately analytics-blind. Kajabi's own documentation states it won't surface analytics or handle payments, and its write actions land as drafts. It's genuinely useful for content and product operations; it cannot build you a revenue dashboard. That's why route 1 here is the Public API, which does expose orders, transactions, and payouts.
# Install the Metabase CLI
npm install -g @metabase/cli
# Log in (opens your browser; requires Metabase v62+)
mb auth login --url https://your-metabase.example.com
# Load a transactions export — creates a table AND a model
mb upload csv --file kajabi-transactions.csv --collection root
# Refresh that same table later from a new export
mb upload replace <table-id> --file kajabi-transactions.csvCan you generate a Kajabi dashboard with AI?
Yes. Use the prompt below with any assistant that can run shell commands (for the API export) and the Metabase CLI. It works end to end: if Kajabi tables already exist in Metabase it analyzes those; otherwise it pulls scoped, summarized data, loads it with mb upload csv, then builds the dashboard and caveats any metric that needs missing history.
Create a polished Metabase dashboard for Kajabi course revenue analytics.
Work end to end: get the data into Metabase if it isn't there yet, then build.
Goal: Help the team understand gross vs. net revenue, product performance, refunds, student completion, and payout reconciliation from Kajabi data.
Step 1 — Find or load the data:
- First, check what already exists in Metabase (search for kajabi tables and
models). If durable Kajabi data is already present — a warehouse sync, a
direct database connection, or an earlier upload — use it and skip to Step 2.
- If nothing is there, pull a scoped, summarized export by scripting the Kajabi Public API:
transactions, plus orders and order items, offers and products, customers and contacts.
Write each result to a CSV, then load it with the Metabase CLI — run
"mb upload csv --file <export>.csv" so each upload creates a table and a
ready-to-query model. Use "mb upload replace <table-id> --file <export>.csv"
to refresh an existing table instead of creating duplicates.
Step 2 — Inspect before querying:
Do not assume exact table or column names. Inspect available fields, products,
locations or countries, currencies, and date ranges before creating trend cards.
Important:
- Build on whatever data is present; don't claim Metabase connects natively to
Kajabi — it reads a database or CLI-uploaded tables.
- Separate gross amounts, platform and processing fees, taxes, and refunds into
distinct columns; never let one card silently mix gross and net.
- A single CSV is a point-in-time snapshot: only build trend cards if there is
a usable date column or multiple periods have been uploaded.
- Revenue trends need complete months of order history, and cohort views need each order's enrollment date preserved.
- If a metric can't be computed from the data present, say so on the card
instead of approximating it.
Dashboard title: Kajabi Course Revenue Overview
Sections:
1. Executive summary: Net revenue this month; MoM growth; Refund rate;
Effective fee rate; Active students.
2. Revenue: Gross vs. net by month; revenue by course; new vs. installments.
3. Acquisition: Sales by offer and coupon; AOV by product; new vs. repeat buyers.
4. Engagement: Completion rate by course; lesson drop-off; active students.
5. Payouts: Payouts vs. net earned; fee rate; outstanding plan balance.
Filters: Date range, Product or offer, Coupon, Currency, Order type.
Output: Build the dashboard if you have permission; otherwise provide the exact
questions, SQL, model definitions, and layout. Include caveats for any metric
that cannot be calculated from the available data.How do you sync Kajabi data into a database or warehouse?
For dashboards that need history and reliability, land Kajabi data in a database first, then connect Metabase to that database.
Connector options
- Managed connector — use Airbyte, Fivetran, or dlt when one genuinely covers the objects you need.
- Custom pipeline — use the Kajabi Public API for control over grain, fields, and refresh cadence.
- API + CSV — use this for quick exploration and one-off slices.
No Airbyte, Fivetran, or dlt connector exists for Kajabi (verified July 2026). The durable path is a scheduled pull against the Public API — <code>/orders</code>, <code>/order_items</code>, <code>/transactions</code>, and <code>/payouts</code> — landing in Postgres or your warehouse. Kajabi doesn't publish rate limits, so page conservatively and back off on errors rather than assuming a ceiling.
Notes
- Decide the grain first (one row per transaction, rolled up to order and to month for revenue cards) — it drives every trend card.
- Land raw tables first, then build clean Metabase models on top.
- Normalize order-date, product, customer-email, gross-amount, fee-amount, net-amount, and refund-status fields.
How should you model Kajabi data in Metabase?
Core tables
| Table | Grain | Key columns |
|---|---|---|
creator_orders | one row per transaction | transaction_id, created_at, order_id, customer_id, kind, state, gross_amount, sales_tax, payment_fee, net_amount, currency |
creator_products | one row per offer or product | product_id, name, type, list_price, currency, created_at |
creator_payouts | one row per payout to your bank account | payout_id, paid_at, amount, currency, period_start, period_end, status |
Modeling advice
- Build a clean
creator_ordersmodel with the same column names you use for sibling tools, so cross-tool dashboards don't fork definitions. - Keep gross amount, platform fee, processing fee, tax, and net amount as separate, labeled columns — never let one card silently mix them.
- Kajabi reports money in cents (
amount_in_cents,sales_tax_in_cents) — divide once in the model, never per card. - Filter on
state = 'succeeded'and treatkinddeliberately:chargeandsubscription_chargeare revenue,refundanddisputeare negative amounts, andfree_purchaseandtestare neither. payment_fee_in_centsis only populated for Kajabi Payments; if you process elsewhere, the fee has to come from your processor and the effective fee rate will otherwise read as zero.- Store amounts in minor units or with an explicit currency column, and convert once in the model layer rather than per card.
Which Kajabi metrics should you track in Metabase?
| Metric | Definition | Notes |
|---|---|---|
| Platform fee rate | Platform and processing fees as a share of gross sales. | Derive it from fee lines, not the published rate card. |
| Average order value | Average purchase value by offer and product. | Payment plans inflate order counts — count orders, not charges. |
| Course completion rate | Share of enrolled students who finish a course. | Define completion once, and give cohorts time to mature. |
| Repeat purchase rate | Share of buyers who purchase a second product. | The best early signal that a product ladder is working. |
What SQL powers Kajabi dashboards in Metabase?
These assume a cleaned analytical model in a warehouse (PostgreSQL dialect). Adjust table and column names to match your pipeline.
Charges, refunds, tax, and fees resolved into one honest net line.
SELECT
date_trunc('month', created_at)::date AS month,
ROUND(SUM(gross_amount) FILTER (
WHERE kind IN ('charge', 'subscription_charge')
), 2) AS gross_revenue,
-- Refunds and disputes arrive as negative amounts on their own rows.
ROUND(ABS(SUM(gross_amount) FILTER (
WHERE kind IN ('refund', 'dispute')
)), 2) AS refunds_and_disputes,
ROUND(SUM(sales_tax), 2) AS tax_collected,
ROUND(SUM(payment_fee), 2) AS processing_fees,
ROUND(
SUM(gross_amount) - SUM(sales_tax) - SUM(payment_fee), 2
) AS net_revenue
FROM creator_orders
WHERE state = 'succeeded'
AND kind NOT IN ('free_purchase', 'test')
GROUP BY month
ORDER BY month DESC;Which offers earn, and which ones quietly hand the money back.
WITH by_product AS (
SELECT
p.name AS product,
SUM(o.gross_amount) FILTER (
WHERE o.kind IN ('charge', 'subscription_charge')
) AS gross,
ABS(SUM(o.gross_amount) FILTER (WHERE o.kind = 'refund')) AS refunded,
COUNT(*) FILTER (
WHERE o.kind IN ('charge', 'subscription_charge')
) AS charges
FROM creator_orders o
JOIN creator_products p ON p.product_id = o.order_id
WHERE o.state = 'succeeded'
AND o.created_at >= CURRENT_DATE - INTERVAL '12 months'
GROUP BY p.name
)
SELECT
product,
ROUND(gross, 2) AS gross_revenue,
charges,
ROUND(COALESCE(refunded, 0), 2) AS refunded,
ROUND(100.0 * COALESCE(refunded, 0) / NULLIF(gross, 0), 1)
AS refund_rate_pct
FROM by_product
ORDER BY gross_revenue DESC;The card that catches missing money before your accountant does.
WITH earned AS (
SELECT
date_trunc('month', created_at)::date AS month,
SUM(gross_amount - sales_tax - payment_fee) AS net_earned
FROM creator_orders
WHERE state = 'succeeded' AND kind NOT IN ('free_purchase', 'test')
GROUP BY 1
), paid AS (
SELECT
date_trunc('month', paid_at)::date AS month,
SUM(amount) AS paid_out
FROM creator_payouts
WHERE status = 'paid'
GROUP BY 1
)
SELECT
COALESCE(e.month, p.month) AS month,
ROUND(COALESCE(e.net_earned, 0), 2) AS net_earned,
ROUND(COALESCE(p.paid_out, 0), 2) AS paid_out,
-- Payouts trail earnings by the platform's settlement delay, so
-- expect a lag rather than a match in the most recent month.
ROUND(COALESCE(p.paid_out, 0) - COALESCE(e.net_earned, 0), 2) AS variance
FROM earned e
FULL OUTER JOIN paid p ON p.month = e.month
ORDER BY month DESC;What are common mistakes when analyzing Kajabi in Metabase?
Related
Related analytics
Related dashboards
Related integrations
FAQ
Does Metabase connect natively to Kajabi?
Should Metabase replace Kajabi's built-in reports?
Does Kajabi have an MCP server?
What plan do I need for the Kajabi API?
Can I sync Kajabi to a warehouse with a connector?
/orders, /transactions, and /payouts. The data volumes here are small — most creator businesses have thousands of orders, not millions — so a nightly job into Postgres is entirely sufficient. See the course revenue dashboard for what to build on it.