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

# Use Poolside models in Cline

> Configure Cline to use Poolside models.

## Watch the setup video

[Cline setup video - embed](https://www.youtube.com/embed/lcda24_yK7E)

## Prerequisites

* You have Cline installed in a supported editor. For installation options, see [Installing Cline](https://docs.cline.bot/getting-started/installing-cline).
* You have one of the following:
  * A Poolside Platform API key. To create one, go to [platform.poolside.ai](https://platform.poolside.ai/).
  * An OpenRouter API key with access to Poolside models. To create one, go to [OpenRouter API keys](https://openrouter.ai/keys).

## Steps

> [tab] Poolside Platform
>
> 1. In Cline, select **Use your own API Key**.
>
> 2. Configure the OpenAI-compatible endpoint.
>
>    | Setting | Value |
>    | - | - |
>    | **API Provider** | **OpenAI Compatible** |
>    | **Base URL** | `https://inference.poolside.ai/v1`. You can also copy the endpoint URL from Poolside Platform. |
>    | **API Key** | Your Poolside Platform API key. In Poolside Platform, open **API Keys**, create a key, and copy it into Cline. |
>    | **Model** | Select a Poolside model from the models Cline lists for the endpoint. |
>    | **Support Images** | Clear the checkbox. |
>    | **Context Window Size** | `<context-window>`. For the context window of the model you selected, see [Supported models](https://docs.poolside.ai/get-started/supported-models.md). |
>
> 3. Start a new chat and send a codebase question to confirm Cline responds with the selected Poolside model.

> [tab] OpenRouter
>
> 1. In Cline, select **Use your own API Key**.
>
> 2. Configure OpenRouter as the provider.
>
>    | Setting | Value |
>    | - | - |
>    | **API Provider** | **OpenRouter** |
>    | **OpenRouter API Key** | Your OpenRouter API key. To create one, go to [OpenRouter API keys](https://openrouter.ai/keys). |
>    | **Model** | Select a Poolside model. |
>    | **Support Images** | Clear the checkbox. |
>    | **Context Window Size** | `<context-window>`. For the context window of the model you selected, see [Supported models](https://docs.poolside.ai/get-started/supported-models.md). |
>
> 3. Start a new chat and send a codebase question to confirm Cline responds with the selected Poolside model.

## Related resources

* [Editors](https://docs.poolside.ai/tools.md#editors)
* [Poolside API](https://docs.poolside.ai/api/overview.md)
* [Supported models](https://docs.poolside.ai/get-started/supported-models.md)
* [OpenRouter API keys](https://openrouter.ai/keys)
* [Poolside models on OpenRouter](https://openrouter.ai/poolside)
* [Cline documentation](https://docs.cline.bot/getting-started/authorizing-with-cline)
* [Cline OpenRouter provider docs](https://docs.cline.bot/provider-config/openrouter)
* [Cline OpenAI Compatible provider docs](https://docs.cline.bot/provider-config/openai-compatible)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.