By integrating CircleCI with DX, you can analyze CI/CD metrics and workflow data. Please visit our schema explorer to see what data DX imports—note that DX does not read or access your source code.
Prerequisites
To connect CircleCI to DX, you need:
Setup instructions
Step 1
Create a CircleCI service account (i.e., a GitHub account) for DX.
Step 2
In CircleCI, be sure to "Follow" projects that you want to import into DX—only projects that you are following will be imported.
Step 3
Browse to User Settings.
Generate a new API Token.
In addition, to an API token, you'll need to know your CircleCI project slug which will be a string in a format such as github/dx-eng
.
Step 4
Navigate to the connector setup form in DX.
Enter the credentials you have generated in the previous steps—refer to the information below for errors and troubleshooting.
Errors
The table below lists potential error codes when adding a connection in DX.
Error | Description |
| Your API credentials entered are not valid. |
| Your API token does not have the permissions required by DX. |
| Your service account does not have access to any projects or repositories. |