The listing is free on AWS Marketplace with an external Devin license. Devin usage is billed through your Devin subscription, and standard AWS infrastructure charges apply (AgentCore Runtime, Secrets Manager, CloudWatch). You can get a Devin subscription through Devin by Cognition on AWS Marketplace.
How it works
The integration has two parts:- The connector is a container you run in your AWS account on Amazon Bedrock AgentCore Runtime. AWS Transform calls it through an IAM role you create. It carries job chat, artifacts, progress updates and review tasks between AWS Transform and Devin.
- Devin runs in Cognition’s environment under your Devin subscription. It commits only through your existing source control connection, as pull requests you approve.
- Select Devin: build, test, deploy and provide the modernization artifacts and the connected repository.
- Discuss scope with Devin in the job chat. Progress shows up in the job’s Plan and Worklogs.
- Devin proposes a plan and sends decisions to you as AWS Transform review tasks. Open questions stay in chat.
- Devin applies the transformed artifacts on a separate baseline branch, builds and tests them, and opens pull requests. You approve each one with a review task.
- Your team deploys through its own reviewed pipeline, using its own AWS IAM roles.
Security model
- No long-lived AWS access keys. Install with an administrator’s short-lived credentials, or let Devin install with keyless OIDC federation.
- Separate roles. Installation, the runtime and AWS Transform each use their own role. The two runtime roles are capped by a permissions boundary you deploy first.
- Devin API key in Secrets Manager. The runtime reads the key at startup. It never appears in stack parameters, chat, logs or git.
- Repository restrictions. You can limit which repositories Devin may open pull requests in.
- Hardened image. The container has no shell or package manager, runs as a non-root user, is scanned before release and ships with SBOMs.
- Outbound only. The runtime needs outbound HTTPS to the Devin API and AWS endpoints, and accepts no inbound traffic except AgentCore invocations.
Prerequisites
- An AWS account with AWS Transform enabled in
us-east-1, the only supported region today. Use it for the runtime, the secret and your jobs. - An AWS administrator who can deploy CloudFormation stacks that create IAM roles.
- AWS CLI v2, configured with that administrator’s credentials.
- A Devin organization with the target source repositories connected.
- A Devin service user for the runtime, with an API key that has the ViewOrgSessions, UseDevinSessions and ManageOrgSessions permissions. Note your Devin organization ID.
Setup
These steps install the connector yourself with the AWS CLI. To have Devin run steps 3 to 6 for you, see Optional: let Devin install it.1
Subscribe on AWS Marketplace
Subscribe to Devin for AWS Transform: Modernization Agent on AWS Marketplace. On the fulfillment page, copy the image URI and the image’s repository ARN, and save them in your shell as
IMAGE_URI and MARKETPLACE_REPO_ARN. The commands below use them. The tag at the end of the image URI is the version you’ll enter in AWS Transform later.2
Get your AWS account allowlisted
Contact us to get your AWS account allowlisted. Include:
devin-modernization now appears with the status Pending configuration. Leave it there while you deploy and verify the runtime in steps 3 to 6. You’ll configure it in step 7.
- Your 12-digit AWS account ID
- The region you’ll use (
us-east-1) - Your Devin organization name


3
Store the Devin API key in Secrets Manager
Save the runtime service user’s API key (it starts with You can also create it in the Secrets Manager console: choose Other type of secret, then Plaintext, and paste the key.
cog_) as a plain-text secret named devin-atx/devin-api-key:4
Deploy the permissions boundary
Save the boundary template below as
boundary.yaml and deploy it. It creates the devin-atx-boundary policy, the most either runtime role can ever do. Its MarketplaceImageRepository parameter takes the repository ARN from your fulfillment page, and the boundary only allows pulling images from that repository.5
Deploy the runtime
Save the runtime template below as
runtime.yaml. Create a change set, review it, then execute it:The stack creates the AgentCore runtime
devin_atx_orchestrator, its execution role devin-atx-agentcore-execution, and the AWS Transform invocation role devin-atx-transform-invoke. Read the two ARNs you need next from the stack outputs:6
Verify the runtime
Invoke the runtime’s self-check. It reads the Devin key from Secrets Manager and makes one read-only Devin API call:A healthy runtime returns
"ok": true with "devinKey": "pass" and "devinApi": "pass". See Troubleshooting if either fails.7
Configure the partner agent in AWS Transform
Go back to Partner agents, select devin-modernization (still in Pending configuration) and choose Configure. Enter:
The status changes to Enabled.

- Agent Version: the version from step 1
- Runtime ARN: the stack’s
RuntimeArnoutput - Role ARN: the stack’s
InvokeRoleArnoutput



8
Start a job
Create an AWS Transform job and select Devin: build, test, deploy. Provide the modernization artifacts and the connected repository, then discuss scope in the job chat. Review the plan and each pull request through the job’s review tasks.
Updating and maintenance
- New version: redeploy the runtime stack with the new
ImageUri, run the self-check, then set the new Agent Version under Configure. - Key rotation: paste the new key into the secret in the Secrets Manager console, or run the step 3 commands with
put-secret-value --secret-idinstead ofcreate-secret --name. Then run the self-check again. - Allowed repositories: redeploy the runtime stack with a new
DevinTargetReposvalue. - Uninstall: in AWS Transform, choose Disable on the partner agent, then delete the
devin-atx-runtimestack, the boundary stack (or the installer policy stack, if Devin installed it) and the secret.
Troubleshooting
Runtime logs are in CloudWatch under
/aws/bedrock-agentcore/runtimes/<runtime-id>-DEFAULT. When contacting Cognition, include the AWS RequestIds and the time of the failure. Never include API keys or OIDC tokens.
Templates
Permissions boundary template
boundary.yaml
boundary.yaml
Runtime template
runtime.yaml
runtime.yaml
Optional: let Devin install it
A Devin session can run the installation for you, showing you every change set and waiting for your approval. It uses keyless OIDC federation: AWS trusts tokens from your Devin organization, but only for one dedicated installer service user.- Create a second Devin service user for installation (separate from the runtime service user). Note its
service-user-…ID. - Deploy the OIDC trust template with your
DevinOrgId, the installerDevinDeployServiceUserId, andDevinIssuerHost(app.devin.ai, or your enterprise host). It creates thedevin-aws-transform-agentrole, with no permissions. - Deploy the installer policy template instead of the boundary template. Pass the same
MarketplaceImageRepositoryas in step 4. It creates the samedevin-atx-boundaryplus two scoped installer policies attached to that role. - In a session started as the installer service user, ask Devin to set up Devin for AWS Transform in your AWS account and region, and give it your image URI and repository ARN from the fulfillment page. You still request the allowlisting and configure the partner agent yourself.
OIDC trust template
devin-oidc.yaml
devin-oidc.yaml
Installer policy template
devin-deploy-policy.yaml
devin-deploy-policy.yaml

