This guide walks you through connecting a Devin Teams organization to Clarion. Once connected, agents on the workspace can read and write org skills, search sessions, and read a session’s recent messages. Listing and reading organization members is available only when the service user has the Admin role.
Estimated time: 5 minutes. You need access to Settings > Devin API in a Devin Teams organization so you can create a service user.
Prerequisites
- A Devin Teams organization
- Permission to create a service user under Settings > Devin API
- A Clarion workspace with the Devin integration page open
One Clarion workspace connects one Devin organization. The key you paste acts as that service user. Personal access tokens and legacy apk_ or apk_user_ keys are rejected. Create a service-user key that starts with cog_.
Step 1 — Create a service-user key in Devin
- Sign in to Devin for the Teams organization you want to connect.
- Open Settings > Devin API.
- Create a service user. Choose Member if agents only need skills and sessions. Choose Admin if they also need to list and read organization members.
- Copy the key. It begins with
cog_.
Copy the key immediately and store it securely. Devin shows it once. A personal access token, or a legacy apk_ / apk_user_ key, will be rejected.
Step 2 — Enter the key in Clarion
- In Clarion, open Integrations and find Devin under Development & Planning.
- Paste the service-user API key.
- Click Connect.
Clarion checks the key with Devin before saving it, and checks whether that service user can list organization members. If the key is a personal token, a legacy key, or does not belong to one organization, you’ll see a clear error and nothing is stored.
After it connects, the page shows the organization id and the service user’s name. Those values are read-only. To replace the key, paste a new one and save. Saving re-runs the member-access check. If the check fails, skills and sessions still work, and member tools stay unavailable until you save an Admin-role key.
What agents can do
A Member role is enough for skills and sessions. list_users and get_user need an Admin role.
Skill writes ask for approval by default. A workspace can turn that off the same way it does for other write tools.
Clarion only knows skills it wrote. Devin has no skill list endpoint, so a skill created outside Clarion does not appear in that list. An agent can still read or update it if you already know the name.
Disconnect
To remove the integration:
- In Clarion, open Integrations → Devin.
- Click Disconnect.
This deletes the stored key. Agents lose the Devin tools, and any saved skills that reference the Devin action will surface the integration as missing until you reconnect.
Troubleshooting
”Devin rejected the key”
The key is malformed, unknown, or revoked, or it is not a cog_ service-user key. Create a fresh service-user key in Settings > Devin API and connect again. Personal access tokens and legacy apk_ keys are not accepted.
”Devin connect requires a service-user API key”
The key authenticated as a person rather than a service user. Create a service user in Settings > Devin API and paste that key.
The connected service user is not an Admin, so it cannot list organization members. Skills and sessions still work. Create an Admin-role service user, paste its key, and save. Saving re-runs the check.