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

# Integrate Cline

<img src="https://mintcdn.com/liaobots/pAzQwH2vlz1d7UuQ/images/API/cline/cline-icon.jpg?fit=max&auto=format&n=pAzQwH2vlz1d7UuQ&q=85&s=ae05a12bb8d1957b294b11fbcfe8fb98" alt="Cline" width="256" height="256" data-path="images/API/cline/cline-icon.jpg" />

Search for cline in VSCode and install

Official website: [https://code.visualstudio.com/](https://code.visualstudio.com/)

## Preparation:

> `Base URL`：[https://ai.liaobots.work/v1](https://ai.liaobots.work/v1)
>
> `API Key`：Your Login Code
>
> `Model ID`：Find the model name you need to call in [Models & Pricing](/Aggregation/Model-Price.mdx) and copy it

## Process

<Steps>
  <Step title="Step 1">
    <Card title="Choose to Use Your Own API" img="https://mintcdn.com/liaobots/pAzQwH2vlz1d7UuQ/images/API/cline/step-1.jpg?fit=max&auto=format&n=pAzQwH2vlz1d7UuQ&q=85&s=7929be70bb79ba593c49aae6fad9ff7d" width="2400" height="1600" data-path="images/API/cline/step-1.jpg">
      Select `Use your own API Key`
    </Card>
  </Step>

  <Step title="Step 2">
    <Card title="Change Custom Model Provider to OpenAI Compatible" img="https://mintcdn.com/liaobots/pAzQwH2vlz1d7UuQ/images/API/cline/step-2.jpg?fit=max&auto=format&n=pAzQwH2vlz1d7UuQ&q=85&s=df58ba6e03d676eb3bd20955ebf33c3f" width="2400" height="1600" data-path="images/API/cline/step-2.jpg">
      Select `OpenAI Compatible` in `API Provider`
    </Card>
  </Step>

  <Step title="Step 3">
    <Card title="Change Key Settings" img="https://mintcdn.com/liaobots/pAzQwH2vlz1d7UuQ/images/API/cline/step-3.jpg?fit=max&auto=format&n=pAzQwH2vlz1d7UuQ&q=85&s=c2f57bbd653fe553eb5503a0083c60b6" width="2400" height="1600" data-path="images/API/cline/step-3.jpg">
      Fill in `BASE URL`, `API Key`, and `Model ID`
    </Card>
  </Step>

  <Step title="Step 4">
    <Card title="Test Connection" img="https://mintcdn.com/liaobots/pAzQwH2vlz1d7UuQ/images/API/cline/step-4.jpg?fit=max&auto=format&n=pAzQwH2vlz1d7UuQ&q=85&s=2048dc9711ddd451f5a81de26e2c012b" width="2400" height="1600" data-path="images/API/cline/step-4.jpg">
      Click `plan` in the bottom right corner and send a test message
    </Card>
  </Step>
</Steps>
