Overview
To authenticate with Devin, use one of these credentials:- v3 credential (
cog_) - A service-user API key or personal access token for the current Devin API. - Legacy v1 API key (
apk_user_) - An existing key for the legacy sessions API.
Prerequisites:
- You must have an account with Devin.
Instructions:
Step 1: Finding your API key
For a v3 service-user API key:- Open your organization or enterprise settings in Devin.
- Open Service users and create or select a service user.
- Assign a role with the permissions your integration needs.
- Generate an API key and copy it immediately. Devin only displays it once.

- Log in to your Devin account.
- Open API Settings.
- Reveal an existing
apk_user_key or revoke and regenerate it.
Step 2: Enter credentials in the Connect UI
Once you have your credential:- Open the form where you need to authenticate with Devin.
- Enter the
cog_orapk_user_credential in the API key field. - Submit the form, and you should be successfully authenticated.