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

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

<Warning>Owner or Admin access to your Humaans account is required to generate API access tokens.</Warning>

<section data-guide-section data-guide-scopes="">
  <h2>Generate an API Access Token</h2>

  <p>To connect Humaans with StackOne, you need an API access token from your Humaans account.</p>

  <Steps>
    <Step title="Sign in to Humaans">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Sign in to your <a href="https://app.humaans.io/" target="_blank" rel="noopener noreferrer">Humaans account</a> with Owner or Admin credentials.</p>
      </div>
    </Step>

    <Step title="Navigate to API Access Tokens">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Click the three dot menu (⋮) next to your name/workspace at the top-left and select <strong>API access tokens</strong> from the dropdown.</p>
      </div>
    </Step>

    <Step title="Create a new access token">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Click <strong>Generate new token</strong> to create a new API access token.</p>

        <ul>
          <li>Enter a descriptive <strong>Name</strong> for the token (e.g., StackOne Integration).</li>
          <li>Select the required <strong>Scopes</strong> based on the data you need to access. For full access, enable all scopes.</li>
          <li>Click <strong>Create access token</strong> to generate the token.</li>
        </ul>
      </div>
    </Step>

    <Step title="Copy the access token">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Copy the generated access token and store it securely for use later. The token is only displayed once and cannot be retrieved again.</p>
      </div>
    </Step>
  </Steps>
</section>

<section data-guide-section data-guide-scopes="">
  <h2>Understanding Scopes</h2>

  <p>Humaans API tokens use scopes to control access. Select scopes based on the data your integration needs.</p>

  <Steps>
    <Step title="Available scopes">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Choose from the following scopes when creating your token.</p>

        <ul>
          <li><strong>public:read</strong> — View data that is public to the entire company.</li>
          <li><strong>private:read</strong> — View all data except compensations and documents.</li>
          <li><strong>private:write</strong> — Modify all data except compensations and documents.</li>
          <li><strong>compensations:read</strong> — View compensation data.</li>
          <li><strong>compensations:write</strong> — Modify compensation data.</li>
          <li><strong>documents:read</strong> — View personal documents and identity documents.</li>
          <li><strong>documents:write</strong> — Modify personal documents and identity documents.</li>
          <li><strong>webhooks:manage</strong> — View and modify webhooks.</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>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>
