> ## 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 (Multiple Companies) – StackOne Hub

> Link a Snyk account in the StackOne Hub using Auth Token (Multiple Companies). 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. Listing people needs a Group-level role with the View Group Memberships and View Organizations permissions. Snyk's pre-defined roles table does not say which Group roles hold View Group Memberships. Group Viewer is read-only; if StackOne reports a 403, use Group Admin. Snyk's API reference says the role list needs read access to the Group. A token with only Organization roles cannot read them.

## Find your Snyk region

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

<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 **US (SNYK-US-01) — api.snyk.io**.</li>
  <li>`app.snyk.io` → **US (SNYK-US-01)** — api.snyk.io</li>
  <li>`app.us.snyk.io` → **US (SNYK-US-02)** — api.us.snyk.io</li>
  <li>`app.eu.snyk.io` → **EU (SNYK-EU-01)** — api.eu.snyk.io</li>
  <li>`app.au.snyk.io` → **AU (SNYK-AU-01)** — api.au.snyk.io</li>
</ul>

## Find your Auth Token

Your **Auth Token** is the token that authenticates every REST API request.

**1. Open Account settings**

Sign in to your [Snyk account](https://app.snyk.io) with a user that has the access you\
want the integration to have. Snyk has no **Account settings** item in the main sidebar —\
you open it from your profile menu at the bottom of the left sidebar.

<ul>
  <li>At the bottom of the left sidebar, click your profile name to open the account menu.</li>
  <li>In the account menu, click **Account settings**.</li>
  <li>On the **Account settings** page, open the **General** page — this is where your token is shown.</li>
  <li>As a shortcut, go straight to the [Account general settings page](https://app.snyk.io/account) to skip the menu.</li>
</ul>

**2. Copy the Auth Token value**

On the **General** page, find the **Auth Token** section.

<ul>
  <li>Under **KEY**, click **click to show** to reveal the token.</li>
  <li>Copy the **Auth Token** across, together with the matching **Region** you identified above.</li>
  <li>To rotate it later, click **Revoke & Regenerate** — this makes the previous token invalid.</li>
</ul>

![The Snyk Account General settings page showing the Auth Token section with the KEY field and the Revoke & Regenerate button highlighted.](https://mintcdn.com/stackone-60/AjtQEpho9iXred9T/connectors/snyk/images/custom-config-auth-token.png?fit=max\&auto=format\&n=AjtQEpho9iXred9T\&q=85\&s=eda825d7b2ba602d88045b1a7b4a7db8)

## Use a Group service account (recommended)

Snyk recommends a service account for automation. A Group service account token goes in the\
**Auth Token** field, does not depend on one employee's account, and can be read-only.

**1. Open the Group's service accounts**

To create a Group service account, you must be a Group admin.

<ul>
  <li>Sign in to your account and navigate to the Group.</li>
  <li>Click **Settings** > **Service accounts**.</li>
  <li>Click **Create a service account**.</li>
</ul>

**2. Name it and choose a role**

Enter a unique name in the **Service Account** name field, then pick a role from the **Role** dropdown.

<ul>
  <li>**Group Viewer** enables read-only access. Snyk's pre-defined roles table does not say whether it holds View Group Memberships, which listing people needs, so try it first.</li>
  <li>**Group Admin** enables full administrator access, including create, edit and delete rights. Choose it if StackOne reports a 403 when it lists people.</li>
</ul>

**3. Copy the token**

Click **Create**. The token is shown once, so copy it now across, together with your **Region**.

## Find your Group ID

StackOne lists the people of one Snyk Group. If your token sees only one Group you can leave the **Group ID** field empty; if it sees several, enter the one to read. If you use a Group service account token, enter the Group ID.

**1. Copy your Group ID**

Open your Group's **Settings** > **General** page and find **Group ID**, which Snyk describes as "View and copy the unique ID for this Group." Copy the value across.

## Find your Organization ID

If you plan to enable webhook events, StackOne needs your Snyk **Organization ID** to provision the webhook subscription. It is not required for any other actions.

**1. Copy your Organization ID**

Open your organization's **Settings** page and select **General**, then scroll to the **Organization ID** section and click **Copy**.

<ul>
  <li>The **Organization ID** is a UUID that uniquely identifies your organization.</li>
  <li>As a shortcut, open the **General** settings page at the `/manage/settings` path for your organization and scroll to the **Organization ID** section.</li>
</ul>

![The Snyk organization General settings page with the Organization ID section and its Copy button highlighted.](https://mintcdn.com/stackone-60/FXLWOPFBt8Ltxzf4/connectors/snyk/images/custom-config-org-id.png?fit=max\&auto=format\&n=FXLWOPFBt8Ltxzf4\&q=85\&s=3a0a52e10da8ae4adbea2a0c281a39fa)

## Link the Account

**1. Connect**

<ul>
  <li>Click **Connect**.</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>

**2. Use Actions**

Connect an AI platform to the linked account's actions. See [AI Platforms](https://docs.stackone.com/ai-platforms/overview.md).

Other ways to call actions are listed in [Protocols & SDKs](https://docs.stackone.com/connect/protocols-and-sdks.md).

## Next Steps

> [card] [Webhooks setup](https://docs.stackone.com/connectors/snyk/guides/webhook-setup.md)
>
> Configure receiving Events for Snyk into StackOne.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.