Authentication & Setup

Elastic Copilot offers flexible authentication options to suit different workflows and preferences. Choose between our managed subscription service or direct API provider integration.

Authentication Modes

Subscription Mode

Recommended for most users
  • No API keys required
  • Pay-per-use pricing
  • Managed infrastructure
  • Latest model access

Direct Provider Mode

For advanced users
  • Bring your own API keys
  • Direct provider billing
  • Full control over usage
  • Multiple provider support
The easiest way to get started with Elastic Copilot:
1

Open Elastic Copilot

Click the Elastic Copilot icon in VSCode’s sidebar
2

Sign In

Click “Sign In” and authenticate with your browser
  • New users: Create an account during sign-in
  • Existing users: Use your credentials
3

Choose Subscription

Select a subscription plan that fits your usage:
  • Free Tier: Limited monthly usage
  • Pro Plan: Extended usage limits
  • Team Plan: Multi-user collaboration
4

Start Coding

You’re ready! Start using AI commands and chat immediately

Subscription Benefits

Direct Provider Mode Setup

For users who prefer direct control:
Direct provider mode requires managing your own API keys and understanding each provider’s pricing structure.

Supported Providers

Claude Models (Recommended)
1

Get API Key

Visit Anthropic Console and create an API key
2

Configure in Elastic

  • Open Elastic Copilot settings
  • Select “Anthropic” as provider
  • Enter your API key
3

Choose Model

Select from Claude 3.5 Sonnet, Claude 3 Opus, or Claude 3 Haiku

Direct Provider Configuration

1

Open Settings

Click the gear icon in Elastic Copilot sidebar
2

Select Provider

Choose your preferred AI provider from the dropdown
3

Enter Credentials

Provide API keys and any required configuration
4

Test Connection

Send a test message to verify setup

Switching Between Modes

You can switch between subscription and direct provider modes at any time:

To Subscription Mode

  • Open Elastic Copilot settings
  • Click “Use Subscription”
  • Sign in with your account

To Direct Provider Mode

  • Open Elastic Copilot settings
  • Select “Configure Providers”
  • Choose and configure your provider

Security & Privacy

Troubleshooting Authentication

Next Steps

Once authenticated: