Prerequisites
Before installing Cubent, make sure you have:- Visual Studio Code (version 1.70.0 or higher)
- An AI provider account (OpenAI, Anthropic, or custom API)
- Internet connection for AI model access
Step 1: Install the Extension
From VS Code Marketplace
- Open Visual Studio Code
- Go to the Extensions view (
Ctrl+Shift+X
orCmd+Shift+X
) - Search for “Cubent”
- Click Install on the official Cubent extension
From Command Line
Manual Installation
- Download the
.vsix
file from GitHub Releases - In VS Code, go to Extensions view
- Click the ”…” menu and select “Install from VSIX…”
- Select the downloaded
.vsix
file
Step 2: Connect Your AI Provider
After installation, you’ll need to configure your AI provider:OpenAI Setup
- Get your API key from OpenAI Platform
- Open Cubent settings in VS Code
- Enter your OpenAI API key
- Select your preferred model (GPT-4 recommended)
Anthropic (Claude) Setup
- Get your API key from Anthropic Console
- In Cubent Coder settings, select “Anthropic” as provider
- Enter your Anthropic API key
- Choose your Claude model
Custom API Setup
For local models or custom APIs:- Select “Custom” as your provider
- Enter your API endpoint URL
- Configure authentication if required
- Test the connection
Step 3: First Configuration
Basic Settings
Configure these essential settings for optimal experience:- Auto-approval: Set approval preferences for different actions
- Context window: Adjust based on your model’s capabilities
- Custom instructions: Add project-specific guidelines
Workspace Setup
- Open your project in VS Code
- Cubent will automatically index your codebase
- Wait for the initial indexing to complete
- You’re ready to start coding with AI!
Verification
To verify your installation:- Open the Cubent panel (sidebar icon)
- Try a simple command: “Hello, can you help me?”
- You should receive a response from your AI provider
If you encounter any issues during installation, join our Discord community for help or check our GitHub repository for solutions.