Quick Setup

Step 1: Install VS Code

Download and install VS Code from code.visualstudio.com

Step 2: Install Continue.dev Extension

  1. Open VS Code
  2. Go to Extensions (Ctrl+Shift+X)
  3. Search for “Continue” and install it

Step 3: Get Your Costa Configuration

Use this curl command to fetch your Costa configuration directly:
curl -fsSL https://raw.githubusercontent.com/costa-security/install/main/continue/init.sh | bash -s -- <YOUR_API_KEY>
Replace YOUR_COSTA_API_KEY with your actual API key from ai.costa.app

Step 4: Manual Configuration (Alternative)

If you prefer to set it up manually, create ~/.continue/config.yaml:
config.yaml
# === AUTO-GENERATED BY COSTA START ===
# This section is automatically generated by Costa.
# You may edit it, but any changes may be overwritten by future updates.
name: Costa Assistant
version: 0.1.0
schema: v1
models:
  - name: 💫 Costa Auto Router
    provider: openai
    model: costa/auto
    apiBase: https://ai.costa.app/api/v1
    apiKey: PASTE_KEY_HERE
    capabilities:
      - tool_use
  - name: Gemini 2.5 Pro
    provider: openai
    model: gemini-2.5-pro
    apiBase: https://ai.costa.app/api/v1
    apiKey: PASTE_KEY_HERE
    capabilities:
      - tool_use
  - name: Claude Sonnet 4
    provider: openai
    model: claude-sonnet-4
    apiBase: https://ai.costa.app/api/v1
    apiKey: PASTE_KEY_HERE
    capabilities:
      - tool_use
  - name: Gemini 2.5 Flash
    provider: openai
    model: gemini-2.5-flash
    apiBase: https://ai.costa.app/api/v1
    apiKey: PASTE_KEY_HERE
    capabilities:
      - tool_use
  - name: Claude Sonnet 3.7
    provider: openai
    model: claude-sonnet-3.7
    apiBase: https://ai.costa.app/api/v1
    apiKey: PASTE_KEY_HERE
    capabilities:
      - tool_use
  - name: GPT 4.1
    provider: openai
    model: gpt-4.1
    apiBase: https://ai.costa.app/api/v1
    apiKey: PASTE_KEY_HERE
    capabilities:
      - tool_use
  - name: Llama 4 Maverick
    provider: openai
    model: llama-4-maverick-17b-128e-instruct
    apiBase: https://ai.costa.app/api/v1
    apiKey: PASTE_KEY_HERE
    capabilities:
      - tool_use
# If you would like to add your own configuration(s), place it below.
# With YAML, the last key wins.
# === AUTO-GENERATED BY COSTA END ===

Step 5: Add Your API Key

Replace PASTE_KEY_HERE with your actual Costa API key in the config file.

Step 6: Restart VS Code

Restart VS Code and you’re ready to go!

Usage

  • Open the Continue chat panel in VS Code sidebar
  • Select any Costa model from the dropdown
  • Start coding with AI assistance

Support

Need help? Contact us at support@costa.app