Overview
Before using this document, read the general Mixpanel SSO set-up instructions. You have two setup options to use Single Sign-On (SSO) for Mixpanel through Google Workspace IDP: A. For most use cases, you can use the Mixpanel app within Google Workspace’s app store. B. If you have a custom setup, follow Google Workspace’s documentation on setting up a new application to create a custom Mixpanel app.Configure SSO in Mixpanel
Follow the general SSO set-up instructions. Make sure to collect your postback URL and successfully claim your domain.Configure the Mixpanel App in Google Workspace
A. Use the Mixpanel app within Google Workspace’s app store, or B. Follow Google Workspace’s documentation on setting up a new application to create a custom Mixpanel app.Configure SAML
A. If you use the Mixpanel app from the store, the following SAML configuration is already built into the app.- ACS URL: https://sso.mixpanel.com/sso/saml2
- Entity ID: https://mixpanel.com/security/sso/v2/authorize/
- Start URL: https://mixpanel.com/security/sso/v2/authorize/?org_id=YOUR_ORG_ID
email as an attribute statement; other attributes we recommend include firstName and lastName.
Obtain Information From Google Workspace
To configure Mixpanel use with Google Workspace, you must first obtain your Public Certificate, SSO URL, and Entity ID. To access this information, access the Mixpanel app in Google Workspace (or create a custom app) first select DOWNLOAD METADATA. Then, grab the SSO URL and Entity ID as well as the certificate to upload in Mixpanel (we recommend adding the expiration date to the file name to make it easier to manage in Mixpanel).Enable SSO
From Mixpanel, navigate to your Organization Settings and then the Access Security tab. From the 2FA & SSO menu, upload your Public Certificate and add your SSO URL and Entity ID to the Identity Provider Sign-In URL and Issuer URL, respectively.Troubleshooting
- If a Mixpanel account has already been created with the Google Workspace user’s email (their Google Workspace Username) and that account is not a member of your Mixpanel organization, provisioning setup for that Google Workspace user will fail. To resolve this, manually invite the existing user to your organization.
- Provisioning will also fail if the domain of the user’s email has not been claimed by your organization. To resolve this, manually invite the existing user to your organization.
- If seeing the “Error 403: app_not_configured” message when trying to log in, please follow these instructions to grant the necessary permissions to the user’s account.