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

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

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

  <p>Create an API key in your Lattice admin dashboard to authenticate API requests.</p>

  <Steps>
    <Step title="Sign in to Lattice">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Sign in to your <a href="https://lattice.com" target="_blank" rel="noopener noreferrer">Lattice account</a> with Admin credentials.</p>
      </div>
    </Step>

    <Step title="Navigate to API Keys">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Access the API key management section in the admin settings.</p>

        <ul>
          <li>Click <strong>Switch to admin</strong> at the bottom of the left sidebar</li>
          <li>Select <strong>Platform</strong> from the admin menu</li>
          <li>Click on <strong>API Keys</strong></li>
        </ul>
      </div>
    </Step>

    <Step title="Generate a New API Key">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Create a new API key for your integration.</p>

        <ul>
          <li>Click the <strong>Generate API key</strong> button</li>
          <li>Click <strong>Copy</strong> to copy the generated API key</li>
          <li><strong>Important:</strong> The API key is only shown in full once. Make sure to copy and store it securely before closing the window</li>
        </ul>
      </div>
    </Step>
  </Steps>
</section>

<section data-guide-section data-guide-scopes="">
  <h2>Important Notes</h2>

  <p>Key information about Lattice API keys and security.</p>

  <ul>
    <li>API keys carry the same privileges as the user who created them</li>
    <li>To revoke a key, navigate to Admin > Platform > API Keys and click the red <strong>Revoke</strong> option next to the key</li>
  </ul>
</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</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>
