Mixpanel cloud application

You must be signed in as a super administrator for this task.

Using Security Assertion Markup Language (SAML), your users can use their Google Cloud credentials to sign in to enterprise-cloud applications.

Set up SSO via SAML for Mixpanel

Here's how to set up single sign-on (SSO) via SAML for the Mixpanel application.

Step 1: Get Google identity provider (IdP) information
  1. Sign in to your Google Admin console.

    Sign in using an account with super administrator privileges (does not end in @gmail.com).

  2. From the Admin console Home page, go to Appsand thenWeb and mobile apps.
  3. Click Add appand thenSearch for apps.
  4. Enter Mixpanel in the search field.
  5. In the search results, hover over the Mixpanel SAML app and click Select.
  6. On the Google Identity Provider details page:
    • Copy and save the SSO URL. (This is the Identity Provider Sign-in URL in Mixpanel.)
    • Copy and save the Entity ID. (This is the Issuer URL in Mixpanel.)
    • Download the Certificate.
  7. Leave the Admin console open,  you'll continue with the configuration wizard after performing the next step in the Mixpanel application.
Step 2: Set up Mixpanel as a SAML 2.0 service provider (SP)
  1. Open a new incognito browser window.
  2. Go to Single Sign-On in the Mixpanel Help Center. Follow the steps to set up Mixpanel as a service provider.
  3. Copy and save the Postback URL. You need to provide it in step 3 below.
Step 3: Finish SSO configuration in Admin console
  1. Return to the Admin console browser tab.
  2. On the Google Identity Provider details page, click Continue.
  3. On the Service provider details page, replace the Start URL field with the Postback URL you copied from Mixpanel in Step 2 above. 
  4. Click Continue.
  5. On the Attribute Mapping page, click the Select field menu and map the following Google directory attributes to their corresponding Mixpanel Enterprise attributes:
     
    Google directory attribute Mixpanel attribute
    Basic Information > Primary Email email (required)
    Basic Information > First Name firstName
    Basic Information > Last Name lastName
  6. Click Finish.
Step 4: Enable the Mixpanel app
  1. Sign in to your Google Admin console.

    Sign in using an account with super administrator privileges (does not end in @gmail.com).

  2. From the Admin console Home page, go to Appsand thenWeb and mobile apps.
  3. Select Mixpanel.
  4. Click User access.
  5. To turn on or off a service for everyone in your organization, click On for everyone or Off for everyone, and then click Save.

  6. (Optional) To turn a service on or off for an organizational unit:

    1. At the left, select the organizational unit.
    2. Select On or Off.
    3. Click Override to keep your setting if the service for the parent organizational unit is changed.
    4. If Overridden is already set for the organizational unit, choose an option:
      • Inherit—Reverts to the same setting as its parent.
      • Save—Saves your new setting (even if the parent setting changes).

    Learn more about organizational structure.

  7. (Optional) Turn on the service for a group of users.
    Use access groups to turn on a service for specific users within or across your organizational units. Learn more

  8. Ensure that your Mixpanel user account email IDs match those in your Google domain.
Step 5: Verify that the SSO is working

Mixpanel supports both Identity Provider (IdP) initiated and Service Provider (SP) initiated SSO. Follow these steps to verify SSO in either mode:

IdP-initiated

  1. Sign in to your Google Admin console.

    Sign in using an account with super administrator privileges (does not end in @gmail.com).

  2. From the Admin console Home page, go to Appsand thenWeb and mobile apps.
  3. Select Mixpanel.
  4. At the top left, click Test SAML login

    Mixpanel should open in a separate tab. If it doesn’t, use the information in the resulting SAML error messages to update your IdP and SP settings as needed, then retest SAML login.

SP-initiated

  1. Close all browser windows.
  2. Open https://mixpanel.com/security/sso/v2/authorize/?org_id={your-company-ID} or the Postback URL you copied from Mixpanel and attempt to sign in. You are automatically redirected to the Google sign in page.
  3. Enter your sign in credentials.
  4. After your sign in credentials are authenticated, you are automatically redirected back to Mixpanel.


Google, Google Workspace, and related marks and logos are trademarks of Google LLC. All other company and product names are trademarks of the companies with which they are associated.
Was this helpful?
How can we improve it?