Installation & Setup
Install the Cline Extension
Search for Cline in the VS Code Extensions marketplace, or visit: VS Code Marketplace
Open Cline Configuration
Press
Ctrl/Cmd + Shift + P, search for Cline: Open in New Tab, and open the Cline panel. Click the Settings (gear icon) in the top right to open the configuration page.Enter API Configuration
- API Provider: Select
OpenAI Compatible - Base URL:
https://api.elkapi.com/v1 - API Key: Your ElkAPI API key
- Model: The model you want to use, e.g.
gpt-4oorclaude-opus-4-5-20251101
Recommended Models
| Use Case | Recommended Model |
|---|---|
| General coding tasks | gpt-4o |
| Complex agent tasks | claude-opus-4-5-20251101 |
| Quick, lightweight tasks | gpt-4o-mini |
Notes
- Cline’s Agent mode automatically reads/writes files and executes commands. Only use it in trusted project directories, and review each action before approving.
- To use Claude models, you can also switch the Provider to Anthropic and set the Base URL to
https://api.elkapi.com/anthropic - Cline supports custom system prompts — configure project-level rules in its settings