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

# Cline

> Connect Cline through its OpenAI Compatible settings.

Before you start, install the tool and create an API key with prepaid balance in the [AsterWise app](https://app.asterwise.dev).

<Note>Based on the tool’s documented custom-provider setup. Live AsterWise compatibility has not yet been tested for this tool.</Note>

## Which API does this use?

This guide selects **Chat Completions** through the **OpenAI Compatible** provider. The base URL is `https://api.asterwise.dev/v1`. The client builds the full endpoint: `https://api.asterwise.dev/v1/chat/completions`.

The model name chooses AsterCode or AsterWork, not the protocol. Use the base URL in the configuration below, rather than the full endpoint.

## 1. Open settings

Open Cline’s settings using the gear icon. Select **OpenAI Compatible** as the API provider.

## 2. Enter the connection details

| Setting  | Value                          |
| -------- | ------------------------------ |
| Base URL | `https://api.asterwise.dev/v1` |
| API key  | Your AsterWise API key         |
| Model ID | `aster-code`                   |

Keep Azure Identity Authentication off for this API-key connection. Use `aster-work` if you prefer AsterWork.

## 3. Save and try a prompt

Save the settings and start a new chat. If your version has separate Plan and Act model settings, configure the modes you intend to use.

Use the app’s Setup recommendations for context and maximum output tokens. Leave optional image and computer-use features disabled for the initial text check; those switches do not establish model compatibility.

## Check the connection

Ask “Reply with hello” first. Confirm a response appears and find the request in **Usage** in AsterWise. Then try a small coding task before a larger project.

For authentication errors, reopen Cline’s provider settings and check the saved key for the active Plan or Act mode. See [troubleshooting](/errors-fallback).

## Official reference

Configuration reviewed on September 16, 2026. [Cline OpenAI-compatible settings](https://docs.cline.bot/provider-config/openai-compatible).
