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

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

<section data-guide-section data-guide-scopes="">
  <h2>Generate a Personal API key</h2>

  <p>A Personal API key authenticates requests to Linear on behalf of your account.</p>

  <Steps>
    <Step title="Sign in to Linear">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Sign in to your <a href="https://linear.app" target="_blank" rel="noopener noreferrer">Linear account</a>.</p>

        <ul>
          <li>Click your avatar in the top-left corner and select <strong>Settings</strong>.</li>
        </ul>
      </div>
    </Step>

    <Step title="Navigate to Personal API keys">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>In the left sidebar under your personal settings, click <strong>Security & access</strong>.</p>

        <ul>
          <li>Scroll to the <strong>Personal API keys</strong> section.</li>
          <li>Click <strong>New API key</strong>.</li>
        </ul>

        <img src="https://mintcdn.com/stackone-60/wFdSk3QKacGiXmEP/connectors/linear/images/custom-config-personal-api-keys.png?fit=max&auto=format&n=wFdSk3QKacGiXmEP&q=85&s=c22cf70a8c7cbe6503b2570b8fa4636d" alt="The Security & access page with the New API key button highlighted in the Personal API keys section." width="1908" height="900" data-path="connectors/linear/images/custom-config-personal-api-keys.png" />
      </div>
    </Step>

    <Step title="Create the API key">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Give the key a name and choose its access settings.</p>

        <ul>
          <li>Enter a <strong>Key name</strong>, for example `StackOne`.</li>
          <li>Under <strong>Permissions</strong>, choose <strong>Full access</strong> or <strong>Only select permissions…</strong>.</li>
          <li>Under <strong>Team access</strong>, choose <strong>All teams you have access to</strong> or <strong>Only select teams…</strong>.</li>
        </ul>

        <img src="https://mintcdn.com/stackone-60/wFdSk3QKacGiXmEP/connectors/linear/images/custom-config-create-api-key.png?fit=max&auto=format&n=wFdSk3QKacGiXmEP&q=85&s=dbdf9b50a16a988b1e0d1bc106e9ed23" alt="The Create API key form showing the Key name field, Permissions options, and Team access options." width="1908" height="900" data-path="connectors/linear/images/custom-config-create-api-key.png" />
      </div>
    </Step>

    <Step title="Enable at least Read permission">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>If you choose <strong>Only select permissions…</strong>, enable at least <strong>Read</strong> — the connection test requires read access to succeed.</p>

        <ul>
          <li><strong>Read</strong> — Read all workspace data available to you.</li>
          <li><strong>Write</strong> — Read and write all workspace data available to you.</li>
          <li><strong>Admin</strong> — Access admin-only API features.</li>
        </ul>

        <img src="https://mintcdn.com/stackone-60/wFdSk3QKacGiXmEP/connectors/linear/images/custom-config-permissions.png?fit=max&auto=format&n=wFdSk3QKacGiXmEP&q=85&s=4f711311c3ce8ad211d3e68b344dcbcc" alt="The permissions checklist with Read, Write, Create issues, Create comments, and Admin, with Read highlighted." width="1908" height="900" data-path="connectors/linear/images/custom-config-permissions.png" />
      </div>
    </Step>

    <Step title="Create and copy the key">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>After setting the <strong>Key name</strong>, <strong>Permissions</strong>, and <strong>Team access</strong>, click <strong>Create</strong> to generate the key.</p>

        <ul>
          <li>Copy the key immediately and store it securely for use later.</li>
          <li>The key starts with `lin_api_` and is shown only once.</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</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>
