Skip to main content
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.

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.

  • Sign in to Snyk and look at your browser’s address bar.
  • Example: if the address bar shows https://app.snyk.io/..., the host is app.snyk.io — choose US (SNYK-US-01) — api.snyk.io.
  • app.snyk.ioUS (SNYK-US-01) — api.snyk.io
  • app.us.snyk.ioUS (SNYK-US-02) — api.us.snyk.io
  • app.eu.snyk.ioEU (SNYK-EU-01) — api.eu.snyk.io
  • app.au.snyk.ioAU (SNYK-AU-01) — api.au.snyk.io

Find your Auth Token

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

1

Sign in to Snyk

Sign in to your Snyk account with a user that has the access you want the integration to have.

2

Open Account settings

Snyk has no Account settings item in the main sidebar — you open it from your profile menu at the bottom of the left sidebar.

  • At the bottom of the left sidebar, click your profile name to open the account menu.
  • In the account menu, click Account settings.
  • On the Account settings page, open the General page — this is where your token is shown.
  • As a shortcut, go straight to the Account general settings page to skip the menu.
3

Copy the Auth Token value

On the General page, find the Auth Token section.

  • Under KEY, click click to show to reveal the token.
  • Highlight and copy the token, then store it securely for use later.
  • To rotate it later, click Revoke & Regenerate — this makes the previous token invalid.
  • You provide this token together with the matching Region you identified above.
The Snyk Account General settings page showing the Auth Token section with the KEY field and the Revoke & Regenerate button highlighted.

Linking the Account from the Hub

1

Navigate to the Hub

Use one of the three Linking Account Methods to access the Hub.
2

Fill out the fields

Fill out the following fields using details from your provider:
  • Region
  • Auth Token
3

Connect

  • Click Connect
  • If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider’s authorization flow.
  • Once authorization is successful, you will see a confirmation popup

If the account linking is successful, you will see the newly linked account in your Accounts page.