Gainsight × Metabase

How to build Gainsight customer success dashboards in Metabase

Gainsight is the enterprise customer success platform — companies and relationships, scorecards, CTAs, success plans, and timeline activities, built for CS teams managing renewal risk at scale. Metabase is where you turn that record into shared, trustworthy customer success dashboards. This guide covers two complementary paths: a lightweight MCP + CLI route that pulls live data with the Gainsight CS MCP server and loads a CSV into Metabase with the Metabase CLI, and a durable pipeline route that lands Gainsight data in a database so you can build dashboards anyone can read.

Heads up: Metabase connects to databases and warehouses — it does not ship a native Gainsight connector. The good news: account and health data is small and tabular, and it becomes far more useful the moment it sits next to product usage and billing. Land it in a database, define the metrics once, and every dashboard downstream inherits the same definitions.

How do you connect Gainsight to Metabase?

Most teams combine both routes: quick answers through MCP and CLI uploads first, then recurring reporting on a warehouse-backed model.

1 · MCP + CLI route (AI-assisted)

Live answers in, quick analysis out

Pair the Gainsight CS MCP server with the Metabase CLI. Use MCP for live account and meeting lookups, write a scoped result to CSV, then load it into Metabase as a ready-to-query table and model.

Best for
  • Quick questions such as "show me account health distribution and risk tiers"
  • Loading Gainsight exports into Metabase in seconds
  • Spot-checks and one-off investigations without pipeline work
Trade-offs
  • Great for exploration, not the governed numbers a QBR runs on
  • Use read-only credentials or scoped API keys wherever supported
  • CSV uploads are snapshots — refresh or move to the pipeline for history
2 · Pipeline route (warehouse-backed)

Durable dashboards with history

Land Gainsight data in a database or warehouse — via connector or scheduled API pulls — then point Metabase at it.

Best for
  • Gainsight dashboards CS and finance both trust
  • Joining health data with product usage, support, and billing
  • Long-run trends for account health distribution and risk tiers and renewal forecast by quarter with at-risk arr
Trade-offs
  • You own the refresh schedule and the snapshot grain
  • Re-derive health score components once, in the warehouse layer
  • Current-state fields need dated snapshots or history never exists

What can you analyze from Gainsight data in Metabase?

These all come from the same core objects — companies and their scorecards, plus the CTAs and playbooks, success plans, timeline activities your sync exposes:

  • Account health distribution and risk tiers
  • Renewal forecast by quarter with at-risk ARR
  • CTA volume, aging, and resolution
  • Health score vs. actual product usage
  • CS coverage: accounts with no recent touchpoint

Which Gainsight customer success dashboards should you build in Metabase?

For: CS leadership

Health overview

Where the account base sits, and what it is worth.

  • Accounts by risk tier (bar)
  • ARR by risk tier (bar)
  • Weighted health score across all accounts (number + trend)
  • Accounts that changed tier this month (table)
For: CSMs, CS ops

CTAs and coverage

Whether risk signals are actually being worked.

  • Open CTAs by reason and age (table)
  • Median CTA resolution time (line)
  • Accounts with no touchpoint in 60 days (table)
  • Open CTAs per CSM (bar)
For: Revenue leadership

Renewals

The exposure sitting in each upcoming quarter.

  • ARR up for renewal by quarter (bar)
  • At-risk ARR in the next 90 days (number + trend)
  • Renewal outcomes by segment (stacked bar)
  • Forecast vs. actual renewed ARR (combo)
For: Product, CS

Health vs. reality

Does the score match what customers actually do?

  • Health score vs. active users (scatter)
  • Accounts healthy on paper but quiet in product (table)
  • Contribution of each scorecard measure to the total (bar)
  • Share of accounts with a complete scorecard (number)

How do you use the Gainsight CS MCP server with the Metabase CLI?

Pair the Gainsight CS MCP server with the Metabase CLI for fast, hands-on analysis. MCP is useful for scoped lookups and summarized exports; the Metabase CLI's upload command loads CSV data into Metabase and creates a ready-to-query table and model.

Example workflow

  • Ask the MCP server for the latest scorecard snapshot for every company — one row per account per measure, with the owner and ARR attached — not raw timeline activity.
  • Export the result as CSV, keeping stable IDs, owners, statuses, and dates — and hashing or dropping any personal contact fields.
  • Run mb upload csv to load it into Metabase as a table and model, then build questions and dashboards on top.

Be honest about the limits

  • MCP lookups are excellent for exploration, not scheduled reporting.
  • A CSV upload is a snapshot; refresh it with mb upload replace or move to the pipeline for real history.
  • Scorecards are current-state: the server returns today's grade, so month-over-month health trends need dated snapshots you persist yourself on a schedule.
  • mb upload csv needs an uploads database configured under Admin → Settings → Uploads.

How do you set up Gainsight MCP and the Metabase CLI?

Gainsight CS MCP serverofficial

Transport
Vendor-hosted remote MCP on your Gainsight domain
Auth
OAuth 2.1 + PKCE, via an OAuth app your Gainsight admin creates
Best for
Live scoped account lookup and export

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)
MCPExample MCP client config
{
  "mcpServers": {
    "gainsight": {
      "type": "http",
      "url": "https://your-domain.gainsightcloud.com/v1/ds-mcp/mcp"
    }
  }
}

Gainsight's own server, scoped to your tenant's domain. Setup is admin-led: an admin registers an OAuth app in Gainsight with your MCP client's callback URL, then each user authenticates individually. It reads Companies, Relationships, CTAs, Success Plans, Timeline activities, and Scorecards — scorecards are read-only, and neither deleting records nor updating company fields is supported, which suits analytics fine. Note that Gainsight ships several separate MCP servers: this one is for Gainsight CS, while the Gainsight PX server is a different, per-datacenter endpoint and is still labeled beta.

TerminalLoad a Gainsight CSV with the Metabase CLI
# 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 accounts export — creates a table AND a model
mb upload csv --file gainsight-accounts.csv --collection root

# Refresh that same table later from a new export
mb upload replace <table-id> --file gainsight-accounts.csv

Can you generate a Gainsight dashboard with AI?

Yes. Use the prompt below with any assistant that can run the Gainsight CS MCP server and the Metabase CLI. It works end to end: if Gainsight 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.

Prompt for creating a Gainsight Customer Success Overview dashboard
Create a polished Metabase dashboard for Gainsight customer success analytics.
Work end to end: get the data into Metabase if it isn't there yet, then build.

Goal: Help customer success and revenue leaders understand account health and risk tiers, CTA coverage, renewal exposure by quarter, and how health scores compare with real product usage from Gainsight data.

Step 1 — Find or load the data:
- First, check what already exists in Metabase (search for gainsight tables and
  models). If durable Gainsight data is already present — a warehouse sync or
  an earlier upload — use it and skip to Step 2.
- If nothing is there, pull a scoped, summarized export with the Gainsight CS MCP server:
  companies and their scorecards, plus CTAs and playbooks, success plans, timeline activities.
  Prefer one row per account per snapshot date over raw activity
  feeds. 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, owners,
segments, statuses, and date ranges before creating trend cards.

Important:
- Build on whatever data is present; don't claim Metabase connects natively to
  Gainsight — it reads a database or CLI-uploaded tables.
- State which health score a card uses and when it was captured. Vendor scores
  are opaque composites and get redefined without notice.
- A single CSV is a point-in-time snapshot: health scores, phases, and renewal
  dates are current-state fields, so only build trend cards once several dated
  snapshots exist.
- Reconcile ARR against billing data, not against the Gainsight record — CS
  platforms hold a projection of CRM, billing, and product data.
- Only compute retention where subscription or license values exist. Gross
  revenue retention excludes expansion and can never exceed 100%; net revenue
  retention includes it and can.

Dashboard title: Gainsight Customer Success Overview

Sections:
1. Executive summary: Accounts by risk tier; ARR at risk; Open CTAs;
   Accounts with no recent touchpoint; ARR up for renewal this quarter.
2. Health: Risk tier distribution; ARR by tier; tier changes this month.
3. CTAs: Open CTAs by reason and age; resolution time; CTAs per CSM.
4. Renewals: ARR up for renewal by quarter; at-risk ARR in 90 days.
5. Reality check: Health score vs. product usage; quiet-but-healthy accounts.

Filters: Date range, CSM owner, Segment, Risk tier, Lifecycle stage.

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 Gainsight data into a database or warehouse?

For dashboards that need history and reliability, land Gainsight data in a database first, then connect Metabase to that database.

Connector options

  • Managed ETL — use a connector when one covers the objects you need, and read its support level and sync mode before you rely on it.
  • Custom pipeline — use the Gainsight CS APIs for control over snapshot grain, fields, and refresh cadence.
  • MCP + CSV — use this for quick exploration and one-off slices.

Fivetran's Gainsight Customer Success connector is the durable path, and unlike most connectors in this category it's a full standard connector rather than a Lite one (its Hybrid deployment model requires an Enterprise or Business Critical plan). Airbyte publishes a Gainsight PX source but no CS source. Rolling your own means respecting two very different quotas: the synchronous APIs allow roughly 100 calls per minute and 50,000 per day, but the async and bulk APIs — the ones you'd actually use for warehouse extraction — are limited to 10 calls per hour and 100 per day. Plan for a nightly bulk job, not a chatty incremental sync.

Notes

  • Decide the snapshot grain first (one row per account per day, or per account per week) — it drives storage and every trend card.
  • Land raw tables first, then build clean Metabase models on top.
  • Normalize account-id, csm-owner, segment, snapshot-date, measure, weight, and score fields.

How should you model Gainsight data in Metabase?

Core tables

TableGrainKey columns
cs_accountsone row per companyaccount_id, name, csm_owner, segment, arr, contract_start, renewal_date, lifecycle_stage
account_health_scoresone row per account per scorecard measure per snapshot dateaccount_id, snapshot_date, measure, score, weight, grade, scorecard_name
cs_activitiesone row per CTA or timeline activityactivity_id, account_id, type, reason, created_at, due_date, closed_at, owner, status

Modeling advice

  • Build a clean cs_accounts model with common columns across CS tools, so multi-source dashboards don't fork definitions.
  • Re-derive the health score components in the warehouse and keep the vendor's score beside your own as a separate, labeled column. Vendor scores are opaque composites, and they get redefined without anyone telling the analytics team.
  • Snapshot renewal forecasts into a renewal_forecast_snapshots table frozen at period start — accuracy cannot be measured against a forecast that keeps moving.
  • Model gross and net revenue retention separately: gross excludes expansion and can never exceed 100%, net includes it and can.
  • Reconcile ARR against billing rather than the CS platform. What a CS tool holds is a projection of CRM, billing, and product data, and projections drift.

Which Gainsight customer success metrics should you track in Metabase?

MetricDefinitionNotes
Customer health scoreA weighted composite of usage, support, and relationship signals.Re-derive the components; vendor scores change silently.
Gross revenue retentionRetained ARR from an existing cohort, expansion excluded.It can never exceed 100% — that's the point of it.
Renewal forecast accuracyForecast renewed ARR against what actually renewed.Needs a forecast snapshot frozen at period start.
Churn rateAccounts or ARR lost in a period over the opening base.State whether it's logo churn or revenue churn.
Time to valueDays from contract start to the first realized outcome.Define the outcome event before charting anything.

What SQL powers Gainsight customer success dashboards in Metabase?

These assume a cleaned analytical model in a warehouse (PostgreSQL dialect). Adjust table and column names to match your pipeline.

Health score distribution by risk tierPostgreSQL

The weighted scorecard, bucketed, with the ARR behind each tier.

WITH latest AS (
  SELECT
    account_id,
    SUM(score * weight) / NULLIF(SUM(weight), 0) AS weighted_score
  FROM account_health_scores
  WHERE snapshot_date = (SELECT MAX(snapshot_date) FROM account_health_scores)
  GROUP BY account_id
)
SELECT
  CASE
    WHEN l.weighted_score >= 80 THEN 'healthy'
    WHEN l.weighted_score >= 60 THEN 'watch'
    ELSE 'at risk'
  END AS risk_tier,
  COUNT(*) AS accounts,
  ROUND(SUM(a.arr), 0) AS arr
FROM latest l
JOIN cs_accounts a ON a.account_id = l.account_id
GROUP BY 1
ORDER BY MIN(l.weighted_score);
Accounts whose score moved most month over monthPostgreSQL

The movers, ranked by absolute change, not by score.

WITH month_end AS (
  SELECT DISTINCT ON (account_id, date_trunc('month', snapshot_date))
    account_id,
    date_trunc('month', snapshot_date) AS month,
    snapshot_date
  FROM account_health_scores
  ORDER BY account_id, 2, snapshot_date DESC
),
scored AS (
  SELECT
    m.account_id,
    m.month,
    SUM(h.score * h.weight) / NULLIF(SUM(h.weight), 0) AS weighted_score
  FROM month_end m
  JOIN account_health_scores h
    ON h.account_id = m.account_id
   AND h.snapshot_date = m.snapshot_date
  GROUP BY 1, 2
),
movement AS (
  SELECT
    account_id,
    month,
    weighted_score,
    LAG(weighted_score) OVER (PARTITION BY account_id ORDER BY month)
      AS prior_score
  FROM scored
)
SELECT
  a.name,
  a.csm_owner,
  a.arr,
  ROUND(mv.prior_score::numeric, 1) AS prior_score,
  ROUND(mv.weighted_score::numeric, 1) AS current_score,
  ROUND((mv.weighted_score - mv.prior_score)::numeric, 1) AS score_change
FROM movement mv
JOIN cs_accounts a ON a.account_id = mv.account_id
WHERE mv.month = date_trunc('month', CURRENT_DATE)
  AND mv.prior_score IS NOT NULL
ORDER BY ABS(mv.weighted_score - mv.prior_score) DESC
LIMIT 25;
ARR up for renewal by quarterPostgreSQL

Renewal exposure for the next four quarters, at-risk ARR split out.

SELECT
  date_trunc('quarter', renewal_date) AS renewal_quarter,
  COUNT(*) AS accounts_up_for_renewal,
  ROUND(SUM(arr), 0) AS arr_up_for_renewal,
  ROUND(SUM(arr) FILTER (WHERE lifecycle_stage = 'at risk'), 0) AS at_risk_arr
FROM cs_accounts
WHERE renewal_date >= date_trunc('quarter', CURRENT_DATE)
  AND renewal_date < date_trunc('quarter', CURRENT_DATE) + INTERVAL '12 months'
GROUP BY 1
ORDER BY 1;

What are common mistakes when analyzing Gainsight in Metabase?

Treating the vendor health score as a metric definition.→ It is an opaque composite, and it gets reweighted or redefined without the analytics team hearing about it. Re-derive the components in the warehouse, and keep the vendor score beside yours as a labeled column rather than as the source of truth.
Reporting ARR straight from the CS platform.→ What Gainsight holds is a projection of CRM, billing, and product data, synced on someone else's schedule. Reconcile ARR against billing, and treat a discrepancy as a pipeline bug rather than a rounding difference.
Charting health trends from current scorecard grades.→ Scorecards show today's grade. Without dated snapshots appended on a schedule, a "trend" line is just the same number repeated — persist the history yourself before promising month-over-month views.
Building dashboards from live MCP lookups only.→ MCP is useful for exploration; durable dashboards need a database-backed model with history.

Related analytics

Related dashboards

Related integrations

FAQ

Does Metabase connect natively to Gainsight?
No. Metabase reads databases and warehouses. Land Gainsight data in a database first — via connector or API pipeline — or upload a CSV with the Metabase CLI, then build Metabase models and dashboards on top.
Should Metabase replace Gainsight?
No — they answer different questions. Gainsight is the system of action: playbooks, alerts, workflows, and the CSM's daily queue. Metabase is where you build governed, shareable reporting for the whole company, and join that data with product usage, support, and billing to answer questions no single tool holds the data for.
Does Gainsight have one MCP server?
No — it ships several, and they are not interchangeable. The one this guide documents is the Gainsight CS MCP server, a per-tenant endpoint on your own Gainsight domain that an admin enables by registering an OAuth app with your MCP client's callback URL. The Gainsight PX server is a different, per-datacenter endpoint and is still labeled beta. Treat them as two separate integrations with two separate setups.
Which Gainsight APIs should a warehouse pipeline actually use?
The async and bulk Data Management APIs — and you should budget for their quotas rather than discover them in production. The synchronous APIs allow roughly 100 calls per minute and 50,000 per day; the async and bulk ones, the endpoints extraction really needs, are limited to 10 calls per hour and 100 per day. That shape rewards a nightly bulk job and punishes a chatty incremental sync. Fivetran's Gainsight Customer Success connector is a full standard connector rather than a Lite one, with its Hybrid deployment model requiring an Enterprise or Business Critical plan; Airbyte publishes a Gainsight PX source but no CS source.