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

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

<section data-guide-section data-guide-scopes="">
  <h2>Create a Service Account key</h2>

  <p>Unthread authenticates every REST API request with a Service Account key sent in the<br />`X-Api-Key` header.</p>

  <Steps>
    <Step title="Sign in to Unthread">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Sign in to your <a href="https://app.unthread.io" target="_blank" rel="noopener noreferrer">Unthread dashboard</a> with an account that can manage settings.</p>

        <ul>
          <li>Open <strong>Settings</strong> from the dashboard navigation.</li>
        </ul>
      </div>
    </Step>

    <Step title="Open API keys">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>In <strong>Settings</strong>, open the <strong>API Keys</strong> area for service accounts.</p>

        <ul>
          <li>Find the section for <strong>Service Accounts</strong> or <strong>API Keys</strong>.</li>
        </ul>
      </div>
    </Step>

    <Step title="Generate and copy the key">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Create a new Service Account key and copy its value.</p>

        <ul>
          <li>Click to generate a new Service Account key.</li>
          <li>Copy the key value and store it securely for use later.</li>
          <li>Paste it into the <strong>API Key</strong> field in StackOne.</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="/connect/managing-connectors/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>API Key</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="/gateway/concepts/linked-accounts">Accounts</a> page.</p>
</div>
