---
title: "Snyk"
canonical_url: "https://docs.getdx.com/connectors/snyk/"
md_url: "https://docs.getdx.com/connectors/snyk.md"
last_updated: "2026-05-08"
---

# Snyk
By integrating Snyk with DX, you can analyze security issues and incorporate them into DX scorecards. Please refer to the API documentation below and our [schema explorer](https://docs.getdx.com/schema/) to see what data DX imports.

## Prerequisites

To connect Snyk to DX, you need:

- a Snyk account with admin access
- API access (i.e., Enterprise plan)

## Setup instructions

Follow the steps below to connect Snyk to DX.

#### Step 1

Create an API token—either via a Service Account (recommended) or a User.

- To generate an API token via a Service Account, go to **Organization Settings > Service Accounts**. The service account needs the read permissions View Organization Reports, View Organization, View Project History, and View Project.

- To generate a user API token, go to **Account Settings > API Token** in your Snyk profile.<br><br>

  ![](https://docs.getdx.com/assets/images/connectors/snyk/auth-token.png){class="max-w-xl mx-auto"}

#### Step 2

- Navigate to the connections page in DX and select "+ Connection" in the top right.
- Enter the credentials you have generated in the previous steps—refer to the information below for errors and troubleshooting.

## API reference

The table below lists the specific API endpoints that are used by DX.


| Endpoint | Documentation |
|------------------------|---------------|
| /orgs | [link](https://apidocs.snyk.io/?version=2024-08-25#get-/orgs) |
| /orgs/{id}/projects | [link](https://apidocs.snyk.io/?version=2024-08-25#get-/orgs/-org_id-/projects) |
| /orgs/{id}/issues | [link](https://apidocs.snyk.io/?version=2024-08-25#get-/orgs/-org_id-/issues) |


## Errors

The table below lists potential error codes when adding a connection in DX.


| Error | Description |
|----------------------|------------------------------------------------------------------------------------------------------------------|
| `invalid_credentials` | Your API credentials entered are not valid. |
| `invalid_permissions` | Your API token does not have the permissions required by DX. |
---

## Sitemap

[Overview of all docs pages](/llms.txt)
