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

# Kilo Code

> Learn how to configure Kilo Code to use Unbound Security AI Gateway

## What is Kilo Code?

Kilo Code is an all-in-one agentic engineering platform that brings AI-powered coding assistance directly to your IDE and CLI.

When integrated with the **Unbound Security AI Gateway**, all AI requests from Kilo Code are securely routed through Unbound, enabling centralized guardrails, observability, and provider routing.

## Prerequisites

* **Unbound account** — Sign up at [gateway.getunbound.ai](https://gateway.getunbound.ai) if you don't have one
* **Kilo Code extension** installed in your IDE, or **Node.js 20+** for the CLI

## Get Your API Key

Go to [gateway.getunbound.ai/connect](https://gateway.getunbound.ai/connect) and copy your **API Key**.

## IDE Extension Setup

1. **Open Extensions** (Ctrl/Cmd + Shift + X)
2. **Search "Kilo Code"** and **Install** the extension
3. **Open the Kilo extension**
4. Select **"Use your own API key"**
5. Set API Provider to **"OpenAI Compatible"**
6. **Base URL**: `https://api.getunbound.ai/v1`
7. **API Key**: Paste the API key from the connect page
8. **Select a model** (e.g., `claude-opus-4-5`, `gpt-5.1`)
9. **Save & Continue**

## CLI Setup

1. Install: `npm install -g @kilocode/cli`
2. Run: `kilocode`
3. Set API Provider to **"Unbound"**
4. Paste your API key
5. Select a model

## Usage

After configuration, Kilo Code will automatically route all AI requests through the Unbound Gateway. All requests will be monitored, secured, and routed according to your organization's policy settings.

<CardGroup cols={2}>
  <Card title="Unbound CLI" icon="terminal" href="/cli/overview">
    Install the CLI to set up and manage tools
  </Card>

  <Card title="Tool Policies" icon="shield" href="/policies/tool-policies">
    Configure security guardrails for AI tools
  </Card>
</CardGroup>
