How Metabase SAML SSO with Google Workspace works on a paid plan
A team that wants staff to sign into a self-hosted Metabase with their Google Workspace accounts, under central control of access and offboarding, needs to know first which option fits. SAML through a custom SAML app in the Google admin console is a paid feature: according to Metabase's pricing page, SSO is included only in the Pro and Enterprise plans, and the SAML setups for Google are part of that tier. Google sign-in is a different option that works on any plan, including Open Source and Starter, but it is not the same mechanism and does not give you the same control over who can authenticate and how groups are passed. Decide which of the two you need before you install anything, because the choice changes your license cost and your identity configuration.
Metabase's Google SAML guide describes the sequence. You create a custom SAML app in the Google admin console, download the identity provider metadata and certificate from Google, copy the SSO URL that Google generates, and then configure attribute mappings so that Metabase receives the user's email and name in the form it expects. Each of these steps has a consequence. The certificate must be the one Google currently uses for signing, so a rotated certificate that is not updated in Metabase will cause sign-in failures. The attribute mappings determine how accounts are matched to existing Metabase users, so a mismatch in the email attribute can create duplicate accounts or lock people out. Confirm the exact field names and the current admin console steps against the Metabase guide, since Google changes its console layout over time.
Plan the rollout before you touch production. Confirm your Metabase plan and user count using the pricing page, confirm who in your Google Workspace will administer the custom app, and decide how group membership will reach Metabase, since group mapping is a separate step covered elsewhere in this guide. Test with a small set of accounts on a non-production Metabase instance, and keep at least one local administrator account working so that an SSO misconfiguration does not remove everyone's access. Record the certificate expiry date and the owner of the SAML app so that renewal is not forgotten.
Choosing between Google Sign-In and a custom SAML app
Metabase offers two ways to use Google accounts, and they differ in plan, in who creates accounts and in how groups reach Metabase. Read the cards in order to decide which fits your plan and your administration model before you open the Google admin console.
Plan requirements for each option
Google sign-in is available on the open source and Starter plans, so it needs no paid tier. A custom SAML app is part of SSO, which the pricing page lists only for Pro and Enterprise. Confirm current feature availability on the pricing page before you commit, because plan contents can change between releases.
Metabase pricingWho creates and disables accounts
With Google sign-in, people create their own Metabase account when their domain is on the allowed list, so you must manage access through permissions and deactivation. With SAML, Metabase trusts Google's assertion, but accounts still exist in Metabase unless you add provisioning. Decide who owns the joiner and leaver process before you choose.
Group handling and attribute mapping
Google sign-in does not carry group membership into Metabase, so group-based permissions must be assigned by hand. The SAML path depends on attribute mappings from the custom app, which you must configure so that Metabase receives the user's email and any group values you plan to map. Plan the attribute names before you configure either side.
SCIM and advanced group sync
SCIM provisioning and advanced group sync require Pro or Enterprise, so they are not available with Google sign-in on a free or Starter instance. If you need automatic creation and removal of accounts, budget for a paid plan from the start. Ask your Metabase contact to confirm which provisioning method applies to your plan.
What each option requires from the admin
Google sign-in needs an OAuth client ID and an allowed domain list, which you maintain as your domains change. The SAML path needs the custom app in the Google admin console, the IdP metadata and certificate, the SSO URL and the attribute mappings, plus a renewal plan for the signing certificate. Compare the effort of each before assigning owners.
SAML with Google docsChoosing the right path
Choose Google sign-in when your instance runs on a free or Starter plan, your user base is small, and manual group assignment is acceptable. Choose the custom SAML app when you run Pro or Enterprise and need centralized control over sessions, group membership and account lifecycle. Document the decision so auditors can trace who controls access.
Configuring the Google Workspace SAML app for Metabase
This sequence moves from the Metabase admin settings to a working Google Workspace SAML login, with a check at each stage so you know the app, the attribute mappings and the account provisioning all behave as expected before you rely on them. It is written for a Google Workspace super admin working alongside a Metabase administrator on a paid plan that includes SSO.
Confirm the plan and open the Metabase SAML settings
Before anything is configured in Google, confirm that your Metabase instance runs Pro or Enterprise, because SAML is not available on Open Source or Starter. A Metabase admin signs in, opens the admin settings, and turns on the SAML option so the service provider values Metabase displays become available to copy. Keep this browser tab open, since the entity ID and ACS URL shown here are needed in a later step. Check: the SAML section shows the Metabase values and is not greyed out or marked as requiring an upgrade.
Create a custom SAML app in Google admin
A Google Workspace super admin opens the Google admin console and adds a custom SAML app under the apps section, giving it a name that staff will recognize, such as Metabase. Google will display its own SSO URL, entity ID and certificate at this point. Leave this window open because the next steps depend on the values Google generates. Check: the app appears in the list of web and mobile apps with status set to on for the organization or for the test group you plan to use.
Download the IdP metadata and certificate
From the new SAML app's setup page, the admin downloads the identity provider metadata and the signing certificate that Google provides. Save both files in a location your Metabase administrator can reach, and record the SSO URL and entity ID that Google displays. Metabase's guide for Google describes this exact set of values, and you will paste them into Metabase in a later step. Check: the metadata file opens as XML and the certificate file is readable, with the SSO URL and entity ID written down.
Set the entity ID and ACS URL from Metabase
Return to the Google SAML app's service provider details and enter the entity ID and Assertion Consumer Service (ACS) URL exactly as Metabase displays them in the SAML settings. A mismatch in either value is one of the most common reasons a SAML login fails, so copy them rather than retyping. Then save the Google app configuration. Check: the service provider details in Google show the same entity ID and ACS URL as Metabase, character for character, and the save completes without an error.
Configure attribute mappings for name and email
In the Google SAML app, add attribute mappings so the assertion sends the user's primary email address and their first and last name in the attribute names that Metabase expects. Metabase's SAML guide for Google lists these attribute names, so confirm them against the current documentation before saving. If you plan to map groups later, decide now whether a group attribute will be sent, since the group mapping is set up separately. Check: the attribute mapping table lists the email, first name and last name entries, and the names match the Metabase documentation.
Assign a non-admin test user and run a login
Turn the app on for a small test group or organizational unit that contains a standard, non-admin user, then assign that user to the app. Ask a Metabase administrator to enable SAML in the Metabase settings and paste the IdP metadata details, SSO URL and certificate from Google. Then have the test user open the Metabase sign-in page, choose the SAML sign-in option, and authenticate through Google. Check: the login completes, and Metabase creates or updates the account with the expected first name, last name and email address, and the user lands in the application without being an admin.
Verify account details and widen the rollout
Review the account created for the test user in the Metabase People section and confirm its name, email address and active status match the Google profile. Repeat the test with a second non-admin user from a different department to confirm the mapping holds across accounts. Once both checks pass, record the configuration values and their owners, then extend the Google app assignment to the wider group in stages. Check: both test accounts show the correct details in Metabase, and the rollout group in Google is documented with an owner who can update the settings later.
Mapping Google Workspace attributes to Metabase user fields
This table compares each identity field Google sends in the SAML assertion with the Metabase user field or group it feeds. Read the Google column as the value to confirm in the custom SAML app, and the Metabase column as where it lands. The main takeaway is that email must match exactly across both systems, and group membership is a design decision that depends on your plan.
| Item | Google Workspace side | Metabase side | Must match exactly? |
|---|---|---|---|
| User identity | Primary email address of the Google user, mapped as the SAML NameID or an email attribute | Email address of the Metabase user, used to match or create the account on first login | Yes, case and domain must agree |
| First name | Given name attribute mapped from the Google user profile | First name field on the Metabase user record | No, but keep it consistent for readability |
| Last name | Family name attribute mapped from the Google user profile | Last name field on the Metabase user record | No, but keep it consistent for readability |
| Attribute names | Names chosen in the attribute mapping of the custom SAML app | Names Metabase reads from the assertion, set in the SAML settings | Yes, confirm exact names in both docs during the build |
| Group membership on Pro or Enterprise | Google groups added as a group attribute in the SAML app mapping, if you use that option | Metabase groups synced from the SAML group attribute, with mapping rules set in admin settings | Yes, group names must agree with the mapping rules |
| Group membership on other plans | Google groups kept for reference only, since they are not passed to Metabase | Metabase groups assigned by an administrator by hand | Not applicable, membership is managed manually |
| Admin and user roles | No Metabase role is sent unless you configure a custom attribute for it | Administrator status is set in Metabase, and sync may not change it, so confirm the behavior | Not applicable |
What changes for admins and users when SAML replaces password logins
Once SAML is live, users sign in through Google Workspace and no longer choose a Metabase password. Whether someone can get into Metabase depends on two things: their Google account state (active, suspended or deleted) and how Metabase is set to create and retire accounts. Confirm with your own configuration whether new users are created on first SAML sign-in and whether group membership is refreshed on each login. Those settings decide what happens to a new hire on day one and to a leaver on day one hundred, so write them down before go-live rather than assuming Metabase mirrors Google.
Existing local password accounts need a deliberate decision before you enforce SAML. Keep at least one or two named administrator accounts with a working local password and multi-factor authentication recorded in your break-glass runbook, so an outage at Google or a misconfigured SAML certificate does not lock every administrator out. Store those credentials in your secrets manager, test the break-glass login on the target version, and disable the password logins that no longer need to exist. Decide who may use the break-glass path, how its use is logged and who reviews it.
Offboarding is where SAML most often fails in practice. Suspending the Google account stops new Google sign-ins, but it does not by itself prove that an existing Metabase session, API key or local password on a legacy account has stopped working. Test it with a disposable test user: sign in, suspend the account in the Google admin console, then confirm that the next Metabase request is refused and that API keys tied to that user are revoked or disabled. Repeat the check after any change to session settings or the identity mapping. Record the result as evidence for your access review, because an assumed offboarding path is not evidence.
Security controls to set for Google SAML in Metabase
Once SAML is working, the security posture depends on a few controls around it: who holds admin rights, how the instance recovers if the identity provider fails, how the IdP certificate is handled and how the site is served. Review these together before users are moved onto SSO, because each one changes what happens if something goes wrong.
Limit who can be a Metabase admin
Admin status in Metabase is independent of the Google account's own privileges, so anyone promoted to admin can change SSO settings, user access and group mappings. Keep the admin group short, name the people who hold it, and review it on a fixed schedule. Confirm in your own test instance which settings an admin can change, because that list determines who needs the strictest controls on their Google account.
Keep a tested admin path
If the Google SAML app is misconfigured or Google is unavailable, users who depend only on SSO cannot sign in. Keep at least one named administrator account that can still log in, and store its credentials in your privileged access process. Test that path before go-live and after each SAML change, not only when an outage happens.
Handle the IdP certificate and metadata
The certificate and metadata downloaded from the Google admin console are trust material: anyone who can replace them can change where Metabase sends sign-in trust. Store them under change control, record who uploaded them and when, and confirm the certificate expiry date in your calendar. Ask your Google administrator how certificate rotation is announced so the Metabase setting can be updated before it lapses.
Serve Metabase only over HTTPS
SAML responses carry identity assertions, so the Metabase site URL and the ACS endpoint must be served over HTTPS with a valid certificate. Set the Metabase site URL to the exact HTTPS address users open, and confirm the reverse proxy forwards the original host and protocol. Mismatched URLs are a common cause of failed sign-ins and can hide a plain HTTP exposure.
Review password accounts that remain
SSO does not switch off local passwords. Accounts created before SAML, service accounts and any break-glass admin may still sign in with a password, so they fall outside the Google policy. Decide which accounts keep password login, then apply two-factor authentication and session rules to them. The related hub topics on two-factor authentication and session timeouts cover the settings without repeating them here.
Common Google SAML failures and how to fix them
This table lists the failures teams most often hit when wiring Metabase to a custom SAML app in Google Workspace, with the likely cause and fix for each. Read it when a login fails, after a certificate change, or when a user lands with the wrong profile. Confirm exact field names and values against the Metabase SAML with Google guide before changing anything in production.
| Failure | Likely cause | Fix and where to confirm |
|---|---|---|
| Sign-in fails with a mismatch error | ACS URL or entity ID in the Google SAML app does not exactly match what Metabase expects | Copy the ACS URL and entity ID from the Metabase SAML settings into the Google app, character for character, including the protocol and path. Confirm both values in the Metabase SAML with Google guide. |
| Login fails after a certificate change | Google rotated or you replaced the signing certificate, but Metabase still holds the old one | Download the current IdP certificate from the Google app and update it in Metabase. Confirm the certificate and metadata steps in the Metabase SAML with Google guide. |
| User sees an access denied page after authenticating | The user is not turned on for the SAML app in Google, or is outside the organizational unit where the app is enabled | Check the app's user access setting in the Google admin console and confirm the user's organizational unit. Test with a known user before wider rollout. |
| Attributes are missing or unmapped | Attribute names in the Google attribute mapping do not match the names Metabase reads, such as email and first and last name | Align the attribute names on both sides using the mapping table in the Metabase guide. Check the SAML response in a test login to see which names arrive. |
| Accounts created with wrong names or emails | The email or name attribute points to a Google field with a different value, such as a primary alias or display name | Map the email attribute to the primary address Metabase should use for matching, then correct existing accounts in Metabase. Confirm the field choices in the Metabase SAML with Google guide. |
| Login loop behind a reverse proxy | The Metabase site URL is set to an internal address or http, so redirects and cookies do not match the public URL | Set the site URL in Metabase admin settings to the public HTTPS address, and forward the original host and protocol headers at the proxy. Confirm proxy settings with your deployment team and the Metabase guide. |
| Admins locked out after SAML is enabled | SAML was enforced before a local admin login was tested, or the only admin account is tied to a user that cannot sign in through Google | Keep a tested local admin account before turning on SAML, and record where its recovery steps live. If you are locked out, restore access through the database or your documented break-glass procedure. |
Questions teams ask before setting up Google SAML for Metabase
Is Google Sign-In enough for Metabase, or do we need SAML?
Google Sign-In is enough when people only need to log in with their Google accounts and you accept its default account model. SAML is the choice when you need the Metabase group membership and attribute handling that a custom SAML app provides. Per Metabase's plan documentation, Google sign-in is available on the open source and Starter plans, while SAML requires Pro or Enterprise. Decide first whether group-based access to collections and data must follow your Google organization structure. If it must, plan for SAML. If a flat set of accounts is acceptable, Google Sign-In on a lower plan may meet the need. Confirm the exact feature split against the current plan comparison before you commit.
Which Metabase plan do we need for SAML with Google Workspace?
SAML single sign-on requires the Pro or Enterprise plan. Metabase's pricing page lists Pro at a monthly price per month billed monthly with the first 10 users included, and additional users billed per month beyond that. Enterprise is priced by quote, starting at $20,000 per year. Check the current figures on the Metabase pricing page before budgeting, because plan terms change. Ask for a written quote that states the user count, billing period and what is included, so you can compare it with the cost of running Google Sign-In on a lower plan.
How long does Google SAML setup take for Metabase?
Duration depends mostly on how well attributes and groups are designed before configuration starts. The technical steps are short: create a custom SAML app in the Google admin console, download the IdP metadata and certificate, copy the SSO URL, and configure attribute mappings in Metabase. The time goes into deciding which Google groups map to which Metabase groups, agreeing on the email and name attributes, and testing with real accounts across roles. A simple one-group model moves quickly. A model with many departments, nested groups and exceptions takes longer. Ask any vendor to give a timeline only after they have reviewed your group structure in writing.
What must our team provide before a Google SAML setup starts?
You need four things ready before work begins. First, Google Workspace super admin or delegated access that can create custom SAML apps and manage group membership. Second, a named owner in IT or security who approves attribute and group mapping decisions. Third, a Metabase administrator who can access the instance and its settings. Fourth, a set of test users covering each role you plan to map, including at least one user who should be denied access. Also confirm the Metabase URL and TLS setup, since the SAML app needs stable callback addresses. Writing these down in the scope document prevents delays during testing.
Can an internal admin set up Google SAML for Metabase alone?
An experienced internal administrator can often complete the configuration alone if they have Google admin rights, Metabase admin access and time to test. The steps are documented in Metabase's SAML guide for Google. The risk comes from the decisions around them: group mapping rules, handling of users who leave, and how a failed login is diagnosed without locking out administrators. Keep at least one local admin account working during testing. Involve security or identity owners for sign-off, even if one person does the clicks. If nobody on the team has run SAML before, a partner review can shorten the learning curve.
When is it worth bringing in a partner for Metabase SAML?
Bring in a partner when the identity design is complex, the deadline is fixed, or the in-house team lacks SAML or Metabase experience. Typical triggers include multiple Google organizations, group sync that must match an existing access review process, regulated data where access evidence is required, or a need to test SAML failures before go-live. DeployOpen plans and implements self-hosted open-source platforms in your own infrastructure, and it prepares systems and evidence for compliance assessments, but it does not issue audit reports. Ask for a fixed scope in writing, with deliverables, test cases and handover steps, before work starts.
How do we handle SAML certificate rotation and ongoing maintenance?
Treat the Google SAML certificate as a managed credential with an owner and a calendar reminder. When Google issues a new certificate or you rotate it, download the updated IdP metadata and certificate and update the Metabase SAML settings in a controlled window, then test with a non-admin account. Record who performed the change and when. Also review group mappings whenever Google groups are renamed or people change roles, and re-test login after Metabase upgrades. Ask any implementation partner whether the handover includes a rotation runbook, and whether ongoing support is a one-time handover or a retainer.
How DeployOpen scopes and delivers Metabase SSO with Google Workspace
DeployOpen treats Metabase SAML SSO with Google Workspace as a fixed-scope integration with a written list of users, groups, Metabase plan and test cases agreed before work starts. We build the custom SAML app, configure attribute mapping and verify sign-in and group behavior in your own Metabase instance, then document what your team needs to run it.
How we scope
- Confirm the Metabase edition and plan, since SAML requires Pro or Enterprise rather than open source or Starter.
- Confirm the Google Workspace edition, admin access and which organizational units will sign in to Metabase.
- Agree in writing which attributes and groups Metabase must receive, and whether group mapping is in or out of scope.
How we build
- Create the custom SAML app in the Google admin console and download the IdP metadata and certificate.
- Copy the SSO URL and configure attribute mappings in Metabase's SAML settings, following Metabase's Google setup guide.
- Test sign-in with a pilot set of accounts, including a user outside the expected group, to confirm access is refused.
How we hand over
- Deliver a written configuration record covering the Google app settings, certificate location and Metabase SAML values.
- Document the certificate renewal date, the owner of the Google app and the steps to rotate the signing certificate.
- Walk your identity and Metabase administrators through sign-in testing, fallback admin access and the rollback plan.
How we support
- Retest sign-in after Metabase upgrades, Google Workspace changes or certificate rotation, as agreed in the scope.
- Ongoing support, upgrades and continuous testing are available as a retainer if your team wants them handled externally.
- Ask any partner for the written scope, the named deliverables and the acceptance tests before signing.

