> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stackone.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect Auth0 with Management API Token – StackOne Hub

> Link a Auth0 account in the StackOne Hub using Management API Token. End-user guide to authorize the integration and start using Auth0 actions.

<Warning>Management API tokens expire after 24 hours by default. For production use, prefer OAuth 2.0 Client Credentials.</Warning>

<section data-guide-section data-guide-scopes="">
  <h2>Generate a Management API token</h2>

  <p>Use the Auth0 API Explorer to generate a token scoped to the Management API.</p>

  <Steps>
    <Step title="Sign in to Auth0">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Sign in to your <a href="https://manage.auth0.com" target="_blank" rel="noopener noreferrer">Auth0 account</a>.</p>

        <ul>
          <li>In the left sidebar, navigate to <strong>Applications</strong> > <strong>APIs</strong>.</li>
          <li>Click on <strong>Auth0 Management API</strong>.</li>
          <li>Select the <strong>API Explorer</strong> tab.</li>
        </ul>
      </div>
    </Step>

    <Step title="Set token expiration">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>On the <strong>API Explorer</strong> tab, set the <strong>Token Expiration (Seconds)</strong> field. This defines how long the generated token remains valid. The default value (86400 seconds / 24 hours) is sufficient for testing. For production use, prefer OAuth 2.0 Client Credentials.</p>
      </div>
    </Step>

    <Step title="Copy the token">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Copy the <strong>Token</strong> value and store it securely for use later.</p>
      </div>
    </Step>
  </Steps>
</section>

<section data-guide-section data-guide-scopes="">
  <h2>Find your domain</h2>

  <p>On the <strong>Auth0 Management API</strong> page, look for the <strong>Identifier</strong> field displayed directly below the page title.</p>

  <ul>
    <li>The Identifier will display a URL in the format `https://your-tenant.us.auth0.com/api/v2/`.</li>
    <li>Your domain is everything between `https://` and `/api/v2/` (e.g. `your-tenant.us.auth0.com`).</li>
  </ul>
</section>

<div data-whitelabel-hide>
  <h2>Linking the Account from the Hub</h2>

  <Steps>
    <Step title="Navigate to the Hub">
      Use one of the three <a href="/guides/accounts-section#linking-accounts">Linking Account Methods</a> to access the Hub.
    </Step>

    <Step title="Fill out the fields">
      Fill out the following fields using details from your provider:

      <ul>
        <li><strong>Domain</strong></li>
        <li><strong>Management API Token</strong></li>
      </ul>
    </Step>

    <Step title="Connect">
      <ul>
        <li>Click <strong>Connect</strong></li>
        <li>If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider's authorization flow.</li>
        <li>Once authorization is successful, you will see a confirmation popup</li>
      </ul>
    </Step>
  </Steps>

  <p>If the account linking is successful, you will see the newly linked account in your <a href="/guides/accounts-section">Accounts</a> page.</p>
</div>
