> ## 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 Mintlify with Assistant API Key – StackOne Hub

> Link a Mintlify account in the StackOne Hub using Assistant API Key. End-user guide to authorize the integration and start using Mintlify actions.

<Warning>Assistant API keys are public tokens safe for frontend use. This authentication is required for Assistant actions (search, page content, AI chat). Calls using this token may incur costs against your assistant credits.</Warning>

<section data-guide-section data-guide-scopes="">
  <h2>Getting Your Domain</h2>

  <p>Your domain identifier is required for assistant and search operations.</p>

  <Steps>
    <Step title="Sign in to Mintlify Dashboard">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Go to <a href="https://dashboard.mintlify.com" target="_blank" rel="noopener noreferrer">Mintlify Dashboard</a> and sign in with your account credentials.</p>
      </div>
    </Step>

    <Step title="Find Your Domain">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Your domain is the project slug from your Mintlify dashboard URL.</p>

        <ul>
          <li>Copy your dashboard URL (e.g., `dashboard.mintlify.com/stackone-60/stackone-hub`)</li>
          <li>The domain is the <strong>last segment</strong> of the URL (e.g., `stackone-hub`)</li>
          <li>Note: Use the project slug even if you have a custom domain mapped (e.g., `hub.stackone.com`)</li>
        </ul>
      </div>
    </Step>
  </Steps>
</section>

<section data-guide-section data-guide-scopes="">
  <h2>Generating Assistant API Key</h2>

  <p>Create an assistant API key for AI assistant and documentation search features.</p>

  <Steps>
    <Step title="Navigate to API Keys">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Go to the <a href="https://dashboard.mintlify.com/settings/api-keys" target="_blank" rel="noopener noreferrer">API Keys page</a> in your dashboard.</p>
      </div>
    </Step>

    <Step title="Generate Assistant API Key">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Click the <strong>Generate API Key</strong> button and select <strong>Assistant API Key</strong>.</p>

        <ul>
          <li>Assistant API keys begin with the <strong>mint\_dsc\_</strong> prefix</li>
          <li>Copy the key immediately and store it securely for use later</li>
          <li>Important: The key will not be shown again after you leave this page</li>
          <li>Assistant API keys are public tokens safe for frontend code</li>
        </ul>
      </div>
    </Step>
  </Steps>
</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>Assistant API Key</strong></li>
        <li><strong>Domain</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>
