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

# Cline

> Connect OverControl to Cline using an OpenAI-compatible provider, Base URL, API key, and model ID.

Connect OverControl to Cline and use OverControl models directly inside your coding workflow.

Cline is an AI coding agent that can help you understand a codebase, edit files, run commands, inspect errors, and complete development tasks from your editor.

This guide shows how to configure Cline with OverControl using an OpenAI-compatible setup.

***

<Note>
  This guide focuses on the Cline editor setup. Cline is available across multiple developer environments, but custom provider settings may vary depending on the platform.
</Note>

## Where you can use Cline

Cline is available in several developer environments.

| Platform                      | Guidance                                                                                   |
| ----------------------------- | ------------------------------------------------------------------------------------------ |
| **VS Code**                   | Recommended setup path for this guide.                                                     |
| **Cursor**                    | Use the Cline extension if available in your editor.                                       |
| **Windsurf**                  | Use the Cline extension if available in your editor.                                       |
| **VSCodium**                  | Use the Cline extension if available in your editor.                                       |
| **JetBrains IDEs**            | Use the Cline JetBrains plugin and configure OpenAI-compatible settings if available.      |
| **CLI**                       | Cline CLI exists, but this guide does not cover CLI configuration.                         |
| **SDK and advanced surfaces** | Not covered in this guide. Use the editor setup unless you are building a custom workflow. |

<Tip>
  Start with the editor integration. It is the clearest path for connecting OverControl to Cline with a custom endpoint.
</Tip>

***

## Before you start

You need:

* an [OverControl account](https://overcontrolgroup.com/register);
* an OverControl API key;
* the OverControl Base URL;
* one OverControl model ID;
* Cline installed in your editor.

<Card title="Get your API key" icon="key" href="/integrations/get-api-key" cta="Create API key">
  Create an API key before connecting OverControl to Cline.
</Card>

***

## Step 1: Install Cline

Install Cline in your editor.

<Steps>
  <Step title="Open your editor">
    Open VS Code, Cursor, Windsurf, VSCodium, or a supported JetBrains IDE.
  </Step>

  <Step title="Open extensions or plugins">
    In VS Code-style editors, open the Extensions panel. In JetBrains IDEs, open the Plugins marketplace.
  </Step>

  <Step title="Search for Cline">
    Search for **Cline** and install the official extension or plugin.
  </Step>

  <Step title="Open Cline">
    After installation, open Cline from the editor sidebar or command palette.
  </Step>
</Steps>

***

## Step 2: Open Cline settings

Open the Cline panel and go to settings.

The provider settings are where you choose which model provider Cline should use.

***

## Step 3: Select OpenAI Compatible

In Cline settings, choose **OpenAI Compatible** as the API provider.

This option lets Cline connect to providers that expose an OpenAI-compatible endpoint.

***

## Step 4: Enter the OverControl connection values

Enter the OverControl values in the provider fields.

```text theme={null}
Provider: OpenAI Compatible
Base URL: <OVERCONTROL_BASE_URL>
API key: <YOUR_OVERCONTROL_API_KEY>
Model ID: gamma-2-fast
```

Use **gamma-2-fast** for setup testing and everyday coding help.

Use **gamma-2-max** for complex reasoning, larger context, architecture work, and harder debugging.

```text theme={null}
Model ID: gamma-2-max
```

<Warning>
  Keep your API key private. Do not share it in screenshots, commit it to a repository, or paste it into public chats.
</Warning>

***

## Step 5: Save and test the connection

Save the provider settings.

Then send a simple test prompt in Cline:

```text theme={null}
Explain what this project does and list the main files I should understand first.
```

If Cline responds using the selected OverControl model, the integration is working.

***

## How to use Cline with OverControl

Once connected, use Cline for focused coding tasks.

Good tasks include:

* understanding a new codebase;
* explaining a file or function;
* planning an implementation;
* debugging an error;
* reviewing a change;
* refactoring code;
* writing tests;
* improving documentation.

Cline may ask to read files, edit files, run commands, or inspect project output. Review each action before approving it.

***

## Recommended workflow

<Steps>
  <Step title="Start with one task">
    Give Cline a specific coding task, bug, file, or question.
  </Step>

  <Step title="Ask for a plan first">
    For larger changes, ask Cline to explain the plan before editing files.
  </Step>

  <Step title="Approve actions carefully">
    Review file reads, edits, terminal commands, and browser actions before approving them.
  </Step>

  <Step title="Review the diff">
    Check the code changes before accepting or committing them.
  </Step>

  <Step title="Run tests">
    Ask Cline to run the relevant test, build, or lint command when appropriate.
  </Step>
</Steps>

***

## Troubleshooting

<AccordionGroup>
  <Accordion title="Cline says the API key is invalid">
    Check that the OverControl API key was copied correctly and has not been revoked. Create a new key if needed.
  </Accordion>

  <Accordion title="Cline cannot connect to the provider">
    Check that the Base URL is correct and that your network allows the connection.
  </Accordion>

  <Accordion title="Cline says the model was not found">
    Make sure the model ID is copied exactly.
  </Accordion>

  <Accordion title="The OpenAI Compatible provider is missing">
    Make sure you are using a Cline surface that exposes custom provider settings.
  </Accordion>

  <Accordion title="Requests fail after setup">
    Check your plan, usage allowance, API access, model ID, Base URL, and API key.
  </Accordion>
</AccordionGroup>

***

## Next steps

<CardGroup cols={3}>
  <Card title="Get your API key" icon="key" href="/integrations/get-api-key">
    Create and manage your OverControl API key.
  </Card>

  <Card title="Models" icon="brain" href="/models">
    Choose the right model for Cline.
  </Card>

  <Card title="Integrations overview" icon="plug" href="/integrations/overview">
    Return to all supported integrations.
  </Card>
</CardGroup>
