> ## Documentation Index
> Fetch the complete documentation index at: https://stackone-hub-docs-confluence-api-token-update.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Mixpanel

> Follow these steps to connect Mixpanel with StackOne Hub successfully.

<Warning>
  Ensure you have Owner or Admin privileges for your Mixpanel account.
</Warning>

If you've been directed to StackOne to integrate with Mixpanel, the following steps will help you understand the process and any necessary actions to configure successful integration.

## Get Your Mixpanel Domain and Organization ID

<Steps>
  <Step title="Log in to Mixpanel">
    Log in to your [Mixpanel](https://mixpanel.com/login/). Your Domain and Organization ID is found in the URL.

    Given the URL: `https://my-domain.com/project/projectId/view/organizationId/app/home`

    The Domain is `my-domain` And the Organization ID is `organizationId`

    <Frame>
      <img className="rounded-md" style={{ margin: '0 auto', border: '1px solid #efefef' }} alt="Mixpanel Log in" src="https://mintcdn.com/stackone-hub-docs-confluence-api-token-update/MGnlGQ2FDcYjia7O/images/mixpanel/image1.png?fit=max&auto=format&n=MGnlGQ2FDcYjia7O&q=85&s=ee908e5cd666fc7c4fdd62000b7ebb7b" width="797" height="783" data-path="images/mixpanel/image1.png" />
    </Frame>
  </Step>
</Steps>

## Generating the Username and Secret

<Steps>
  <Step title="Go to Settings">
    Click on the Settings <Icon icon="gear" iconType="regular" /> button and select Organization Settings.

    <Frame>
      <img className="rounded-md" style={{ margin: '0 auto', border: '1px solid #efefef' }} alt="Mixpanel settings" src="https://mintcdn.com/stackone-hub-docs-confluence-api-token-update/MGnlGQ2FDcYjia7O/images/mixpanel/image2.png?fit=max&auto=format&n=MGnlGQ2FDcYjia7O&q=85&s=db75457b72f19259fcf365fc7389e095" width="1664" height="823" data-path="images/mixpanel/image2.png" />
    </Frame>
  </Step>

  <Step title="Generate the Service Accounts">
    To Generate the Service Accounts, select Service Accounts from menu and click on the <b>Add Service Account</b> button.

    <Frame>
      <img className="rounded-md" style={{ margin: '0 auto', border: '1px solid #efefef' }} alt="Service Accounts" src="https://mintcdn.com/stackone-hub-docs-confluence-api-token-update/MGnlGQ2FDcYjia7O/images/mixpanel/image3.png?fit=max&auto=format&n=MGnlGQ2FDcYjia7O&q=85&s=a07f41aa79e48e029b7854d8da8393cb" width="1673" height="742" data-path="images/mixpanel/image3.png" />
    </Frame>
  </Step>

  <Step title="Fill the Service Accounts Details">
    Enter the Service Account Name, select the <b>Admin</b> from the <b>ORGANIZATION ROLE</b> dropdown and click on the <b>Create</b> button.

    <Frame>
      <img className="rounded-md" style={{ margin: '0 auto', border: '1px solid #efefef' }} alt="Service Accounts Details" src="https://mintcdn.com/stackone-hub-docs-confluence-api-token-update/MGnlGQ2FDcYjia7O/images/mixpanel/image4.png?fit=max&auto=format&n=MGnlGQ2FDcYjia7O&q=85&s=efb5b93150ad5fdb058ca4095c46ddd5" width="560" height="191" data-path="images/mixpanel/image4.png" />
    </Frame>
  </Step>

  <Step title="Copy the Username and Secret to clipboard">
    Copy your new Username and Secret to a safe place to be used in the next step. Click <b>Done</b> in the bottom once complete.

    <Frame>
      <img className="rounded-md" style={{ width: '400px', margin: '0 auto', border: '1px solid #efefef' }} alt="Service Accounts dialog" src="https://mintcdn.com/stackone-hub-docs-confluence-api-token-update/MGnlGQ2FDcYjia7O/images/mixpanel/image5.png?fit=max&auto=format&n=MGnlGQ2FDcYjia7O&q=85&s=3f8102ae3a3f10aa2f44da990aaf3ffd" width="598" height="347" data-path="images/mixpanel/image5.png" />
    </Frame>
  </Step>
</Steps>

## Connecting to StackOne

<Steps>
  <Step title="Enter Authentication Details">
    Upon reaching the Link Account page, enter the following authentication details from the previous steps:

    <ul>
      <li>Username</li>
      <li>Secret</li>
      <li>Domain</li>
      <li>Organization ID</li>
    </ul>

    <Frame>
      <img className="rounded-md" style={{ margin: '0 auto', border: '1px solid #efefef' }} alt="Link Account" src="https://mintcdn.com/stackone-hub-docs-confluence-api-token-update/MGnlGQ2FDcYjia7O/images/mixpanel/image6.png?fit=max&auto=format&n=MGnlGQ2FDcYjia7O&q=85&s=2b28c37d762ca2edee0ce65755d72e31" width="289" height="465" data-path="images/mixpanel/image6.png" />
    </Frame>
  </Step>

  <Step title="Connect">
    Proceed by clicking the Connect button.
  </Step>
</Steps>

<br />

Congratulations, you're all set! If you face any issues with the steps mentioned above,
please contact us by emailing [integrations@stackone.com](mailto:integrations@stackone.com). We're always here to assist you!

## Available data

This integration has the following [IAM Resources](https://docs.stackone.com/reference/iam_list_users) available from the provider:

<ul>
  <li>Users</li>
  <li>Roles</li>
  <li>Groups</li>
</ul>

## Useful Links

<Card title="API Reference" icon="link" href="https://developer.mixpanel.com/reference/service-accounts">
  [https://developer.mixpanel.com/reference/service-accounts](https://developer.mixpanel.com/reference/service-accounts)
</Card>
