docs/integrations/app-connections/devin.mdx
Devin 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.

</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>

</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>