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

# Roo Code

> Use the Roo Code VS Code extension with Routeway via the OpenAI-compatible API.

Roo Code can connect to Routeway through the OpenAI-compatible API. Use this setup to run Roo Code against Routeway models inside VS Code.

<Note>
  Requires a valid Routeway API key. Get yours from the [dashboard](https://routeway.ai/dashboard/api-keys).
</Note>

***

## Setup

<Steps>
  <Step title="Install Roo Code">
    * Open Extensions in VS Code (`Ctrl+Shift+X`)
    * Search for **Roo Code**
    * Click **Install**
  </Step>

  <Step title="Configure Routeway as an OpenAI-compatible provider">
    In Roo Code settings, enter:

    * **Provider**: OpenAI Compatible
    * **Base URL**: `https://api.routeway.ai/v1`
    * **API key**: Your Routeway API key
  </Step>

  <Step title="Choose a tools-capable model">
    For coding workflows, choose a model that supports function calling. Browse available options at [routeway.ai/models](https://routeway.ai/models).
  </Step>

  <Step title="Verify the integration">
    Open a project in VS Code and ask Roo Code to inspect the repository or explain an implementation path. If it responds normally and can use tools when needed, the setup is working.
  </Step>
</Steps>

***

## Example Prompts

Try these once you're connected:

* *"Map the main modules in this repo and what each one does."*
* *"Find where request X is handled and explain the flow."*
* *"Refactor: extract this logic into a helper and update call sites."*
* *"Run lint/tests and fix issues until it passes."*
