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

# Use Kimi in RooCode

This guide explains how to use the Kimi K2.7 Code model in the RooCode extension for VS Code.

> RooCode is an AI programming extension for VS Code, maintained by the RooCode Team. Its configuration options and supported capabilities may change across RooCode versions. This guide is based on the official Kimi API calling method and describes a general integration approach: forwarding RooCode model requests to the Kimi API through the Moonshot provider.

## Get an API Key:

Visit [Kimi Open Platform](https://platform.kimi.ai/console/api-keys) to create an API key, and choose the default project.

## Install RooCode

1. Open VS Code.
2. Click the Extensions icon in the left activity bar, or use the shortcut `Ctrl+Shift+X` / `Cmd+Shift+X`.
3. Enter `roo code` in the search box.
4. Find the `Roo Code` extension, usually published by RooCode Team.
5. Click the `Install` button to install it.
6. After installation, you may need to restart VS Code.

<img src="https://mintcdn.com/moonshotai/dink2O4VJx7ks4ld/assets/pics/cline/search_roocode.png?fit=max&auto=format&n=dink2O4VJx7ks4ld&q=85&s=8799d73907d0821eb0378c7ede6e4c2d" alt="search-roocode" width="1192" height="1390" data-path="assets/pics/cline/search_roocode.png" />

## Verify Installation

After installation, you can verify that RooCode was installed successfully in either of these ways:

1. Check whether the RooCode icon appears in the left activity bar in VS Code.
2. Open the command palette with `Ctrl+Shift+P` / `Cmd+Shift+P` and search for commands related to "RooCode".

## Configure The Moonshot Provider

Configure RooCode as follows:

* Set API Provider to `Moonshot`.
* Set Moonshot Entrypoint to `api.moonshot.ai`.
* Set Moonshot API Key to the key you obtained from Kimi Open Platform.
* Set Model to `kimi-k2.7-code`.
* Under Browser, select `Disable browser tool usage`.

<img src="https://mintcdn.com/moonshotai/dink2O4VJx7ks4ld/assets/pics/cline/moonshot_roocode.png?fit=max&auto=format&n=dink2O4VJx7ks4ld&q=85&s=94e017131c2b60b04efcaaa14adb0f6a" alt="roocode" width="1706" height="1588" data-path="assets/pics/cline/moonshot_roocode.png" />
