> ## 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 Pipedrive with API Token – StackOne Hub

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

<section data-guide-section data-guide-scopes="">
  <h2>Get your Pipedrive API token</h2>

  <p>Generate a personal API token from your Pipedrive account.</p>

  <Steps>
    <Step title="Open Personal preferences">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Sign in to the Pipedrive account you want to generate an API token for.<br /><br />Pipedrive accounts have their own subdomain URL:<br />- <strong>Production:</strong> <a href="https://app.pipedrive.com/" target="_blank" rel="noopener noreferrer">[https://app.pipedrive.com/](https://app.pipedrive.com/)</a> (or `https://[your-company].pipedrive.com/` if you use a custom subdomain)<br />- <strong>Sandbox:</strong> `https://[your-company]-sandbox.pipedrive.com/`<br /><br />The sandbox subdomain is automatically assigned when Pipedrive creates your sandbox account (e.g., `stackone-sandbox` becomes `https://stackone-sandbox.pipedrive.com/`).</p>

        <ul>
          <li>Click your <strong>profile avatar</strong> in the top right corner of the page.</li>
          <li>In the dropdown menu under <strong>MY ACCOUNT</strong>, select <strong>Personal preferences</strong>.</li>
        </ul>
      </div>
    </Step>

    <Step title="Go to the API tab">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Navigate to the API settings page.</p>

        <ul>
          <li>In the Personal preferences page, click the <strong>API</strong> tab (next to Account and Your companies).</li>
          <li>Your personal API token is displayed under <strong>Your personal API token</strong>.</li>
        </ul>
      </div>
    </Step>

    <Step title="Copy the API token">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Copy the token value.</p>

        <ul>
          <li>Click the green <strong>Copy</strong> button next to the token value.</li>
          <li>Store the token securely for use later.</li>
          <li>If you need a new token, click <strong>Generate new token</strong> (this will invalidate the previous token).</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>
