## Watch the setup video

Poolside with Cline

[Poolside with Cline](https://www.loom.com/share/3dc650ad3ec74d3eb33a192474e0842e?source=embed_watch_on_loom_cta)

## 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

### 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**   | `256000`. To confirm the context window for a model, see [Supported models](https://docs.poolside.ai/get-started/supported-models).          |

3. Start a new chat and send a codebase question to confirm Cline responds with the selected Poolside model.

### 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**   | `256000`. To confirm the context window for a model, see [Supported models](https://docs.poolside.ai/get-started/supported-models).          |

3. Start a new chat and send a codebase question to confirm Cline responds with the selected Poolside model.
