Skip to content

Snyk connects with your API token and the region your Snyk account is in.

Info

Snyk's API is available on the Enterprise plan only. For Truto, use a service account token rather than a personal one.

Install the Snyk integration

Install Snyk from Available integrations in each environment you connect accounts from.

Copy your API token

Create a service account: in your Snyk organization, open Settings → Service accounts and click Create a service account. Enter a name, pick a role and click Create. Copy the token straight away; Snyk shows it only once. You need the Org Admin role, or to be a Group admin.

To use your personal token instead:

  1. Sign in to Snyk and open Account settings. Account settings
  2. Select General → Auth Token.
  3. Click inside the key box to show the token, then copy it. Auth token

Connect a Snyk account

  1. In Integrated Accounts, click Connect Account. Click Connect Account

  2. Enter a Tenant ID (your customer's ID; Truto creates the tenant if it is new), or pick one under Existing tenant (optional). Check the Environment and the Region (where Truto places the account; Western North America by default). To open the link straight on Snyk, pick it under Advanced settings → Integration (optional). Click Get connection link. Get connection link

  3. Click the open-in-new-tab button, or click Copy and send the link to your customer so they connect their own Snyk account. The link works for 7 days, until an account is connected with it. Share connection link

  4. Click Get Started if it shows, then select Snyk.

  5. Fill in the form and click Connect:

    Field Required What to enter
    API Key Yes Your Snyk service account token or personal API token.
    Datacenter Region Yes Your Snyk region. It shows in the Snyk URL in your browser. Pick one of US-02, AU-01, EU-01, US-01. Defaults to US-01.
  6. Close the tab when you see Connection successful. The new account appears under Integrated Accounts. Click its Account ID to see its details and make API calls.