Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
---
title: "Devin connection"
sidebarTitle: "Devin"
description: "Learn how to configure a Devin connection for Infisical."
---
[Devin](https://devin.ai/) is an AI software engineer from Cognition. Infisical supports connecting to Devin using a service-user **API Key**, which is used to push secrets into a Devin organization via [Devin Secret Sync](/integrations/secret-syncs/devin).
## Prerequisites
- A [Devin account](https://app.devin.ai/) with an organization you can manage
## Create a Devin API key
<Steps>
<Step title="Create a Service User">
In your Devin organization settings, create a service user that Infisical will act as. Fill in the service user details and submit the form.

</Step>
<Step title="Copy the API Key">
Devin displays the new service user's API key immediately after creation. Copy the key, it begins with the `cog_` prefix and will only be shown once. Store it securely; you will use it when creating the Infisical connection.

</Step>
</Steps>
## Create Devin connection in Infisical
<Tabs>
<Tab title="Infisical UI">
<Steps>
<Step title="Navigate to App Connections">
In your Infisical dashboard, go to **Integrations** → **App Connections**, either in your organization or in a project.

</Step>
<Step title="Select Devin Connection">
Click **Add Connection** and choose **Devin** from the list of available connections.

</Step>
<Step title="Fill out Connection Form">
Complete the form with:
- A **name** for the connection (e.g. `devin-prod`)
- An optional **description**
- Your **Devin API Key** (the `cog_…` value from the steps above)

</Step>
<Step title="Connection Created">
After clicking Create, your **Devin Connection** is established and ready to use with your Infisical project.
</Step>
</Steps>
</Tab>
<Tab title="API">
Create a Devin connection via the API.
### Sample request
```bash Request
curl --request POST \
--url https://app.infisical.com/api/v1/app-connections/devin \
--header 'Content-Type: application/json' \
--data '{
"name": "my-devin-connection",
"method": "api-key",
"credentials": {
"apiKey": "cog_<YOUR-DEVIN-API-KEY>"
}
}'
```
### Sample response
```bash Response
{
"appConnection": {
"id": "e5d18aca-86f7-4026-a95e-efb8aeb0d8e6",
"name": "my-devin-connection",
"description": null,
"version": 1,
"orgId": "6f03caa1-a5de-43ce-b127-95a145d3464c",
"createdAt": "2026-04-20T19:46:34.831Z",
"updatedAt": "2026-04-20T19:46:34.831Z",
"isPlatformManagedCredentials": false,
"app": "devin",
"method": "api-key",
"credentials": {}
}
}
```
</Tab>
</Tabs>