> ## 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 Harvest with Personal Access Token – StackOne Hub

> Link a Harvest account in the StackOne Hub using Personal Access Token. End-user guide to authorize the integration and start using Harvest actions.

<section data-guide-section data-guide-scopes="">
  <h2>Generate a Personal Access Token</h2>

  <p>Personal Access Tokens authenticate a single Harvest user for API access.</p>

  <Steps>
    <Step title="Sign in to the Harvest Developers portal">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Open the <a href="https://id.getharvest.com/developers" target="_blank" rel="noopener noreferrer">Harvest Developers portal</a>.</p>
      </div>
    </Step>

    <Step title="Create a new token">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Click <strong>Create new personal access token</strong> to open the <strong>New personal access token</strong> form.</p>

        <ul>
          <li>Enter a recognisable <strong>Name</strong> for the token (e.g., `StackOne Integration`).</li>
          <li>Click <strong>Create personal access token</strong>.</li>
        </ul>
      </div>
    </Step>

    <Step title="Choose the Harvest account">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>If you belong to multiple Harvest accounts, you must pick which one this token authenticates.</p>

        <ul>
          <li>Under <strong>Your personal access token</strong>, locate the <strong>Choose account</strong> dropdown.</li>
          <li>Select the Harvest account this connection should access.</li>
          <li>The displayed <strong>Account ID</strong> and <strong>API Token</strong> below will update to match the chosen account.</li>
        </ul>
      </div>
    </Step>

    <Step title="Copy the API Token and Account ID">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>The token is shown once on the confirmation page along with your Account ID.</p>

        <ul>
          <li>Copy the <strong>API Token</strong> value (shown in the portal as <strong>Your token</strong>). This is the value you'll paste into the <strong>Personal Access Token</strong> field when connecting Harvest in the StackOne Hub.</li>
          <li>Copy the <strong>Account ID</strong> value shown alongside the token (a number such as `1234567`).</li>
          <li>Store both values securely for use later — the token is not shown again after this page is closed.</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>Personal Access Token</strong></li>
        <li><strong>Account ID</strong></li>
        <li><strong>User-Agent</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>
