Why SaaS teams embed self-hosted Metabase for customer-facing analytics
A SaaS product team that wants dashboards for its customers inside the product can use self-hosted Metabase for this, provided the instance, tenant model and plan are chosen deliberately before anything is built. The work is not the charts. It is deciding who operates the instance, how each customer's rows stay separate, and which edition carries the features that make multi-tenant access safe. Those decisions shape everything that follows.
Customer-facing analytics differs from internal reporting in three ways. The viewers are external, so a mistake shows up as one customer seeing another customer's data, which is a breach and a contract problem rather than an internal fix. Isolation becomes a product promise that sales teams make and security questionnaires test, so the team must be able to explain how tenant separation works in terms a customer's security reviewer accepts. And the vendor's pricing model counts embedded users differently from internal staff, so the number of end customers who log in can change the cost of the platform more than the number of analysts does.
Several of these choices depend on the plan. The Metabase pricing page places multi-tenant data segregation, SSO and row and column level permissions in Pro and Enterprise, not in Open Source or Starter, and it prices additional users per seat on the paid plans. Confirm with the vendor how embedded end users are counted under the plan you are considering, because that figure, not the internal headcount, is what will grow with your customer base. Ask also who patches the instance, who holds the application database and who is on call when a dashboard for one tenant fails, since a SaaS product carries those duties on behalf of its customers.
Which SaaS requirements shape the Metabase build
This table lists the Metabase requirements that most affect a SaaS build, with the supplied source for each and what it means for tenant design. Read each row as a constraint to settle before choosing the plan, the embedding method and the hosting model. The main takeaway is that SSO embedding and tenant data segregation depend on a paid plan, so plan selection comes before architecture.
| Requirement | What the source says | What it means for tenant design and the build |
|---|---|---|
| SSO embedding | All SSO-based embedding requires Pro or Enterprise (Metabase embedding docs). | If customers sign in through your identity provider and see embedded dashboards, budget for a paid plan from the start. Confirm which embedding method your product needs before committing to a plan. |
| Row and column permissions | Row and column level permissions are included only in Pro and Enterprise (Metabase pricing page). | Per-customer row filtering in the BI layer requires a paid plan. Open source builds need tenant isolation enforced another way, such as separate databases or views, which must be tested. |
| Multi-tenant data segregation | Multi-tenant data segregation is included only in Pro and Enterprise (Metabase pricing page). | Decide whether tenants share tables with filtering or get separate schemas or databases. Confirm the chosen model with the plan you buy, since it shapes sync, permissions and query load. |
| Guest authentication | Guest authentication works on all plans, including open source (Metabase embedding docs). | Guest embeds can serve customers without a paid SSO setup, but they are a different access model. Test that signed embed tokens cannot reach another tenant's data before release. |
| Application database | Metabase ships with embedded H2 for demos and recommends PostgreSQL for production (Metabase application database docs). | Move off H2 before any customer sees the instance. Plan a PostgreSQL or MySQL application database with backups, since it stores tenant-facing content, users and permissions. |
| H2 migration | A one-time load-from-h2 command moves H2 data and must run with the Metabase version that last updated the H2 file (Metabase migrating from H2 docs). | If a pilot already runs on H2, schedule the migration before go-live and keep the version pinned for that step. Test the migrated permissions and embeds in staging. |
| Upgrade path | Upgrades run application database migrations automatically, and the docs recommend a backup first (Metabase upgrading docs). | Customer-facing embeds break if an upgrade fails. Define a maintenance window, a tested rollback from backup and a staging environment that mirrors tenant configuration. |
Choosing between modular, full app, guest and public embedding
Modular embedding places individual Metabase components, such as charts, dashboards or the query builder, inside pages you design using the Metabase React SDK. Your application controls where each component appears and how it looks, and your customers never see the Metabase navigation. Because the component runs inside your product, the end user is your customer, identified by your application. Sign-in for this option is SSO-based, so confirm the current setup in the embedding documentation before you commit.
- End user: Your customers, viewing specific charts or dashboards on screens your team built.
- Authentication path: SSO-based embedding, where your identity layer tells Metabase who the user is and which group and tenant attributes apply.
- Plan requirement: Pro or Enterprise, because all SSO-based embedding requires those plans.
- Isolation trade-off: Isolation depends on the identity and attributes you pass in. Tenant filters enforced in Metabase permissions are stronger than filters applied only in the browser.
- Build effort: Your frontend team owns the integration and its upgrades, so SDK changes become part of your release cycle.
Check that the SDK version matches your Metabase version and that tenant attributes reach Metabase on every request.
Full app embedding places the complete Metabase interface, including navigation, collections and the question builder, inside your product. Customers get a full analytics workspace, which suits business users who want to explore data on their own. The trade-off is that people can see more of the instance, so permissions must be tight before any customer account is connected. Like modular embedding, this option relies on SSO-based sign-in, so it needs the same plan.
- End user: Business users at your customer organizations who build and explore their own questions.
- Authentication path: SSO-based sign-in through your identity provider, with users mapped to Metabase groups.
- Plan requirement: Pro or Enterprise for SSO-based embedding.
- Isolation trade-off: Broader exploration raises the chance of cross-tenant exposure, so each tenant's data needs separate permissions, such as row-level or database-level controls available on Pro and Enterprise.
- Operating model: Metabase upgrades change the interface customers see, so plan release note reviews and customer notices.
Test cross-tenant access with at least two test accounts from different tenants before any customer uses the workspace.
Guest embedding lets your backend sign a token that grants a viewer access to a specific dashboard or question without a Metabase account. Your server creates the token using the embedding secret key, and the tenant value in the token is taken from your own session, not from anything the browser sends. Guest authentication works on every plan, including open source, which makes it the lowest-cost route to customer-facing analytics. It does not provide the per-user identity and group mapping that SSO-based embedding gives you.
- End user: Customers who never have a Metabase login and view content inside your product.
- Authentication path: A signed token generated by your backend and checked by Metabase.
- Plan requirement: Works on Open Source and every paid plan.
- Isolation trade-off: Lock the tenant filter inside the signed payload so a viewer cannot change it in the URL. Each token should carry an expiry, and the signing key must be stored and rotated under your key management process.
- Limits: There is no individual user record, so audit trails show the embedded content rather than a named person.
Confirm which parameters your signed payload can lock and how your team will rotate the embedding secret key.
A public link makes a single dashboard or question viewable by anyone who has the URL, with no sign-in. The link itself is the only credential, so this option is suitable only for content that your organization is willing to publish to the open internet. It is not a per-customer option. Because one link serves every visitor, there is no tenant isolation at all, and the same results go to everyone who holds the link.
- End user: Anyone who receives the link, including people outside your customer base.
- Authentication path: None. Possession of the URL grants access.
- Plan requirement: Confirm current plan requirements for public sharing in the Metabase documentation for your version.
- Isolation trade-off: No per-tenant or per-user separation. Any data placed behind a public link must be safe for general release.
- Governance: Public sharing should be controlled by an administrator setting, and links should be reviewed regularly.
Before you enable public sharing for a customer-facing dashboard, confirm the dashboard contains only data that is approved for publication.
Static embedding is the older method for placing a fixed dashboard or question into a page using a signed URL. Metabase has deprecated it, so new builds should not start with it. The option is described here so teams can recognize it in existing products and plan a move to a supported method. Static embeds show a fixed set of content with preset parameters, which limits how customers can explore the data.
- End user: Customers who view one fixed dashboard or question inside your product.
- Authentication path: A signed URL generated by your backend, similar in principle to guest embedding.
- Plan requirement: Check the Metabase documentation for your version before relying on it.
- Isolation trade-off: Tenant separation depends on the signed parameters, so each parameter change requires a fresh signed URL.
- Migration: Plan a move to modular, full app or guest embedding, and test each replacement with the same tenant data.
Identify every existing static embed in your product and record which tenant parameters each one signs before you schedule the migration.
How a customer request reaches tenant-scoped data
The request starts in the customer's browser, which loads a page from the SaaS application. The application authenticates the user and issues an identity for them that carries their tenant, using a signed token or an SSO-backed assertion; this is the point where tenant identity is asserted. The embedded Metabase then applies its own permissions, such as row-level or tenant segregation rules, before querying the application database or the customer data warehouse. Confirm in your environment that the tenant claim cannot be altered by the browser and that each query is restricted to one tenant.
Illustrative generic design: tenant identity flows from the SaaS application into Metabase's permission checks before any query runs.
Settings and integrations that protect tenant data
Each control below decides whether one customer can see another customer's rows, whether embedded users are authenticated by your product, and whether you can prove it later. Several of them sit on paid plans, so the plan decision comes before the architecture is locked.
Multi-tenant data segregation
Multi-tenant data segregation is the Metabase feature that keeps each tenant's data separated when many customers share one instance and one set of database connections. It is included only in the Pro and Enterprise plans, so an open source or Starter deployment cannot rely on it. Before go-live, confirm which tenant key each query path uses, test that a user from tenant A cannot reach tenant B's collections, tables or cached results, and confirm how the warehouse role behind the connection is scoped.
Metabase pricingRow and column level permissions
Row and column level permissions restrict which records and fields a group can query, which is the fallback control when tenant separation depends on filters rather than separate databases. The feature is included in Pro and Enterprise only. Verify each restricted table with test accounts from every group, check that filtered views also apply to saved questions, dashboards and embedded content, and confirm that sensitive columns stay hidden in exports and drill-through actions.
People and groups docsSSO with JWT, OIDC or SAML
SSO for embedded users decides which identity your product asserts when it loads a Metabase embed, and whether the embedded user is tied to the right tenant and role. JWT, OIDC and SAML require Pro or Enterprise, and all SSO-based embedding does too. Confirm the signing keys and their rotation, the claims that carry tenant and group identity, session lifetime, and that a user removed from your product loses embedded access.
Embedding introductionGroup and attribute sync
Group and attribute sync maps identity provider groups and user attributes into Metabase groups, which then drive data access. Advanced LDAP group and attribute sync and SCIM provisioning require Pro or Enterprise. Verify that tenant attributes arrive from the identity provider exactly as expected, that a changed tenant assignment moves the user out of the old group on next login, and that deprovisioned users are disabled rather than left with stale access.
People and groups docsPostgreSQL application database
The application database stores Metabase's users, permissions, saved questions, dashboards and settings, so tenant and access definitions live here. Metabase ships with an embedded H2 database for demos and recommends PostgreSQL for production, and MySQL 8.4.0 or MariaDB 10.6.0 and later are also supported. Confirm that the database is in infrastructure you control, backed up before every upgrade, and that any H2 content was moved with the load-from-h2 command using the matching Metabase version.
Application database docsUsage analytics and auditing
Usage analytics and auditing record who queried what and when, which is the evidence you need when a customer asks who accessed their data or when an internal reviewer tests access. It is included in Pro and Enterprise only. Decide the retention period with your compliance team, confirm that logs are exported or retained outside the instance, and test that a query made through an embed is attributable to the end user and tenant rather than to a shared service account.
Metabase pricingHow per-customer data isolation is designed in Metabase
The first design decision is where each customer's data lives. A SaaS team can give each customer its own database or schema, or keep shared tables and separate customers by a tenant column. Separate databases or schemas make the boundary easy to explain and audit, but they multiply connections, sync jobs and permission objects as the customer count grows. Shared tables are cheaper to operate but put the entire isolation burden on row-level filtering. In Metabase, the choice also decides which permission features you need. Row and column level permissions and multi-tenant data segregation are documented as Pro or Enterprise features on the Metabase pricing page, so confirm the current plan requirements for your version before you commit to a model. Collections and groups then control who sees which saved questions and dashboards, and they should mirror the tenant structure rather than sit on top of it as an afterthought.
The main risk is relying on dashboard filters alone. A filter that a user can change, remove or bypass through an embedded parameter, a saved question or an ad hoc query does not enforce isolation. The control has to sit where the query runs: in database roles or in the row-level rule that Metabase applies to each user or embed identity. For a shared-table model, the tenant value should come from a trusted claim in the signed token or SSO attribute, never from a request parameter the browser can edit. Ask your team to document, for each embed type and sign-in path, where the tenant value is set and who can change it. Also confirm how guest embeds, public links and shared collections behave, because each one can expose data differently from a logged-in user session.
Verification needs negative tests. Create at least two test tenants with distinct records, then attempt every path a customer could take: changing the tenant parameter in the URL or token, querying a table from another tenant through the query builder and native SQL, opening a saved question or dashboard owned by another tenant, and using an expired or reused embed token. Each attempt should fail or return only the caller's rows, and the results should be recorded as evidence. Repeat these tests after every Metabase upgrade and every change to a data model, because permission behavior can change between versions. Treat the exact behavior of each feature as something to confirm with Metabase's documentation for the version you run, and keep the test suite in version control so the check is repeatable.
How a SaaS embedding rollout is phased
The sequence moves from deciding how customers will see analytics to a tested, piloted and operated embedded instance. Each phase closes with a check the next phase depends on, so isolation problems surface before customers are on the platform.
Scope the embedding method and tenant model
Product, engineering and security leads decide which embedding method fits each use case, such as modular embedding, full app embedding or public links, and how customers map to Metabase groups, collections and data scopes. Choose whether each tenant gets its own database, a shared database with row-level filtering, or database roles used for impersonation, and record the reasons. The step is done when a written tenant model names every data path a customer can reach and the embedding method for each.
Select the plan that matches the features you need
Confirm which features the design depends on before any build starts. Per the pricing page, SSO, row and column level permissions, multi-tenant data segregation and usage analytics and auditing are included only in Pro and Enterprise, and SSO-based embedding requires one of those plans. Ask the vendor to confirm current plan terms in writing, including user counts for embedded users, and note that Enterprise is quoted by the vendor. The step is done when the plan decision and its licensing basis are signed off by the business owner.
Deploy the instance with a PostgreSQL application database
The DeployOpen team installs Metabase in your cloud account, data center or private network and points the application database at PostgreSQL, which the documentation recommends for production. Avoid the embedded H2 database for anything customers will touch, since it is intended for demos. Set up outbound network rules, TLS and backups for the application database at this point. The step is done when the instance starts cleanly, the application database is backed up on schedule, and a restore has been rehearsed on a separate host.
Configure SSO and tenant claims
Connect your identity provider to Metabase using the SSO method your plan supports, typically SAML or OIDC for embedding. Map the identity claims that carry tenant and role information onto Metabase groups and attributes, and confirm that a user from one tenant cannot receive claims for another. Document which identity provider is the source of truth and who can change group mappings. The step is done when test accounts for at least two tenants sign in and land only in their own group scopes.
Build and test isolation with cross-tenant tests
Engineers write automated checks that try to read another tenant's dashboards, questions, collections and rows through the UI, the embedding URLs, the API and any saved or shared link. Run the same checks after each configuration change and after each upgrade. Include tests where a customer attempts to alter filter parameters in an embed. The step is done when every cross-tenant test fails to reveal foreign data and the results are stored as evidence for your security and compliance reviewers.
Run a pilot with a small customer group
Invite a limited set of customers, chosen with the account team, to use the embedded analytics for a defined period. Track support tickets, permission complaints, slow queries and any data that appears outside its intended scope. Feed findings back into the tenant model and the isolation tests before wider release. The step is done when the pilot exit criteria agreed at the start are met and open defects are either fixed or accepted in writing.
Operate with upgrades and backups
Move the instance into routine operation with a named owner for upgrades, backups and monitoring. Follow the upgrade documentation, which recommends backing up the application database first, reducing a cluster to a single node for major upgrades because of a migration lock, and upgrading release by release from versions older than 40. Rerun the isolation test suite after every upgrade and track end-of-life dates on the version support page. The step is done when the operating runbook, the upgrade calendar and the rerun test results are approved by both engineering and the business owner.
How embedded users affect the cost of ownership
Embedded analytics changes the cost of a self-hosted Metabase in ways internal BI does not, because the number of people who see dashboards can grow far faster than your staff. The cards below separate the plan fee, the per-user charges, the infrastructure and the engineering work, so you can model each one against your expected customer count before you choose a plan.
Plan fee and included users
The plan fee is the recurring line item that most teams model first. Starter and Pro each include a fixed number of users in the monthly price, so the included allowance sets the baseline before any per-user charges apply. Model your expected embedded user count against the included allowance on each plan, and check whether the figure is counted per named account or per active person. Confirm the current terms with the vendor before you commit, since plan details can change.
- Starter per month
- $100
- Pro per month
- $575
Per-user charges above the allowance
Additional users are billed per month on top of the plan fee, so the charge grows with every account beyond the included allowance. The rate differs between Starter and Pro, which makes the higher-tier plan cheaper per user only once your user count is large enough to justify its base fee. Build a small table of user counts at expected growth points and compare total monthly cost on each plan. Ask whether embedded viewers are counted the same way as internal analysts.
- Pro extra user per month
- $12
Enterprise quote and its scope
Enterprise is priced by quote, and the published starting figure is a floor, not a final price. The quote depends on the features you need, the support terms and the number of users, so ask the vendor to show how each variable changes the annual total. Tenant isolation, SSO embedding and usage auditing sit on the paid plans, so a SaaS product with many customer tenants usually needs a quote rather than a standard plan. Request the quote in writing with the user model stated.
- Enterprise starting per year
- $20,000
Infrastructure that scales with tenants
Self-hosting moves the compute, database and network costs onto your cloud account or data center. Application database size, query concurrency and caching needs rise with the number of tenants and the frequency of dashboard refreshes, so the bill for servers and the warehouse load can grow faster than the license. Ask for a sizing estimate based on your tenant count and peak concurrent viewers, and check whether the application database runs as a managed service or on servers you operate.
Engineering time to build isolation
Per-customer data isolation is usually the largest one-time cost, and it is not on any price list. Designing tenant filters, row and column permissions, SSO embedding and test coverage takes internal engineering hours or partner hours that must be scoped before the build starts. Ask any implementation partner to break the work into design, build, testing and handover, and to name who maintains the isolation rules after launch. Tenant onboarding and offboarding also recur as customers join and leave.
Recurring operations and upgrades
Once the instance is live, it needs patching, backups, monitoring and periodic upgrades, and these tasks recur for the life of the product. Each upgrade must back up the application database and may require a planned maintenance window, so the staff time for upgrades repeats on every release cycle. Decide early whether your team or a retainer will carry this work, and ask the partner to price upgrades, incident response and support separately from the build so you can compare the recurring cost with an in-house team.
What SaaS customers and auditors will ask about the analytics layer
Expect customers and auditors to treat the embedded Metabase instance as part of your system, not as a side tool. Under the AICPA 2017 Trust Services Criteria, a SOC 2 examination covers five categories (security, availability, processing integrity, confidentiality and privacy), and the security common criteria CC1 to CC9 apply to every SOC 2 report. For the analytics layer, the questions usually concern access (who can query which tenant's data, how SSO and group mapping are configured, how access is removed), change management (how upgrades and migrations are tested and approved) and monitoring (whether usage and audit activity are logged and reviewed). Row and column permissions, multi-tenant data segregation and usage analytics and auditing are part of the Pro and Enterprise plans per Metabase's pricing page, so confirm which plan you need before you describe those controls to a customer. Independent auditors, not DeployOpen, decide whether your controls satisfy each criterion.
Auditors and customers will also ask which report they are reading. A Type 1 report describes the system and the suitability of control design as of a date, while a Type 2 report adds an opinion on operating effectiveness over a period. Most customers reviewing a SaaS vendor's analytics feature will want Type 2 evidence, and generally restricted SOC 2 reports are not for public distribution. A SOC 3 report is a general-use summary that you can publish, but it carries less detail. Plan the evidence window so that Metabase access reviews, backup restores and upgrade records fall inside the period the auditor tests.
Privacy questions usually reach the analytics layer through contracts. Under GDPR Article 28(3), a processor contract must bind the processor to process personal data only on documented instructions, including for transfers, and to apply the security measures required by Article 32. If you host Metabase for customers, your contract and your sub-processor list must match where the instance runs. The EU Data Act (Regulation (EU) 2023/2854) requires data processing service providers to let customers switch to another provider or to on-premises infrastructure, with a maximum two-month notice period and a 30-day transitional period. From 12 January 2027, switching charges are prohibited. Confirm with your counsel whether your embedded analytics falls within the Act's definition of a data processing service, and document how a tenant could export its saved questions, dashboards and application database.
What SaaS teams ask before they hire a partner
What does a self-hosted Metabase embedding project cost, and what drives it?
The cost depends on how much of the work is configuration and how much is custom engineering. The main components are the Metabase license tier, infrastructure in your own cloud or data centers, the identity integration, tenant data isolation design, and the testing that proves one customer cannot see another customer's data. The Metabase pricing page lists Starter at $100 per month ($90 billed yearly) with 5 users included and Pro at $575 per month ($517.50 billed yearly) with 10 users included, with additional users at $6 (Starter) or $12 (Pro) per month. Enterprise is priced by quote starting at $20,000 per year. Partner fees are separate and follow a written scope. Ask for the work split into one-time build, recurring support and license lines.
How long does a customer-facing Metabase build take?
Duration depends on the number of tenant models, how many identity providers must be supported, how much theming and translation is needed, and how many data sources sit behind each tenant. Isolation design and tenant testing usually take longer than the first working dashboard. DeployOpen agrees scope, deliverables and timelines in writing before work starts, so the schedule is fixed to a defined scope. Ask any partner to show which items are fixed, which depend on your decisions and which change requests would move the date.
Can our engineers build this without a partner?
Yes, if your team has the skills for identity federation, database roles, reverse proxy configuration and automated tests that check tenant boundaries. The hardest part is usually not the first embed but the ongoing proof that isolation holds after each change. Assess your team against that list honestly, and consider whether an outside review of the design is enough, or whether you need the build handed over with runbooks and tests.
What does the partner need from our engineering and security teams?
The partner needs access to a staging environment in your infrastructure, a description of your tenant model, the identity provider and its group or attribute claims, the databases and schemas each tenant may query, and your logging and retention requirements. Security teams should provide their review criteria, data classification and approval path for production changes. Agree on named contacts and access windows before the build starts so reviews do not stall the work.
Does embedded SSO require a paid Metabase plan?
Yes. Guest authentication for embeds works on every plan, including open source, but all SSO-based embedding requires Pro or Enterprise according to Metabase's embedding documentation. Row and column level permissions and multi-tenant data segregation are also listed as Pro and Enterprise features on the pricing page. Confirm the exact embedding method you need against the current Metabase documentation before you choose a plan, because the set of supported methods changes between releases.
How do we keep upgrades and tenant tests running over time?
Plan upgrades as a recurring task with a backup of the application database taken first, a staging rehearsal and a rollback path. Metabase runs application database migrations automatically, and its documentation recommends reducing a cluster to a single node for major upgrades because of a migration lock. Rollback means restoring the pre-upgrade application database backup or running the migrate down command with the newer JAR. Tenant isolation tests should run on every upgrade and every permission change. Check each version's end-of-life date on Metabase's version support page before you choose a release line.
What happens to our data if we later change partners or leave Metabase?
Ask for the application database, dashboards, collections and permission settings to be exported or backed up in a documented form, and for the runbooks to cover moving the instance. Your contract should state who owns the configuration and tests. Confirm with your partner and your legal team how the work is handed over, since the answer depends on the agreement, not on the software alone.
How DeployOpen works on this
DeployOpen plans, implements, integrates, hardens, documents and supports self-hosted Metabase inside your own infrastructure, so the embedded analytics runs in your cloud account, data center or private network. The work starts with a written scope that fixes the tenant model, identity design and plan requirements before anything is built.
How we scope
- Map which customer tenants, datasets and dashboards each embedded view must reach before choosing an isolation method
- Confirm which plan each required feature needs, including SSO embedding and row-level permissions, before the quote is written
- Agree the written scope, deliverables and timeline with you in advance, as most engagements are fixed-scope
How we build
- Deploy self-hosted Metabase with a PostgreSQL application database and wire embedding to your product's identity provider
- Configure tenant isolation, guest or SSO embedding and permissions, then test that one customer cannot reach another customer's data
- Run security testing of the embedded views and the Metabase setup, and retest after fixes are applied
How we hand over
- Document the tenant model, permission mapping, embedding configuration and secret handling so your engineers can review and maintain them
- Provide the upgrade and backup runbook, including application database backups before each Metabase upgrade
- Walk your platform, security and compliance teams through the access and audit evidence they will ask for
How we support
- Offer ongoing support, upgrades and continuous testing as retainers after the initial handover
- Plan Metabase version upgrades against the LTS and monthly release schedule, with rollback steps written before the change
- Retest embedded analytics after product or identity changes so tenant boundaries stay verified over time

