> ## Documentation Index
> Fetch the complete documentation index at: https://docs.corridor.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Devin

> Integrate Corridor with Cognition's Devin AI coding assistant for real-time security guardrails.

Corridor integrates with Devin via MCP, providing security guardrails to Devin's AI agent as it writes and refactors code.

## Prerequisites

* A Devin account with access to Organization settings
* A Corridor account with a team created

## Setup

<Steps>
  <Step title="Generate a Corridor API token">
    Generate a Corridor API token at [app.corridor.dev/settings](https://app.corridor.dev/settings).
  </Step>

  <Step title="Add Corridor from Devin's MCP Marketplace">
    In Devin, go to **Organization settings → MCP Marketplace** and add Corridor. Add your token in the **Authorization Header** field.
  </Step>

  <Step title="Add knowledge for Corridor">
    Add new knowledge pinned to all repositories with a prompt instructing Devin to always call Corridor when generating code. This ensures Devin's agent consults Corridor's guardrails on every task.
  </Step>
</Steps>

Once configured, Corridor becomes Devin's security conscience—providing proactive security context so Devin avoids insecure suggestions from the start.

## Next steps

<CardGroup cols={2}>
  <Card title="Guardrails" icon="shield-check" href="/features/guardrails">
    Learn how guardrails protect your code
  </Card>

  <Card title="Corridor MCP" icon="plug" href="/features/corridor-mcp">
    Explore Corridor's MCP tools
  </Card>
</CardGroup>
