Skip to content

Cline Configuration

Configure Any API in Cline to use the autonomous coding assistant.

Step 1: Install Cline Extension

Install from the VS Code extension marketplace:

  1. Open VS Code and press Ctrl+Shift+X (Mac: Cmd+Shift+X) to open the Extensions panel
  2. Search for "Cline"
  3. Find the official Cline extension and click "Install"

Step 2: Configure API

Set up the API provider through the UI:

  1. After installation, click the Cline icon in the left activity bar (robot icon)

  2. Click the gear icon at the top of the Cline panel to open settings

  3. Select "OpenAI Compatible" from the "API Provider" dropdown

  4. Fill in the following:

    SettingValue
    Base URLhttps://anyapi.pro
    API KeyYour API key
    Model IDEnter the model name you need (e.g., claude-sonnet-4-7)
  5. Click "Save" at the bottom of the panel

WARNING

If you don't see the Cline icon in the sidebar, right-click the activity bar and check "Cline" to make it visible.

Step 3: Start Using

  • Open Panel: Click the Cline icon in the sidebar, or press Ctrl+Shift+P (Mac: Cmd+Shift+P) and type "Cline"
  • Start a Conversation: Describe your needs in the bottom input box and press Enter
  • Reference Files: Use @filename in the input box to reference project files
  • Accept/Reject Changes: Review each code modification proposed by Cline and choose to accept or reject

WARNING

Cline can directly read and modify your project files. Make sure your project is managed with Git so you can easily roll back changes.

API PLAT