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:
- Open VS Code and press
Ctrl+Shift+X(Mac:Cmd+Shift+X) to open the Extensions panel - Search for "Cline"
- Find the official Cline extension and click "Install"
Step 2: Configure API
Set up the API provider through the UI:
After installation, click the Cline icon in the left activity bar (robot icon)
Click the gear icon at the top of the Cline panel to open settings
Select "OpenAI Compatible" from the "API Provider" dropdown
Fill in the following:
Setting Value Base URL https://anyapi.proAPI Key Your API key Model ID Enter the model name you need (e.g., claude-sonnet-4-7)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
@filenamein 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.
