Metabase SAML SSO with Okta

Metabase SAML SSO with Okta lets your Okta users sign into a self-hosted Metabase with their corporate credentials, with groups mapped from Okta. This page covers the plan requirement, the setup sequence, the mapping decisions and the failures teams hit most often.

On this page

Metabase SAML SSO with Okta: what the integration does

Configuring Metabase SAML SSO with Okta means creating a SAML app integration in the Okta Admin console, using the values Metabase shows under Admin > Settings > Authentication > SAML, and then optionally mapping Okta groups to Metabase groups so each signed-in user lands in the right permission set. Once the integration is live, Okta decides who can reach the Metabase login and which groups they receive, while Metabase still holds the application's own user records and sessions. The security or IT team owning this should decide early which Okta groups map to which Metabase groups, because those mappings determine data access and are easier to design before users start signing in.

SAML SSO requires the Pro or Enterprise plan. On Metabase's pricing page, Pro is listed at $575 per month, or $517.50 per month billed yearly, with the first 10 users included and additional users at $12 per month. Open Source and Starter do not include SSO, so a team that wants Okta sign-in must budget for a paid plan before the project starts. Enterprise is priced by quote starting at $20,000 per year, so ask Metabase which plan fits your user count and support needs. Confirm current prices on the pricing page at the time of purchase, since list prices change.

SCIM provisioning is a separate capability that keeps Metabase user accounts created, updated and deactivated from Okta without manual steps. SAML covers sign-in and group claims at login time, while SCIM covers the account lifecycle. Metabase lists SCIM among features that require Pro or Enterprise, so confirm with Metabase which setup your plan supports before you plan the rollout.

What you need before you open the Okta Admin console

Okta SAML for Metabase depends on a plan that includes SSO, an Okta admin who can create the app integration, and a production Metabase that will keep the same address after go-live. Work through these cards before you copy any values out of Metabase's authentication settings.

A Pro or Enterprise plan

SAML with Okta is included only on Metabase Pro or Enterprise. Open Source and Starter do not include SAML, so a free or Starter instance cannot complete this setup. The Pro price is listed on the pricing page at a published monthly and yearly rate, while Enterprise is priced by quote starting at $20,000 per year. Ask Metabase which plan covers your user count before you plan the rollout.

Metabase pricing

An Okta tenant and admin rights

You need an Okta org where an administrator can create a SAML app integration and edit its sign-on settings. Confirm with Okta which admin role and licensing tier your org needs for custom app integrations and group push, because this page does not assume them. Check whether your org uses a custom domain, since the sign-on URLs you configure will reflect it.

Production Metabase on PostgreSQL or MySQL

The embedded H2 database is meant for demos. Production SSO should run on an application database you back up and can restore, such as PostgreSQL, or MySQL 8.4.0 or MariaDB 10.6.0 and later with utf8mb4. Group mappings and user records live in that database, so moving off H2 after you configure SSO adds rework. Plan the migration first if your instance is still on H2.

Application database docs

A stable HTTPS address for Metabase

Okta posts SAML responses back to the Metabase URL you register, and that URL must match the address users open in their browser. Choose the final hostname, terminate TLS in front of Metabase, and avoid changing the address after go-live. A rename later means updating the Okta app and Metabase's site URL together, and testing both again.

Metabase 64 as the reference LTS

Record the exact Metabase version you run before you start, and confirm it matches the SAML settings page you will follow. Metabase 64 is the current LTS release, published on 16 September 2026 and supported until 1 December 2027. If you run an older or non-LTS build, plan an upgrade first so the steps you follow match your screens and support window.

Version support

A test group of real users

Pick a small group of pilot users, including one Metabase administrator who can recover access if SSO fails. Create the matching Okta group and assign only those people, so a wrong attribute or mapping affects a few accounts instead of the whole tenant. Keep a local admin password in a secure location until the group mapping has been verified end to end.

How a Metabase login travels through Okta

The login starts in the user's browser at Metabase, which sends the user to Okta with a SAML request. After the user signs in to Okta, Okta returns a signed SAML response carrying attribute and group statements, and the browser posts it back to Metabase. Metabase checks the response against the Okta certificate and the SAML settings in Admin > Settings > Authentication > SAML, then matches or creates the user and applies group membership. Check the certificate, entity ID and group attribute name first when a login fails.

Sequence of a SAML login between the browser, Metabase and Okta.

Configure Metabase SAML SSO with Okta in order

This sequence takes a self-hosted Metabase from its SAML settings to a tested Okta sign-in, with group assignments that place each user in the right Metabase groups. Confirm the plan tier before you start, because SAML requires Pro or Enterprise.

  1. Confirm the Metabase plan supports SAML

    Before any Okta work, confirm with your Metabase account owner or the pricing page that your instance is on Pro or Enterprise, since SAML with Okta requires one of these plans. Open Admin settings in Metabase and check that the Authentication section offers SAML. Done means the SAML option appears and you have a named owner who can enable it. If it does not appear, stop here and resolve the license before creating anything in Okta.

  2. Copy the SAML values from Metabase

    In Metabase, go to Admin settings, then Authentication, then SAML. Record the values the form shows for the Okta app integration, including the Single Sign-On URL and the audience (entity ID) value. Keep this page open so you can paste values accurately. Done means you have a written copy of each value and you have not yet saved any SAML settings, since Metabase needs the Okta metadata before SAML can be enabled.

  3. Create the SAML app integration in Okta

    In the Okta Admin console, create a new app integration and choose SAML 2.0. Enter a clear app name such as Metabase, then set the single sign-on URL, audience URI and name ID format from the values you copied in Metabase. Use the email address as the name ID format if your users sign in with email, and confirm the choice against Metabase's Okta guide. Done means the app is saved and shows the SAML settings you entered, with no mismatched characters.

  4. Add attribute statements and group filters

    In the SAML settings of the Okta app, add attribute statements for the user's email, first name and last name, using the names Metabase's guide specifies. Then add a group attribute statement with a filter that matches the Okta groups you plan to map to Metabase groups. Done means that Okta's preview of the SAML assertion lists the expected attributes and group values for a test user, and that group names match what you intend to map.

  5. Assign a pilot group to the app

    Under the app's Assignments tab, assign a small pilot group of users who need Metabase access, such as a single analytics team. Avoid assigning the whole directory during the first pass. Done means the pilot users appear as assigned in Okta, and you have a list of those users so you can compare them with the People list in Metabase after sign-in.

  6. Enable SAML in Metabase with Okta metadata

    Return to Metabase Admin settings, under Authentication and SAML. Paste the identity provider metadata or the values exported from the Okta app, then enable SAML and save. Configure any group mappings you need, linking Okta group names to Metabase groups. Done means the SAML section shows as enabled and saves without errors. Keep at least one local administrator account with a working password so you can recover if the configuration fails.

  7. Test a login in a private browser window

    Open a private browser window, go to your Metabase URL, and sign in as a pilot user through Okta. Before you test, use Okta's SAML test or preview to confirm the assertion for that user. After sign-in, check Admin settings, then People, to confirm the user exists and belongs to the expected Metabase groups. Done means the user lands in Metabase, the People list shows the account with the correct groups, and a user outside the pilot group cannot sign in.

Mapping Okta attributes and groups to Metabase fields

This table traces each Okta source, through the SAML attribute statement or group claim that carries it, to the Metabase field or group it fills and the team that should own the decision. Read it before building the Okta app integration, because a mismatch in attribute names or group names on either side is the most common cause of users landing in the wrong Metabase group or failing to sign in. Confirm every attribute name against Metabase's Okta guide before you configure anything.

Okta sourceSAML attribute or group claimMetabase field or groupDecision owner
User email as login identifierName ID or email attribute, as named in Metabase's Okta guideUser email address used to match the Metabase accountIdentity team, with Metabase admin sign-off
User first nameFirst name attribute, exact name to confirm in Metabase's Okta guideFirst name on the Metabase user profileIdentity team
User last nameLast name attribute, exact name to confirm in Metabase's Okta guideLast name on the Metabase user profileIdentity team
Okta group membershipGroup attribute statement filtered by a regex or group nameMetabase groups assigned through group mappingMetabase admin, with data owners for access scope
Okta group namesValues inside the group attribute, copied exactly from OktaMetabase group names that must match character for characterMetabase admin and Okta admin together
Unmapped or extra Okta groupsGroups that are assigned to the app but have no mappingNo Metabase group, so users keep only their default accessSecurity team, to confirm the default is least privilege
Deprovisioning and group removalChanges in group membership on the next SAML login or through SCIMMetabase group membership removed or updatedIdentity team, with a documented offboarding owner

How SCIM provisioning changes who gets accounts

SAML and SCIM do different jobs. SAML handles sign-in: when a user opens Metabase, Okta confirms who they are and passes attributes and group information back. SCIM provisioning handles the account lifecycle: it creates, updates and deactivates Metabase user accounts based on what is assigned to the Okta app. SCIM is available only on the Pro or Enterprise plan, so a Starter or open source instance can use SAML sign-in, if its edition supports it, but it cannot rely on Okta to create or remove accounts. Confirm the current plan requirements on the Metabase pricing page before you design around them.

The first decision is whether accounts should be created just-in-time at first login or ahead of time through provisioning. Just-in-time is simpler to set up because the account appears the first time someone signs in, but it leaves no account to review until that happens and gives you less control over who holds an account before they use it. Provisioning creates accounts as soon as Okta assigns the user, so your access review can start from Okta's assignments. Choose one primary path and write down why. Deprovisioning follows the same logic: when a user is unassigned or deactivated in Okta, a provisioned account should be deactivated in Metabase, while a just-in-time account stops working only because sign-in is blocked. Test that removal explicitly, because a deactivated Okta user who still has an active Metabase account is the failure you most need to catch.

Both paths depend on group names matching. Group mappings tell Metabase which groups a person belongs to, and SCIM pushes group membership on its own schedule, so the names used in Okta, in the SAML attribute statement and in Metabase must be identical, including case and spelling. A mismatch can silently leave a user with fewer permissions than intended or with a group that no longer exists in Metabase. Before go-live, confirm the SCIM setup steps, the Okta-side provisioning settings and the attribute names against the Metabase docs for SAML with Okta and the documentation for the Metabase version you run.

Security controls to set when Okta signs people in

Single sign-on moves the front door of Metabase to Okta, so the controls that matter are the ones on both sides of that link. The cards below cover who can reach the app, how recovery works if Okta is unavailable, how the signing certificate stays valid, and how admin rights and departures are handled.

Restrict who can assign the app

Assignment in Okta decides who can sign in to Metabase at all. Limit the admin roles that can add users or groups to the Metabase app integration, and assign by group rather than by individual account. Review the assignment list on a fixed schedule and confirm that contractors and service accounts are not included by default. Check that a removed group also removes access in Okta, not only in Metabase.

Keep a documented break-glass login

If the Okta tenant, the certificate or the SAML configuration fails, people with no other way in are locked out of Metabase. Decide whether password logins stay enabled for a small set of named administrators, or keep one break-glass admin account with a stored, audited credential. Record who holds it, where the credential is kept and how its use is reported. Test the recovery path before you need it.

Rotate and monitor the signing certificate

Metabase trusts the signing certificate that Okta uses for SAML assertions, so an expired or replaced certificate stops sign-in for everyone. Record the certificate expiry date in your calendar or monitoring, and plan the rotation with a window for updating the Metabase SAML settings. Confirm the certificate that Metabase holds matches the one Okta currently publishes after each change. Ask Okta how it notifies admins before expiry.

Metabase Okta docs

Limit Metabase admin rights

Admin status in Metabase controls user management, database connections and permissions, so it should not follow every group that signs in. Map only a small Okta group to Metabase admin, and keep the group owned by a named team. Review its membership on a schedule. Note that SAML group mapping to Metabase groups is a Pro or Enterprise feature, so confirm your plan before designing the mapping.

Test deprovisioning when people leave

Removing someone in Okta should end their Metabase access, but a SAML login alone does not always remove an existing Metabase session or account. Test with a disposable user: unassign the app, remove the group, then confirm sign-in fails and check whether the account is deactivated. Record which steps need a manual action in Metabase. If you pair the setup with SCIM provisioning, test that deactivation flows through it.

Log sign-ins and admin changes

Sign-in and admin activity should be traceable in both Okta and Metabase. Okta system logs record app sign-ins and assignment changes, and Metabase usage analytics and auditing are included only on the Pro and Enterprise plans, not Open Source or Starter. Confirm which events you need to retain, where they are forwarded and who reviews them. Check the retention settings in each system against your access review cycle.

Testing the integration by scenario

Start with a test account that has never signed in to this Metabase instance and is assigned to the Okta app. This scenario checks that the first SAML sign-in creates a Metabase account, carries over the name and email from the assertion, and applies group membership from the group mappings. Use a dedicated test identity, not an employee's own account.

  • Expected result: the user reaches Metabase after Okta authenticates them, and a new active entry appears in the People list.
  • Group membership: the user belongs only to the Metabase groups their Okta groups map to, which you can confirm in the user's details.
  • Evidence to keep: a screenshot of the People entry showing name, email and groups, plus the Okta System Log event for the sign-in.
  • Repeat sign-in: a second sign-in should reuse the same account, so confirm no duplicate entry appears.
  • Unassigned control: a test user not assigned to the app should be stopped at Okta before reaching Metabase.

Before moving on, confirm that the account was created once and that the evidence set is complete for the change record.

Common failures when Okta and Metabase disagree

This table maps the symptoms most often seen when Okta and Metabase fail to agree during SAML sign-in to the likely cause and the setup step that corrects it. Start with the symptom you see, check the cause against your own configuration, and then return to the named step to confirm the fix before retesting a sign-in.

SymptomLikely causeFix
Okta shows a SAML error after sign-in, or Metabase rejects the assertion as not intended for itAudience URI (entity ID) in the Okta app does not match the value Metabase expects in Admin > Settings > Authentication > SAMLCopy the Metabase value exactly, including scheme and trailing characters, into the Okta audience field, then retest
Sign-in loops back to the login page or the assertion consumer service rejects the responseACS URL in the Okta app points to a different host, path or protocol than the Metabase site URLSet the single sign-on URL in Okta to the ACS URL Metabase displays, and confirm the Metabase site URL uses HTTPS
Sign-in fails with a signature or certificate error after it previously workedThe Okta signing certificate rotated and Metabase still holds the old certificateDownload the current signing certificate or metadata from the Okta app and re-upload it in the Metabase SAML settings
User signs in but Metabase cannot read the email or nameAttribute statement is missing or misspelled, or its name format does not match what Metabase readsRecheck the attribute statements in the Okta app and match the names and format to the Metabase SAML attribute mapping
User is in the right group in Okta but gets no Metabase group membershipGroup names differ in case, spelling or spacing between the Okta group and the Metabase mappingCompare the Okta group name character by character with the group mapping entry in Metabase, then correct one side to match
Okta returns an access denied message or the user never reaches MetabaseUser or their group is not assigned to the Okta SAML appAssign the user or a group containing them to the app in Okta, then sign in again in a private browser window
User signs in as a new account instead of their existing Metabase userEmail address in Okta differs from the email on the existing Metabase accountAlign the Okta profile email with the Metabase account email, or plan how existing accounts will be matched before rollout
Settings page shows SAML options are unavailable or sign-in still uses the local databaseMetabase still runs the embedded H2 application database, or the plan does not include SAMLConfirm the plan includes SAML, then migrate the application database to PostgreSQL or MySQL before enabling SSO for users

Questions teams ask before connecting Metabase to Okta

How much does it cost to use SAML SSO with Metabase and Okta?

SAML SSO requires a Pro or Enterprise plan, so the license is the largest recurring cost. Metabase's pricing page lists Pro at $575 per month, or $517.50 per month billed yearly, with the first 10 users included and additional users at $12 per month. Enterprise is priced by quote starting at $20,000 per year. Okta is a separate subscription that your organization already pays for or will pay for, and any Okta SCIM provisioning scope adds to that cost. Ask Metabase for a written quote that matches your user count and plan, and ask your Okta account team which licenses your org needs for the apps and provisioning you plan to use.

Does SAML work on the free Metabase plan?

No. SAML is not available on the Open Source plan or on Starter. According to Metabase's pricing page, SSO is included only in the Pro and Enterprise plans. The Open Source and Starter plans support Google sign-in and LDAP, so a team on the free edition that wants Okta sign-in would need to upgrade first or use a different login method. Confirm the current plan details on Metabase's pricing page before you commit, because plan contents can change between releases.

How long does a Metabase and Okta SAML setup take?

The duration depends on the number of groups you need to map, how your Okta org is already configured, and whether you also want SCIM provisioning. A single SAML login with a few group mappings is a small change, while a org with many groups, several Metabase instances, or existing custom attribute statements needs more design and testing time. SCIM adds user lifecycle work on top of login. Ask any partner for a timeline that is tied to a written scope with named groups, and confirm which of these items are in it.

What do the Okta and Metabase admins need to provide?

Your Okta admin needs access to create a SAML app integration and to set attribute statements and group filters. Your Metabase admin needs access to Admin > Settings > Authentication > SAML to paste the values Metabase generates and to configure group mappings. Both admins should agree on the Metabase group names, the Okta group names that map to them, and who approves changes. Someone should also confirm which Metabase instance URL and login domain users will use, because those values are part of the Okta app configuration.

Can our internal team set up Metabase with Okta on its own?

Yes, if your team has an admin who knows Okta app integrations and a Metabase administrator who can manage the application database and settings. Metabase's Okta guide walks through creating the SAML app integration from values in the Metabase admin settings, plus optional group mappings. The harder parts are usually the group design, testing with real users in a non-production instance, and rollback planning for lockouts. Teams without Okta experience or without a test instance often find it worthwhile to have an outside engineer review the configuration.

What does a fixed-scope DeployOpen engagement include for this setup?

DeployOpen works from a written scope that is agreed before work starts. For this topic, a typical scope covers reviewing your Okta and Metabase configuration, creating or verifying the SAML app integration, defining attribute statements and group mappings, testing sign-in and group membership for representative users, and documenting the result. SCIM provisioning and the remaining admin tasks can be included or left out as the scope requires. Deliverables and timelines are listed in the written scope, so ask for that document to confirm exactly what is covered.

What breaks most often in a Metabase and Okta SAML setup?

The most common problems are mismatched values between the Okta app and Metabase's SAML settings, attribute names that do not match what Metabase expects, and group claims that do not contain the names used in the mapping. Users can also be locked out when the mapped groups are missing or when an account exists with a different login method. Test with a non-admin account before enforcing SSO, keep one local admin path available, and check the SAML settings page after each change. Metabase's Okta documentation is the next read for the exact values.

How DeployOpen scopes and delivers Okta SSO for Metabase

DeployOpen plans and implements self-hosted Metabase inside your own infrastructure, including the Okta SAML connection, its attribute statements and group mapping. The work is agreed as a fixed scope, built in a test environment, verified with your identity team, and handed over with documentation your operators can run.

How we scope

  • Confirm your Okta edition, Metabase edition and plan, and whether the SAML feature is available to your instance before work starts.
  • Agree which Okta groups map to which Metabase groups, and who approves changes to that mapping.
  • Record in the written scope whether SCIM provisioning is included, and which user lifecycle events it must cover.
  • Define test users, sign-in scenarios and acceptance checks in writing, so both teams know when the work is complete.

How we build

  • Create the Okta SAML app integration and set the Metabase SAML values in a non-production Metabase instance first.
  • Configure attribute statements and group claims, then check what Metabase receives for a sample user.
  • Build the group mapping rules in staged steps, testing each mapping against accounts with known group membership.
  • Test sign-in, sign-out, unassigned users and removed group memberships, and record the results for your review.

How we hand over

  • Deliver a configuration record covering the Okta app settings, Metabase SAML settings, attribute names and group mappings.
  • Document the steps to add a group mapping, remove one safely and roll back a failed change.
  • Run a handover session with your identity and Metabase administrators, and walk through the troubleshooting checklist together.
  • Provide a list of open items, such as settings that only your Okta or Metabase administrators can confirm.

How we support

  • Support after handover can be provided as a retainer, covering Okta changes, Metabase upgrades and retesting of the SSO path.
  • Retesting follows Metabase upgrades and Okta configuration changes, so group mapping keeps working as both platforms change.
  • Ask for the retainer terms, response expectations and change handling to be written into the quote before work starts.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.