View all connectors
Devin
By enabling the Devin connector, you can import daily metrics for user consumption and pull request activity. Please refer to the API documentation below and our schema explorer to see what data DX imports.
Prerequisites
To connect Devin to DX, you will need:
- a Devin API key with the following permissions:
- ManageAccountMembership — to list enterprise members
- ManageBilling — to access consumption data
- ViewAccountMetrics — to access PR and usage metrics
Setup instructions
Follow the steps below to connect Devin to DX.
Step 1
Navigate to the Devin admin settings page to obtain your API key. Ensure your API key has the required permissions listed above for DX to fetch data successfully.
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 |
|---|---|
| /v3/enterprise/members | Link |
| /v3/enterprise/consumption/daily/ | Link |
| /v3/enterprise/metrics/prs | Link |
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 key does not have the required permissions (ManageAccountMembership, ManageBilling, ViewAccountMetrics). |
unauthorized or forbidden |
Your API key is missing at least one required permission (ManageAccountMembership, ManageBilling, ViewAccountMetrics). |
no_resources |
DX cannot access any enterprise organizations. |