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

# Connect Cline

> Set up Cline in VS Code with the Fortytwo API: install the extension, choose OpenAI Compatible, enter the Fortytwo base URL and key, and select qwen/qwen3.8-27b.

[Cline ](https://cline.bot/) is a coding agent for VS Code.

> [!NOTE]
>
> **Before you start:** create a Fortytwo API key and buy credits — see [Quickstart, step 1](https://docs.fortytwo.network/docs/quickstart.md#1-create-an-api-key). Give each agent its own key with a **Spend limit**.
>
> | Setting | Value |
> | - | - |
> | Base URL | `https://api.fortytwo.network/v1` |
> | Model ID | `qwen/qwen3.8-27b` |

**1. Install Cline**

In VS Code, open **Extensions**, search for **Cline** and press **Install** on **Cline** by the verified publisher **Cline**. The extension is also on the [VS Code Marketplace ](https://marketplace.visualstudio.com/items?itemName=saoudrizwan.claude-dev).

![VS Code Extensions view: Cline by the verified publisher Cline, Install button](https://mintcdn.com/fortytwo-f43ac997/HbC5gKcbcuN88RH4/resources/illustrations/agents/cline-1.png?fit=max\&auto=format\&n=HbC5gKcbcuN88RH4\&q=85\&s=bd127a70171f4adefa99d3df2c0c160a)

If VS Code asks **Do you trust the publisher "Cline"?**, press **Trust Publisher & Install**.

![VS Code: Trust Publisher & Install dialog for Cline](https://mintcdn.com/fortytwo-f43ac997/HbC5gKcbcuN88RH4/resources/illustrations/agents/cline-2.png?fit=max\&auto=format\&n=HbC5gKcbcuN88RH4\&q=85\&s=4260264363dda842d92575e0cd482f7e)

**2. Cline onboarding: bring your own API key**

Click the Cline icon in the side bar. On **How will you use Cline?**, choose **Bring my own API key** and press **Continue**.

![Cline: How will you use Cline? with Bring my own API key selected](https://mintcdn.com/fortytwo-f43ac997/HbC5gKcbcuN88RH4/resources/illustrations/agents/cline-3.png?fit=max\&auto=format\&n=HbC5gKcbcuN88RH4\&q=85\&s=ea96ee531890456a53bce523913f2c94)

**3. Enter the Fortytwo settings**

1. In **API Provider**, choose **OpenAI Compatible**.
2. Fill in the fields:

| Field | Enter |
| - | - |
| **Base URL** | `https://api.fortytwo.network/v1` |
| **OpenAI Compatible API Key** | Your Fortytwo API key |
| **Model ID** | `qwen/qwen3.8-27b` |

3. Open **Model Configuration**: turn on **Supports Images**, set **Context Window Size** to `262144`, **Max Output Tokens** to `16384` and **Reasoning Effort** to **Medium**. With **None**, the model answers without reasoning.
4. Press **Continue**.

![Cline: Configure your provider with OpenAI Compatible, the Fortytwo base URL, API key and Model ID qwen/qwen3.8-27b](https://mintcdn.com/fortytwo-f43ac997/HbC5gKcbcuN88RH4/resources/illustrations/agents/cline-4.png?fit=max\&auto=format\&n=HbC5gKcbcuN88RH4\&q=85\&s=d666ad02d4ced260b75dea2869a7fa8e)

![Cline: Model Configuration with Supports Images on, context 262144, max output 16384 and Reasoning Effort Medium](https://mintcdn.com/fortytwo-f43ac997/HbC5gKcbcuN88RH4/resources/illustrations/agents/cline-5.png?fit=max\&auto=format\&n=HbC5gKcbcuN88RH4\&q=85\&s=91d40b81482f849d027d2487a263583a)

**4. Start a task**

Below the message box, Cline shows the active model: `openai-compat:qwen/qwen3.8-27b`.

*If it shows another model, click it and set **Model ID** to `qwen/qwen3.8-27b`.*

Type a task in the message box and press **Enter**.

![Cline: message ready to send, active model openai-compat:qwen/qwen3.8-27b under the message box](https://mintcdn.com/fortytwo-f43ac997/HbC5gKcbcuN88RH4/resources/illustrations/agents/cline-6.png?fit=max\&auto=format\&n=HbC5gKcbcuN88RH4\&q=85\&s=89616d7412697cd7cd73cd57bd6a2e08)

To change the settings later, open **Settings** (the gear in the Cline panel) → **API Configuration**. Plan and Act modes use the same model unless **Use different models for Plan and Act modes** is on. More options: [Cline OpenAI Compatible ](https://docs.cline.bot/provider-config/openai-compatible).

***

Something not working with your agent, or using one we have not listed? Tell us in the platform: [Feedback](https://docs.fortytwo.network/docs/support.md#ideas-feedback-and-small-bugs) for ideas and small bugs, [Contact support](https://docs.fortytwo.network/docs/support.md#support-account-api-billing-credits-errors) if it blocks your work, or [Report a security issue](https://docs.fortytwo.network/docs/support.md#security-issue).


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