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 thenSAML apps.
  3. Click the plus (+) icon at bottom right.
  4. Locate and click Mixpanel in the application list.
  5. On the Google IDP Information 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.
  6. 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. Note the Postback URL, and copy this URL. You need to provide it in step 3 below.
Step 3: Finish SSO configuration in Admin console
  1. In the SSO configuration wizard, click Next.

    The Basic information window shows the Application name and Description seen by users.

  2. Click Next.
  3. On the Service Provider Details page, the ACS URL and Entity ID fields are automatically populated.  Replace the default contents of the Start URL field with the Postback URL you copied from Mixpanel. 
  4. On the Attribute Mapping page, enter:
    • email (required)
    • firstName (optional)
    • lastName (optional)
    Click Add New Mapping to add any additional mappings.
     
  5. Click Finish.
Step 4: Enable the Mixpanel app
  1. Sign in to your Google Admin console.

    Sign in using your administrator account (does not end in @gmail.com).

  2. From the Admin console Home page, go to Appsand thenSAML 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 your administrator account (does not end in @gmail.com).

  2. From the Admin console Home page, go to Appsand thenSAML 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?