Setting up Metabase full app embedding for power users
Picture a product team whose analysts want to work inside Metabase without a second login, building questions, dashboards and collections in the same place they already work. Full app embedding answers that need: on Metabase's Pro or Enterprise plans, it places the entire Metabase app inside an iframe in your product. According to Metabase's full app embedding documentation, the approach is meant for power users who need the complete Metabase interface rather than a few components. Metabase recommends modular embedding for new projects, so full app embedding is the choice to make deliberately, not by default. This section and the topic that follows focus on the exact experience a user gets inside the frame, because that experience is what your team must review, test and support.
Before you configure anything, confirm three prerequisites from the docs: a Pro or Enterprise license, groups and permissions set up in Metabase, and SSO, where Metabase recommends JWT. Without SSO, you have no reliable way to tell Metabase who the signed-in user is, so the frame would show the wrong person's content or fail to load. Also plan which parts of the app your users will see. The full interface includes navigation, the admin area and the ability to create and share content, so the permissions model, not the iframe, decides what each user can reach. Ask your Metabase contact or check the current documentation for the exact admin settings, since the setup steps for authorized origins and the embedding toggle live under Admin > Embedding.
What full app embedding requires before you start
Full app embedding depends on three things being in place before the iframe is ever added: the right license tier, a permissions model that already reflects your users, and an SSO connection that signs embedded users in. Each card below is a gate to check with your team and your Metabase admin before the build begins.
Pro or Enterprise license
Full app embedding is available only on the Pro and Enterprise plans. The open source edition has no route to it, and Starter does not include the SSO that embedding depends on. Confirm the current plan terms on Metabase's pricing page before you commit, because the feature set and user allowances per plan can change. Ask whether your license covers the number of users you expect inside the embedded app, and whether a separate development instance is needed for testing the embed on your own domains.
Metabase pricingGroups and permissions set up
Embedded users see whatever their Metabase group allows, so groups, collection permissions and data permissions must exist before the first embed goes live. Map each class of user from your application to a group and decide which databases, collections and tables that group can query. Test the permissions with a user from each group before you expose the embed, because a missing restriction will show up as data your customers should never see.
SSO with JWT as the recommended method
Full app embedding signs your application's users into Metabase through SSO, and Metabase recommends JWT for this. Your application signs a token carrying the user's identity and any group information, and Metabase trusts it using a shared secret. Decide who owns that secret, how it is stored and rotated, and how your app builds the token. The JWT setup is documented separately, so review it before you design the login flow.
Full app embedding docsAuthorized origins in Admin
Metabase only allows embedding from origins you register. Add the domains that will host the iframe under Admin, then Embedding, before testing. Include every environment, such as staging and production, and confirm the exact scheme, host and port, because a mismatch blocks the embed without a clear error. Keep the list short, and review it whenever a new application domain is added.
Plan the iframe and browser behavior
The embedded app runs inside your page, so the browser's cookie rules and the layout of the surrounding application both matter. Check how your app is hosted relative to Metabase, since cross-domain hosting changes how session cookies behave. Confirm that your content security policy allows the Metabase frame, and decide which parts of the Metabase interface your users need to see. Testing these in a staging page early prevents rework later.
Decide whether modular embedding fits
Metabase recommends modular embedding for new projects, so confirm that full app embedding is the right choice before you build on it. Full app embedding gives power users the whole Metabase interface, while modular embedding places selected dashboards, questions or the query builder inside your own screens. Write down which user needs require the full app, because that decision determines the rest of the prerequisites.
Full app embedding compared with modular embedding and guest embeds
Full app embedding places the entire Metabase application inside an iframe in your product. Viewers get the same navigation, collections, query builder and admin areas that people see when they log in to Metabase directly, and you can hide selected parts of the interface when they do not belong in your product. It suits power users who need broad exploration inside your application, such as internal analysts or a small set of advanced customers who expect the full tool. It requires a Pro or Enterprise license, and the viewer needs an account and SSO, since the Metabase docs list groups, permissions and SSO as prerequisites. Metabase recommends modular embedding for new projects, so full app embedding is usually a choice for an existing setup rather than a first build.
- Plan requirement: Pro or Enterprise, because all SSO-based embedding needs one of these plans.
- UI exposure: The viewer sees most of Metabase, including navigation and collections, unless you hide components.
- Identity: Each viewer is a Metabase user, so group and permission design carries over from the internal instance.
- Authorized origins: The embedding domain must be added under Admin > Embedding.
- Maintenance: The embedded app upgrades with your Metabase instance, so upgrade planning affects your product too.
Before choosing this option, confirm that your viewers actually need the full application and that your team can manage the group and permission model it exposes.
Modular embedding places individual Metabase components, such as dashboards, questions and collection views, into your own application rather than the whole app. Metabase recommends it for new projects because you control which pieces appear and how they fit your layout, and the viewer sees only what you chose to show. It fits product teams building customer-facing or partner-facing analytics inside a React or similar front end. Like full app embedding, it is an SSO-based option that requires a Pro or Enterprise license, so the plan cost applies to the same level of access.
- Plan requirement: Pro or Enterprise, as with other SSO-based embedding.
- UI exposure: The viewer sees only the selected components, which keeps the product experience consistent with your own design.
- Recommendation: Metabase recommends modular embedding for new projects, which makes it the default starting point for most builds.
- Build effort: Your developers write the integration code and manage the authentication path, so this option carries more engineering work than an iframe.
- Version alignment: Component versions need to match the Metabase instance they call, so plan upgrades together.
If you are starting a new customer-facing product, compare the component scope you need with the effort your team can spend on the integration before committing to this path.
Guest embeds show a single dashboard or question to a viewer who does not have a Metabase account. Your server signs a token that defines what the viewer can see, and Metabase renders only that object. Guest authentication works on every plan, including open source, which makes it the option to check first when cost is the main constraint and viewers are external. The trade-off is that the viewer sees a narrow slice of Metabase and that per-customer access depends on locked parameters and correct token signing. Guest embeds are not a replacement for SSO-based embedding when viewers need exploration, saved content or their own identity.
- Plan requirement: Available on all plans, including Open Source.
- UI exposure: The viewer sees only the signed dashboard or question, with no navigation or collections.
- Identity: Viewers do not have Metabase accounts, so there is no per-user audit trail inside Metabase.
- Access control: Locked parameters and server-side token signing carry the access rules, so errors here expose data.
- Limits: Viewers cannot explore freely, which suits fixed reporting rather than analysis.
Before choosing guest embeds, confirm that a fixed set of dashboards meets the need and that your team can sign tokens and lock parameters correctly.
Public links and public embeds make a dashboard or question available to anyone who has the link, without authentication. They are the simplest way to share content, but the access model is the weakest of the options listed here. Filters on a public dashboard do not protect data, so public sharing is only appropriate for content that can be seen by anyone on the internet. Public links are useful for data that is already published, such as open data pages, but they are not suitable for customer-specific or internal analytics.
- Plan requirement: Public sharing is part of the instance settings and does not require the paid SSO features.
- UI exposure: The viewer sees only the shared content, with no login and no connection to your application.
- Identity: There is no identity, so no per-user access control or audit trail applies.
- Data risk: Anyone with the link can see the content and may download CSV data.
- Controls: Public sharing can be turned off for a self-hosted instance, which is the control to review first.
Before using public links, confirm that the content is approved for public release and that the public sharing setting matches your security policy.
The right option depends on who is viewing, how much of Metabase they need and which plan your organization can fund. Start from the viewer: internal power users may need full app embedding, customer-facing products usually need modular embedding, fixed external reports may fit guest embeds, and public data may be shared through public links. The plan requirement is the first filter, since three of the four options need Pro or Enterprise for SSO. Use the scope of the viewer's access as the second filter, because it determines how much your team must design around groups, permissions and tokens.
- Power users inside your company: Full app embedding with SSO, if you already run Pro or Enterprise.
- Customer-facing product: Modular embedding, since Metabase recommends it for new projects.
- Anonymous or external fixed reports: Guest embeds with locked parameters, which run on all plans.
- Public data: Public links, only after the content is approved for public access.
- Mixed audiences: A combination is possible, but each option needs its own access design.
Before committing, ask your Metabase partner or vendor to confirm the current plan requirements and whether your intended use matches the recommended option.
How to configure authorized origins, SSO and the embedding flow
This sequence takes a Metabase instance from license check to a verified full app embed, so your host application can open the whole Metabase app inside an iframe for signed-in users. Each step ends with a check you can run before moving on.
Confirm the license and plan
Confirm with your Metabase account team or the pricing page that the instance runs a Pro or Enterprise license, because full app embedding is available only on those plans. Check the plan under the admin settings of the instance itself, not only in your purchase records. Done means the license shows a plan that includes full app embedding and SSO. If the instance is on Open Source or Starter, stop here, since the later steps will not work on those plans.
Set up groups and permissions
An administrator creates the groups that the embedded users will belong to and assigns data permissions, collection access and any row or column restrictions before embedding begins. Embedded users inherit what their groups allow, so an error here becomes visible to customers or staff immediately. Done means a test user in each group can open only the dashboards, questions and databases that group should see when signed in directly to Metabase.
Configure JWT single sign-on
Under the authentication settings, an administrator enables JWT as the SSO method, which Metabase recommends for full app embedding. The host application team generates the signing key on their side and the Metabase team stores the shared secret in the instance settings, following the setup in the current docs. Done means a test token from your host application signs a user into Metabase without a password prompt, and a token with a bad signature is rejected.
Map identity claims to Metabase users
The host application team defines which claims travel in the JWT, such as email, first name, last name and groups, and the Metabase team confirms how each claim maps to a user and to group membership. Mismatched group names are a common cause of users landing in the wrong permission set, so compare each group name character by character. Done means a user from each test group signs in and sees the expected collections, and a user with no group claim is handled the way your policy requires.
Add the host origin under Admin embedding
An administrator opens Admin > Embedding and adds the origin of the host application, meaning the scheme, host and port where the page with the iframe is served. Only listed origins are allowed to frame Metabase, so add each environment separately, such as staging and production. Done means a request from the host page loads the iframe, and the same iframe fails to load when served from an origin that is not on the list.
Build the iframe and hide unneeded UI
The host application team creates an iframe that points to the Metabase full app embed URL and generates the signed request that Metabase expects, following the current full app embedding docs for the exact URL and parameters. Options for hiding Metabase navigation or other interface elements are set through the embed configuration, so confirm each option against the docs for your version before relying on it. Done means the embedded page renders without the elements you chose to hide and the page height and width fit your layout.
Test postMessage communication
If the host page needs to react to events from Metabase, such as navigation or a change of dashboard, the host team listens for postMessage events from the iframe and checks that it accepts messages only from the Metabase origin. Messages from any other origin should be ignored. Done means the host page logs the expected events in a test session and a message sent from a different origin does not change its state.
Verify sign-in and the embedded session
Run an end-to-end test in a browser: sign in to the host application, open the page containing the iframe, confirm the embedded session belongs to the expected user and groups, and check that a user in one group cannot reach content reserved for another. Also confirm that signing out of the host application ends the embedded session. Done means every test case passes in staging, and the results are recorded before production configuration. Confirm exact settings and behavior against the current full app embedding documentation before you sign off.
How a user's request moves from your app into the Metabase iframe
The request starts in the user's browser when they open a page in your product. Your application asks its JWT signing endpoint for a signed token for that user, and the token is passed into the iframe that points at Metabase. Before Metabase accepts the embed, it checks that the requesting page sits on an origin listed under Admin > Embedding, then validates the token and creates the session. Check the origin list and the signing key handling first, because both sit on the trust boundary between your product and Metabase.
Token and origin checks on the path from host app to Metabase iframe.
How postMessage communication and hidden UI components fit into the host app
A fully embedded Metabase app runs in an iframe inside your product, so your host page and the Metabase app talk to each other through the browser's postMessage mechanism. The host page sends messages to the iframe's window, and the embedded app posts messages back to the parent. Your team owns both sides of that conversation in the host code, so the design decisions sit with you: which events your page reacts to, which events it sends, and how it reacts when the iframe reports a state change such as navigation. Before writing any listener, confirm in the current full app embedding documentation which message types the embedded app emits and accepts for your Metabase version. Message names and payloads are not something to infer from older examples or community posts.
Hiding navigation or other UI components is a configuration choice on the Metabase side, not something the host page can reliably do by reaching into the iframe. Confirm which hide options the docs list for the embedded app and where they are set, then decide what your users should see: for example, whether the Metabase sidebar, header or collection browser should stay visible or whether your product's own navigation should carry the user through. Hiding a control is a presentation decision, not an access control. Anyone who knows the app's URL can still reach pages that the sidebar no longer shows, so the real limits come from groups, permissions and collection access that you set up beforehand.
Treat every incoming message as untrusted input. Your listener should check event.origin against the exact Metabase origin you expect, confirm that event.source is the iframe's contentWindow, and ignore anything else before it changes application state. Validate the payload structure as well, and never pass message data into script execution, HTML rendering or an authenticated API call without checking it first. Write these checks into your test plan, and include a test where a message arrives from a different origin. Check the same points again after each Metabase upgrade, because message behavior and hide options can change between versions.
Security risks of framing the full Metabase app
Full app embedding puts the entire Metabase interface inside another product, so every control that normally protects Metabase now sits between your app, the browser and the instance. The cards below cover the places where that boundary tends to fail and the checks that confirm each one holds.
Authorized origin allowlisting
Authorized origins are added under Admin > Embedding, and they decide which sites may load Metabase in a frame. An entry that is broader than the product domains, or an origin left over from a test environment, lets an unintended page host the full app. Review the list against your production and staging hostnames, remove stale entries, and confirm that each change is recorded by your change process before it reaches production.
Full app embedding docsGroup permissions visible in the frame
A framed user sees exactly what their Metabase account can reach, including collections, saved questions and databases. If groups and data permissions were set for an internal audience, a customer-facing or partner user placed in the same group can browse data they should not see. Test each group with a representative account and confirm that collection and data permissions, not the host application's navigation, decide what appears.
Clickjacking and frame exposure
Any page that allows framing by others can be abused to trick a user into clicking controls they did not intend to use. Check how your reverse proxy and the Metabase instance set frame-related response headers, and confirm which parent origins are permitted to embed the app. Verify the result with a test page on an unlisted domain, which should fail to render Metabase.
SSO secret handling
Full app embedding on Pro or Enterprise commonly relies on JWT-based SSO, where your application signs a token that Metabase trusts. The signing secret must be generated for this purpose, stored in a secrets manager and rotated through a planned window, because anyone holding it can mint a session for any user. Confirm that the secret never appears in front-end code, logs or repository history.
Session lifetime after sign-in
The session created by SSO continues after the host application signs the user out, unless the sign-out path is designed to end it. Decide how long an embedded session should last, how removed users lose access, and how a deprovisioned account is blocked on the Metabase side. Test sign-out, account removal and a session left idle in a browser tab, and confirm each behaves as your policy requires.
Permission tests through the iframe
Permissions tested inside the Metabase admin console do not prove the framed experience is safe, because the host application can route users to pages, pass parameters and cache views differently. Build a test matrix of user types, groups and collections, run each through the iframe, and record what is visible, downloadable and searchable. Repeat the matrix after every Metabase upgrade and every change to the host app.
Keeping the embedded instance current with upgrades
The embedding setup depends on the Metabase version you run, so an upgrade can change what your embedded app looks like and how SSO, groups and permissions behave inside the iframe. Treat the upgrade as a change to the embedding setup, not only to the server. Before you upgrade, record the current version, the authorized origins under Admin > Embedding, the SSO configuration and the group and permission mappings your host application relies on, then confirm each of them after the upgrade on a non-production copy. Metabase also publishes version support dates, so you can plan the next upgrade against the end-of-life date of the release you run rather than reacting to it.
Upgrades run application database migrations automatically when Metabase starts. The upgrade docs recommend backing up the application database first, and for major upgrades they recommend reducing a cluster to a single node because of a migration lock, so plan a short maintenance window for that step. Upgrade release by release if you are coming from a version older than 40. Confirm with your platform team who owns the backup schedule, how long a restore takes in your environment, and whether your embedding host can tolerate the instance being unavailable during the migration.
Rollback is the step most teams underestimate. The recommended route is restoring the pre-upgrade application database backup, which is why the backup must be taken and tested before the upgrade starts. The alternative is running the migrate down command with the newer JAR, which the docs also describe. Write down which route you will use before the change window opens, and rehearse a restore on a copy so you know the time it takes. Settle this with your team in advance, since an embedded instance that fails after an upgrade affects your customers, not only your internal users.
Questions buyers ask before setting up full app embedding
What drives the cost of setting up Metabase full app embedding?
The main cost driver is the amount of integration work around the Metabase instance, not the embedding itself. Full app embedding requires a Pro or Enterprise plan because all SSO-based embedding does, so the license is a recurring cost that the buyer pays to Metabase, and its price depends on the plan and user count shown on the Metabase pricing page. Services work is paid separately and typically covers:
- Planning the groups, permissions and authorized origins
- Configuring SSO and testing the login flow
- Hosting, upgrades and backups of the self-hosted instance
- Reviewing what the embedded app exposes to users
Ask any provider for a quote that separates one-time setup from recurring support and license costs.
Can our internal team set up Metabase full app embedding without a partner?
Yes, a capable team can do it if it has someone comfortable with the Metabase admin console, your identity provider and the embedding settings in Admin. The work depends on skills across several areas: configuring JWT or another supported SSO method, designing groups and data permissions, managing the application database and running upgrades. Gaps usually appear in SSO signing and session handling, and in verifying that hidden UI elements cannot be reached through the embedded app. Before deciding, check whether your team has time to own upgrades on a schedule and has a test environment that mirrors production.
What does the work need from our product and security teams?
The product team must define which screens users should see inside the embed, which navigation and admin areas must be hidden, and how embedded users map to Metabase groups. The security team needs to approve the identity design, the JWT signing secret handling, the list of authorized origins and how sessions are ended when a user leaves your product. Both teams should agree who can change embedding settings and how those changes are reviewed. Without these decisions, the setup tends to stall during testing rather than at the start.
How long does it take to scope full app embedding, and what changes the timing?
Scoping usually takes less time than the build, but the duration depends on how many decisions are already made. The largest variables are the identity provider you use, whether SSO is already configured for Metabase, how many groups and data permissions must be designed, and whether the Metabase instance runs in a environment that already has TLS, a reverse proxy and a managed database. Ask any provider for a written scope and timeline that lists these assumptions so you can see which ones change the schedule.
Does full app embedding need the same SSO setup as modular embedding?
Both approaches rely on SSO for embedded users, but full app embedding exposes the complete Metabase interface inside your page, so the access controls matter more. Metabase recommends JWT for full app embedding, and the prerequisites include a Pro or Enterprise license, groups and permissions in place, and SSO. Confirm in the full app embedding documentation which settings apply to your Metabase version before you choose an identity method.
When should we choose modular embedding instead of full app embedding?
Choose modular embedding when you want specific dashboards, questions or collection views inside your product rather than the whole Metabase application. Metabase recommends modular embedding for new projects, so full app embedding is usually the better fit only when power users need the complete analytics workspace, such as building their own questions. Modular embedding gives you tighter control over what appears and how it looks, while full app embedding shows more of Metabase to each user. Review the embedding introduction to compare the options against your product needs.
What breaks most often after full app embedding goes live?
The most common problems are session and cookie issues when the embed and the Metabase host are on different domains, expired or mismatched JWT signing keys, and users reaching hidden areas through direct URLs. Upgrades also need attention, because Metabase runs application database migrations automatically and recommends backing up the application database first. Plan monitoring for login failures, a documented process for rotating the signing secret, and a tested rollback path before the first production upgrade.
How DeployOpen scopes and delivers Metabase embedding
DeployOpen plans, implements, documents and supports self-hosted open-source platforms inside your own infrastructure, and that includes a full app embedding setup for Metabase. Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
How we scope
- Confirm a Pro or Enterprise license fits the embedding need, since SSO-based full app embedding requires one of those plans.
- Map groups, permissions and the identity provider that will sign embedded users in, with JWT as the recommended option.
- Agree the written list of authorized origins, embedding pages, and which Metabase UI components will be hidden.
How we build
- Deploy the Metabase instance and application database in your environment, then configure SSO and the embedding settings under Admin > Embedding.
- Build and test the host application's postMessage communication and the iframe wrapper against your actual page structure.
- Test that embedded users see only the collections, data and groups they should, using accounts from each permission tier.
How we hand over
- Deliver written configuration records covering SSO settings, authorized origins, group mappings and hidden UI components.
- Document the integration code, the iframe parameters and a checklist for adding new origins or changing embedded pages.
- Walk your engineering and security teams through the setup and record the decision on modular embedding for future projects.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers, so embedded pages keep working across Metabase releases.
- Retesting after each Metabase upgrade covers SSO sign-in, origin rules and postMessage behavior before the change reaches users.
- Ask any provider to confirm how they handle the upgrade path for Metabase version changes, including application database backups first.

