> ## 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 Keap with API Key (PAT / SAK) – StackOne Hub

> Link a Keap account in the StackOne Hub using API Key (PAT / SAK). End-user guide to authorize the integration and start using Keap actions.

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

  <p>Create a Personal Access Token or Service Account Key in your Keap application settings.</p>

  <Steps>
    <Step title="Open API Settings">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>In your Keap application, go to <strong>Settings</strong> (gear icon) in the left sidebar, then select <strong>API Settings</strong>.</p>
      </div>
    </Step>

    <Step title="Create a new key">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Click the blue <strong>+ Add Key</strong> button.</p>

        <ul>
          <li>Enter a unique name for the key to help identify it later</li>
          <li>Click <strong>Save</strong></li>
          <li>Copy the key immediately — it is only shown once</li>
        </ul>
      </div>
    </Step>

    <Step title="Key types">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Both key types use the same authentication mechanism.</p>

        <ul>
          <li><strong>Personal Access Token (PAT):</strong> Available to all users. Operates under the creating user's permissions.</li>
          <li><strong>Service Account Key (SAK):</strong> Available to admins only. Grants full admin-level access.</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 Key (PAT or SAK)</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>
