Google Sign-In for Metabase single sign-on on any plan
Google Sign-In is available on the open source and Starter plans of self-hosted Metabase, so you can let staff sign in with their Google accounts without buying Pro or Enterprise. The integration relies on a Google API Client ID that you create in Google Cloud and tie to your Metabase URL by listing that URL as an authorized JavaScript origin. Because the client ID is bound to a specific origin, a change of hostname, reverse proxy or domain means revisiting the Google configuration, so settle the final public address before you start. Confirm the current steps for creating the OAuth client in Google's console and the exact fields it asks for, since Google changes its console layout over time, and follow the setup in the Metabase Google Sign-In documentation.
The trade-off is what this option does not give you. Google Sign-In authenticates people with Google accounts and signs them in, but it does not provide the directory-driven controls of the SAML and OIDC options, which require a Pro or Enterprise plan. Group mapping, SSO-based embedding, and SCIM provisioning all sit on that paid side, so access decisions under Google Sign-In are made inside Metabase rather than pushed from your identity provider. If your security review expects centrally managed groups or automatic deprovisioning, confirm that requirement early. Organizations that run Google Workspace and want the identity provider to drive Metabase access should consider the separate SAML setup for Google Workspace on a paid plan, which covers that path.
What you need before you create the Google client ID
Google Sign-In for Metabase depends on a few inputs that sit outside the Metabase server itself: a Google Cloud project, the right to create OAuth credentials, a stable public address and a known plan. Settle these first, because the Metabase URL you register with Google must match the address users actually open.
A Google Cloud project you control
Create or confirm a Google Cloud project owned by your organization rather than by an individual's personal account. The OAuth client ID will live in this project, so its ownership, billing and access settings outlive any single administrator. Confirm with your Google Workspace or Cloud administrator which project is the approved home for identity configuration and who can change it.
Metabase Google Sign-In docsPermission to create OAuth credentials
Someone must hold a role in the project that allows creating OAuth clients and editing consent configuration. Confirm the exact role names and where the credential screens sit with Google's current documentation, since Google Cloud console menu names change. Agree in advance who will hold the client secret and client ID and where they are recorded.
A stable public HTTPS address
The Metabase URL must be the address people use every day, served over HTTPS with a certificate that browsers trust. A changed hostname, a new reverse proxy path or an internal-only name will break sign-in until the Google configuration is updated. Decide the final hostname before creating the client ID, and plan how you will handle a future move.
The Metabase URL as an authorized JavaScript origin
Google Sign-In requires the Metabase URL to be registered as an authorized JavaScript origin on the OAuth client. Enter the scheme and host exactly as users see them, with no path and no trailing slash, and keep a separate entry for each environment such as test and production. A mismatch between this entry and the live address is the most common reason the sign-in button fails.
The plan your instance runs on
Google sign-in is available on the open source edition and on paid plans, but on paid plans each active account is charged. Confirm which plan the instance runs on and how many people will sign in, since that determines the billing you should expect. Ask your Metabase account contact or check the pricing page before rollout so finance is not surprised by the first invoice.
Metabase pricingConfiguring Google Sign-In step by step
This sequence takes a self-hosted Metabase from password-only logins to Google sign-in for chosen domains, with each step closed by a check you can repeat. It works on any plan, and the paid-plan billing for active accounts should be confirmed before you roll it out to everyone.
Select or create the Google Cloud project
Your cloud or identity administrator selects an existing Google Cloud project owned by your organization, or creates a new one dedicated to sign-in for Metabase. Keep the project under the same administrators who manage your other identity settings so that access reviews cover it. The step is done when the project name and ID are recorded in your change ticket and you can open it in the Google Cloud console with an account that has the required permissions.
Configure the OAuth consent screen
In the project, open the OAuth consent screen and set the application name, support contact and the user type that matches your setup, such as internal for a Google Workspace organization. Add only the scopes that Metabase's Google sign-in documentation requires, and do not request more. The step is done when the consent screen shows a saved configuration with a named support contact that your security team has reviewed.
Create a web application OAuth client ID
Under credentials, create an OAuth client ID with the application type set to web application, and give it a name that identifies the Metabase instance it serves. Copy the generated client ID into your secure notes, since you will paste it into Metabase in a later step. The step is done when the client ID is listed in the credentials page with the web application type shown.
Add the Metabase URL as an authorized JavaScript origin
Edit the client ID and add the exact URL that users type into their browser to reach Metabase as an authorized JavaScript origin, including the scheme and any non-default port. Match the hostname to your reverse proxy or load balancer address, not an internal container name. The step is done when the saved client shows the origin exactly as users see it, and a browser can load the Metabase login page from that address without a certificate warning.
Enter the client ID in Metabase admin settings
Sign in to Metabase as an administrator, open the admin settings, and find the authentication section for Google sign-in. Paste the client ID and save. The step is done when the Google sign-in option appears on the Metabase login page, and the saved setting reads back the same client ID you copied from Google.
Set allowed domains for self-service accounts
In the same Google sign-in settings, list the email domains that may create accounts on first sign-in, such as your corporate domain. Leave the list empty only if you have decided that any Google account allowed by the consent screen may create an account, and record that decision. The step is done when the domain list matches your access policy and a sample address from an unlisted domain is refused.
Test with one account per domain
Open a private browser window, sign in with Google using one test account from each allowed domain, and confirm the Metabase home page loads. Then open the People list in the Metabase admin area and confirm that each test account exists with the expected email and group membership. The step is done when every test account signs in successfully, an account from an unlisted domain is refused, and the new accounts appear in the people list.
Confirm billing for active accounts before rollout
Before you announce the change, confirm with Metabase how active accounts are counted on your plan, since Metabase notes that each active account is charged on paid plans. Ask your procurement or finance contact to record the expected count in the quote. The step is done when the billing model is written down and the number of accounts that will sign in with Google is agreed with the business owner.
How a Google login reaches your Metabase instance
The flow starts on the Metabase login page in the user's browser, which asks Google to sign the user in using your OAuth client ID. Google returns an identity token to the browser only when the page is served from an authorized JavaScript origin, so the origin must match the Metabase URL exactly. The browser then passes that token to your self-hosted Metabase, which checks the account's domain against the allowed domains setting before it creates or matches the user. Check the origin and the domain list first when a login fails.
Trust boundary between Google and your Metabase, with the origin and domain checks.
How Google identities map to Metabase accounts
This table compares what the Google sign-in path supplies to Metabase with what an administrator still has to set by hand. Read it before rollout to see which account attributes drive access and which permissions stay under admin control. The main takeaway is that a successful Google login creates an account, but it does not decide the group and role assignments that govern what that person can see.
| Attribute or decision | What Google sign-in provides | What the administrator sets |
|---|---|---|
| Email address | Used as the login identity and matched against the Metabase user record on each sign-in | Confirm that the address format matches how people log in to Google Workspace or other accounts |
| Email domain | Checked against the allowed domains list when a new self-service account is created | Add only the domains the organization owns and controls, and review the list when domains change |
| Name fields | Copied into the user profile on first login in the version you run | Confirm which profile fields Metabase stores after first login in your version before relying on them |
| Group membership | Not supplied from Google through this sign-in path | Assign people to Metabase groups manually, because group mapping from identity provider groups requires Pro or Enterprise |
| Admin role | Does not grant or remove the admin flag | Decide admin access separately and review it after each new account is created |
| Data permissions | Not derived from the Google account | Set collection and data permissions per group; these control what each person can query |
| Deactivated users | A disabled Google account does not automatically deactivate the Metabase user | Plan a regular review of accounts and deactivate people who leave the organization |
Who pays for active accounts on paid plans
On paid plans, Metabase notes that each active account is charged when people sign in with Google. The billing question is therefore not how many accounts exist in your instance but how many people actually log in during the billing period. Count active users, not provisioned accounts, and ask Metabase to define what makes an account active before you budget. Inactive or deactivated accounts should be checked against the vendor's definition rather than assumed to be free.
The list prices on the Metabase pricing page give a starting reference. Starter is listed at $100 per month, or $90 per month billed yearly, with the first 5 users included and $6 per month for each additional user. Pro is listed at $575 per month, or $517.50 per month billed yearly, with the first 10 users included and $12 per month for each additional user. Illustratively, a Pro instance with 25 active users would be 15 users above the included allowance, so the additional-user charge would be calculated on those 15. Confirm whether the included users apply per instance, and whether the per-user rate is charged monthly even when billing is annual.
Before you commit to a plan, get written answers from Metabase on four points: how active accounts are counted, whether the included users reset each billing cycle, how the annual and monthly rates interact with mid-term additions, and whether any Google sign-in charge applies in addition to the plan price. Also decide who owns the count. A named admin who reviews active accounts each month will catch a spike from a new team or a shared login before the invoice does. Your identity team should also agree on how departing staff are deactivated, since a stale account can keep counting toward the bill.
Security settings that govern Google sign-in
Google sign-in is only as tight as the settings around it. The controls below decide who can create an account, which origins can start a sign-in, who can change the configuration and how long departed staff keep access. Review them together after any change to the Google client or the Metabase URL.
Restrict self-service sign-up to approved domains
With Google sign-in enabled, anyone with a Google account in an allowed domain can create a Metabase account on their own. Limit the allowed domains to the email domains your organization controls, and remove any consumer or partner domain you added for testing. Check the list after each change, because a single extra domain widens who can sign in. Confirm with your Metabase admin whether new accounts also need an admin to assign groups before they see data.
Google Sign-In docsKeep the authorized origin list minimal
The Google API client only accepts sign-in requests from origins listed as authorized JavaScript origins. Keep that list to the production Metabase URL and remove staging, preview and old hostnames once they are retired. An extra origin is a place where a copy of your instance could start issuing sign-in requests against your client ID. Review the list whenever the DNS name or reverse proxy changes.
Review who can change Google settings
Only Metabase admins can change the Google sign-in toggle, the client ID and the allowed domains. Keep the admin group short, and review its members on a fixed schedule. Confirm that changes to these settings are traceable to a named person, and that the admin group does not include shared or service accounts without an owner.
Limit password logins where policy requires
Google sign-in does not disable the email and password login form by itself. If your policy requires federated sign-in only, plan to turn off password logins and set up the session and password rules in the session timeout and password policy topic. Test the break-glass admin path before you do this, so that a Google outage or misconfiguration does not lock every administrator out.
Remove departed staff promptly
Google sign-in checks identity at the Google account, but a Metabase account remains active until an admin deactivates it. Remove or deactivate Metabase accounts when someone leaves, and do not rely only on suspending the Google Workspace user. Compare the active Metabase user list with your HR or directory export at a regular interval, and confirm that API keys or saved sessions tied to former staff are also revoked.
Use the audit view and plan for usage auditing
Review the people list and recent activity to see who has signed in and when. On Metabase's pricing page, usage analytics and auditing are included only in the Pro and Enterprise plans, not in Open Source or Starter. If your review requires a durable record of sign-ins and admin changes, confirm with Metabase which plan and log retention you need before you rely on the audit view.
Metabase pricingWhy Google sign-in fails and how to fix it
This table lists the failures administrators most often hit with Google Sign-In, the cause of each and the fix to apply. Check the OAuth client configuration and the Metabase logs first, then work through the row that matches the symptom.
| Symptom | Likely cause | Fix |
|---|---|---|
| Redirect or origin error on the Google sign-in button | The Metabase URL is missing from the OAuth client's authorized JavaScript origins, or it differs by scheme, host or port | Add the exact URL users open, including https and any non-standard port, to the authorized JavaScript origins, then retest in a private browser window |
| Sign-in works for some email domains but not others | The allowed domains setting in Metabase does not include the domain of the failing accounts | Review the allowed domains list in admin settings and add the domain only if the organization owns it and wants those users to self-register |
| A user account appears that nobody invited | Someone signed in with a personal Google account on a domain that was allowed for self-service accounts | Restrict allowed domains to your organization's own domains, review the user list regularly and deactivate accounts that should not exist |
| Unexpected charges on a paid plan | Each active account is billed on paid plans, so self-service sign-ups or dormant users increase the count | Confirm the billing basis in writing before enabling sign-in, audit active accounts on a schedule and deactivate users who leave |
| Login loop or account created with the wrong name or access | Account attributes come from Google and do not match what administrators expected for group or permission assignment | Assign groups and permissions after first sign-in and confirm the account details against your directory before granting access |
| Failure after a Metabase URL or domain change | The OAuth client still lists the old origin, so the new address is rejected | Add the new origin to the OAuth client, keep the old one until users have moved, then remove it |
Questions teams ask before they set up Google Sign-In
Does Google Sign-In work on the Metabase open source plan?
Yes. Metabase's pricing page and people and groups documentation list Google sign-in as available on the Open Source and Starter plans, so you do not need a paid plan to let people log in with their Google accounts. The setup still needs a Google API Client ID, and the Metabase URL must be added as an authorized JavaScript origin in the Google Cloud project. Confirm the current plan table on the pricing page before you commit, because plan contents can change between releases.
Does Google Sign-In require a paid Metabase plan?
The login itself does not, but billing can still apply. Metabase's Google Sign-In documentation notes that on paid plans each active account is charged. On the pricing page, Starter includes the first 5 users at $100 per month or $90 per month billed yearly, and Pro includes the first 10 users at $575 per month or $517.50 per month billed yearly, with additional users at $6 (Starter) or $12 (Pro) per month. Ask your Metabase representative how "active" is counted for your usage pattern, since that is the figure that moves your bill.
How long does Google Sign-In setup take?
The duration depends mostly on how quickly the right people approve and provide access, not on Metabase configuration itself. The work has three parts: creating the OAuth client ID in Google Cloud, setting the authorized JavaScript origin to your public Metabase URL, and configuring the allowed domains for self-service accounts. If your Google Cloud project, DNS and TLS certificate are already in place, the technical steps are short. Delays usually come from waiting on a Google Cloud owner, a stable hostname, or a decision on which email domains may self-register. Ask any partner for a written timeline tied to that scope.
What does our team need to supply before setup begins?
Three things should be ready. First, a Google Cloud owner who can create or manage an OAuth client ID and approve its settings. Second, a stable public URL for the Metabase instance, because the origin registered with Google must match it exactly. Third, a list of the email domains allowed to self-register, such as your company domain. Your team should also confirm who administers the Metabase instance and who will review the account list after go-live. Missing any of these is the most common reason a sign-in test fails on the first attempt.
Can our own team set up Google Sign-In without a partner?
Yes, if you have someone comfortable with Google Cloud project administration and Metabase admin settings. The configuration is limited: one OAuth client, one authorized origin, and one list of allowed domains. The risk lies in the decisions around it, such as who may self-register, how existing local accounts are handled, and how account billing is monitored on a paid plan. A partner is useful when you want those decisions documented, tested in a staging instance and reviewed against your access policy before users arrive. Either way, record the settings so they can be reproduced after an upgrade or a move.
Should we choose SAML or OIDC instead of Google Sign-In?
Choose SAML or OIDC when you need more than a Google login, such as group mapping, centrally managed deprovisioning or a corporate identity provider as the source of truth. Metabase's people and groups documentation places JWT, OIDC, SAML and advanced LDAP group sync, along with SCIM provisioning, on the Pro and Enterprise plans. Google Sign-In is a good fit when your workforce already lives in Google Workspace and you mainly need password-free login with domain restrictions. If group-based access to data is a requirement, compare the sibling guides for SAML with Google Workspace and OIDC before you decide.
What should we check after Google Sign-In is working?
Check that only the intended domains can create accounts, that existing local accounts still behave as your policy requires, and that the account list matches who should have access. On paid plans, review the active account count against your expected headcount, because that count drives the bill. Confirm the instance is served over HTTPS at the same URL registered with Google, and test sign-in from a user outside the allowed domains to confirm it is refused. Record the Google Cloud project and client settings in your change log so an upgrade or migration does not silently break logins.
How DeployOpen scopes and delivers Metabase Google sign-in
DeployOpen plans, builds and hands over Google Sign-In for a self-hosted Metabase inside your own infrastructure, with the OAuth client, allowed domains and billing position agreed before any change is made. Each engagement is fixed-scope, with deliverables and timelines confirmed in writing before work starts.
How we scope
- Confirm which Metabase plan you run, since Google Sign-In works on any plan but billing for active accounts applies on paid plans.
- Agree the Google Cloud project, the OAuth client ID and the Metabase URL to register as an authorized JavaScript origin.
- Document which email domains may self-register and which accounts must be created by an administrator.
How we build
- Create the Google API Client ID and register the production Metabase URL as an authorized JavaScript origin.
- Configure Google Sign-In in Metabase admin settings and set allowed domains for self-service account creation.
- Test sign-in with accounts from allowed and blocked domains, and check that existing password accounts still behave as planned.
How we hand over
- Deliver a written configuration record covering the client ID location, origins, allowed domains and admin owners.
- Walk your identity and platform teams through the sign-in flow, account creation rules and the billing effect of active users.
- Provide a rollback note describing how to re-enable password login if Google Sign-In must be turned off.
How we support
- Ongoing support, upgrades and continuous testing are available as a retainer after handover.
- Re-check the OAuth origin and allowed domains whenever the Metabase URL, domain or plan changes.
- Confirm with your team which Metabase upgrades need a sign-in retest before rollout to users.

