> ## 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 Snyk with Auth Token – StackOne Hub

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

<Warning>Snyk REST API access requires an Enterprise plan — on Free and Team plans this token authenticates only the CLI, IDE, and CI/CD integrations, not the API. The Auth Token authorizes API calls with the permissions of its owner, and only authenticates against the region it was created in, so it must match the region you select.</Warning>

<section data-guide-section data-guide-scopes="">
  <h2>Find your Snyk region</h2>

  <p>Snyk hosts accounts in several regional data centers, and a token only works against<br />its own region. Your region is shown in your browser's <strong>address bar</strong> whenever you are<br />signed in to Snyk — it is the host in the URL, the part between `https://` and the first<br />`/`. Match that host to the <strong>Region</strong> you select below.</p>

  <ul>
    <li>Sign in to Snyk and look at your browser's address bar.</li>
    <li>Example: if the address bar shows `https://app.snyk.io/...`, the host is `app.snyk.io` — choose <strong>US (SNYK-US-01) — api.snyk.io</strong>.</li>
    <li>`app.snyk.io` → <strong>US (SNYK-US-01)</strong> — api.snyk.io</li>
    <li>`app.us.snyk.io` → <strong>US (SNYK-US-02)</strong> — api.us.snyk.io</li>
    <li>`app.eu.snyk.io` → <strong>EU (SNYK-EU-01)</strong> — api.eu.snyk.io</li>
    <li>`app.au.snyk.io` → <strong>AU (SNYK-AU-01)</strong> — api.au.snyk.io</li>
  </ul>
</section>

<section data-guide-section data-guide-scopes="">
  <h2>Copy your Auth Token</h2>

  <p>Your <strong>Auth Token</strong> is the token that authenticates every REST API request.</p>

  <Steps>
    <Step title="Sign in to Snyk">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Sign in to your <a href="https://app.snyk.io" target="_blank" rel="noopener noreferrer">Snyk account</a> with a user that has the access you want the integration to have.</p>
      </div>
    </Step>

    <Step title="Open Account settings">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>Open your account settings from the <strong>Account settings</strong> navigation.</p>

        <ul>
          <li>Go to the <a href="https://app.snyk.io/account" target="_blank" rel="noopener noreferrer">Account general settings page</a>.</li>
          <li>In the <strong>Account settings</strong> menu, the <strong>General</strong> page is where your token is shown.</li>
        </ul>
      </div>
    </Step>

    <Step title="Copy the Auth Token value">
      <div data-guide-step data-guide-scopes="" data-guide-display-scopes-list="">
        <p>On the <strong>General</strong> page, find the <strong>Auth Token</strong> section.</p>

        <ul>
          <li>Under <strong>KEY</strong>, click <strong>click to show</strong> to reveal the token.</li>
          <li>Highlight and copy the token, then store it securely for use later.</li>
          <li>To rotate it later, click <strong>Revoke & Regenerate</strong> — this makes the previous token invalid.</li>
          <li>You provide this token together with the matching <strong>Region</strong> you identified above.</li>
        </ul>

        <img src="https://mintcdn.com/stackone-60/AjtQEpho9iXred9T/connectors/snyk/images/custom-config-auth-token.png?fit=max&auto=format&n=AjtQEpho9iXred9T&q=85&s=eda825d7b2ba602d88045b1a7b4a7db8" alt="The Snyk Account General settings page showing the Auth Token section with the KEY field and the Revoke & Regenerate button highlighted." width="1280" height="800" data-path="connectors/snyk/images/custom-config-auth-token.png" />
      </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="/connect/managing-connectors/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>Region</strong></li>
        <li><strong>Auth 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="/gateway/concepts/linked-accounts">Accounts</a> page.</p>
</div>
