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

# Cline

> Run Cline on RedPill through Private AI Proxy, or configure it by hand.

Cline speaks Chat Completions through its OpenAI Compatible provider. Private AI Proxy does not
configure it automatically; enter the app's Local API values by hand.

## With Private AI Proxy

1. Install [Private AI Proxy](/get-started/private-ai-proxy), sign in, and turn on **Protected**.

2. In Cline's settings, choose **OpenAI Compatible** and enter the Local API values:

   | Field    | Value                                         |
   | -------- | --------------------------------------------- |
   | Base URL | `http://127.0.0.1:4180/v1`                    |
   | API key  | The client key from the app's Overview screen |
   | Model ID | A model from the app's verified catalog       |

3. Start a task.

Requests succeed only while Protected is on. From the CLI, `pap token show` prints the
client key and `pap models list` the catalog.

## Without the Proxy

| Field        | Value                                                      |
| ------------ | ---------------------------------------------------------- |
| API Provider | **OpenAI Compatible**                                      |
| Base URL     | `https://api.redpill.ai/v1`                                |
| API key      | Your RedPill API key                                       |
| Model ID     | An exact ID from [`GET /v1/models`](/api-reference/models) |

Copy the model's context and output limits from the live catalog when you enter a model by hand.

This path does not verify ACI locally. For confidential-only routing, use an `is_tee: true` model
with `https://tee.redpill.ai/v1`. See [Verified ACI clients](/guides/verified-aci-client).

## Check the connection

Use Cline's **Verify** action, then run a read-only request in a disposable repository and confirm
the selected provider and model.

## Troubleshooting

| Symptom                        | Check                                                   |
| ------------------------------ | ------------------------------------------------------- |
| Verify fails with the Proxy    | Protected must be on; copy the client key again.        |
| Verify fails without the Proxy | Keep `/v1` in the base URL and refresh the API key.     |
| Tool calls fail                | Choose a model that declares `tools` and repeat Verify. |

## References

* [Cline OpenAI-compatible providers](https://docs.cline.bot/provider-config/openai-compatible)
* [RedPill model catalog](/api-reference/models)
