Before You Start
You need:- A Devin organization with the repositories Rootly AI should investigate available to it.
- Permission in Devin to create a service user and assign its role.
- Permission in Rootly to manage AI connectors.
- An organization-scoped service-user API key beginning with
cog_.
Connect Devin
Use these steps to connect a dedicated Devin service user to Rootly AI.Create a Devin Service User
Generate the API Key
cog_ when Devin displays it.Open the Devin AI Connector
Enter the Service-User Key
Confirm the Connection
AI SRE Repository Tools
AI SRE receives four repository-focused tools:Investigation Examples
- “Which repositories can Devin access for the checkout service?”
- “Read the checkout repository’s architecture wiki and trace a request from the API to the payment provider.”
- “Which retry and idempotency edge cases could explain duplicate charges in this incident?”
- “Find where this error is handled and identify the tests that cover an upstream timeout.”
- “Compare the repository documentation with the observed failure. Which assumption no longer holds?”
- “The repository name is ambiguous. List the available matches before reading its wiki.”
Slack AI Platform Tools
Slack AI can use the broader reviewed Devin catalog. Supported read-only actions are available to Slack AI users; actions that change Devin resources additionally require permission to manage AI connectors. Slack AI users can use read-only Devin tools from an incident channel, the Slack assistant pane, or a direct message. Users with permission to manage AI connectors can also run mutating Devin actions from those surfaces. Rootly-native writes such as paging or changing an incident remain limited to incident channels; Devin actions use the connector-specific boundary instead. Slack AI also receives the four repository tools listed above. The following platform operations are read-only and do not require permission to manage AI connectors:action, Rootly treats any action not listed in the read-only table as mutating for authorization and confirmation.
These tools can change your Devin organization or consume Devin credits. Rootly asks for confirmation before high-risk calls when your Rootly AI guardrails require it, and checks the user’s permission to manage AI connectors again immediately before execution.
Slack AI Examples
- “Start a Devin session to reproduce the checkout timeout, add a regression test, and report the result here.”
- “Check the session’s progress and summarize the evidence it has gathered so far.”
- “Send the failed test output to the active session and ask Devin to revise its approach.”
- “Generate the wiki for the newly connected repository, then confirm when it is ready.”
- “Find the on-call configuration for this service without changing it.”
Access and Data Handling
- Permission-scoped: Devin applies the connected service user’s organization role and repository access to every request.
- Surface-specific tools: AI SRE receives only repository tools. Slack AI receives the broader platform catalog, but changing Devin resources additionally requires permission to manage AI connectors.
- Reviewed tool sets: Rootly blocks newly advertised Devin tools until they are reviewed and explicitly supported.
- Encrypted credential: Rootly stores the organization-scoped service-user API key encrypted at rest.
- Data sent to Cognition: Prompts, repository identifiers, questions, and platform action parameters are processed by Cognition.
- Redacted session history: Raw Devin tool results and the response derived from them are available during the active interaction but are replaced with omission markers in durable AI session history.
- Quality traces: Connector results can appear in retained LLM traces used for quality monitoring. See Data Privacy for Rootly AI for the retention boundary.
- Audit boundary: Rootly logs connector tool-call telemetry, but a provider-side change is not a standard Rootly audit event attributed to the requesting user. Review Devin’s audit history for provider-side records associated with the service user.
Managing the Connection
Open the Devin card to reconfigure or disconnect it. To rotate the key, create a replacement organization-scoped key in Devin and reconnect with it. Rootly validates the replacement before removing the working connection, so a failed validation leaves the existing connection available. After a successful rotation, revoke the old key in Devin. Disconnecting removes Rootly’s stored credential and prevents future Devin queries or actions; it does not revoke the key in Devin or delete Devin resources.Troubleshooting
Rootly rejects the API key
Rootly rejects the API key
cog_. Rootly cannot use a key that requires a separate X-Org-Id header or a legacy key beginning with apk_ or apk_user_.The key is accepted but validation fails
The key is accepted but validation fails
A repository is missing
A repository is missing
A Slack AI user cannot launch a Devin session
A Slack AI user cannot launch a Devin session
A Devin session cannot start or stops early
A Devin session cannot start or stops early
Queries fail after the connector worked previously
Queries fail after the connector worked previously
Frequently Asked Questions
Does Rootly support OAuth for Devin?
Does Rootly support OAuth for Devin?
Can I use an enterprise key with an organization ID?
Can I use an enterprise key with an organization ID?
X-Org-Id header are not supported. Generate an organization-scoped service-user key for the Devin organization you want to connect.Can AI SRE launch or control Devin sessions?
Can AI SRE launch or control Devin sessions?
Does connecting Devin also connect DeepWiki?
Does connecting Devin also connect DeepWiki?