Setup
Sign in and configure GitHub Copilot in VS Code
Read time: 3 min
title: "Setup" description: "Sign in and configure GitHub Copilot in VS Code" section: "Copilot" readTime: "3 min"
Setup GitHub Copilot
Quick Start
- Hover over the Copilot icon in the Status Bar → select Use AI Features
- Choose a sign-in method and follow the prompts
- If you have an existing Copilot subscription, VS Code uses it automatically
- If not, you are signed up for the Copilot Free plan (monthly limits apply)
- Type
/initin a chat session to configure your project for AI
Sign in with GitHub Enterprise (GHE)
- Hover over the Copilot icon → select Use AI Features
- In the sign-in dialog, choose Continue with GHE.com
- Provide your GHE instance URL and credentials
Use a Different GitHub Account
- Open the Accounts menu in the Activity Bar
- Select Sign out for your current account
- Sign in with the new account via:
- Copilot status menu → Sign in to use Copilot
- Accounts menu → Sign in with GitHub to use GitHub Copilot
- Command Palette (
Ctrl+Shift+P) →GitHub Copilot: Sign in
Per-Workspace Account Configuration
To use different GitHub accounts per workspace or profile:
For GitHub.com:
- Accounts menu → Manage Extension Account Preferences
- Select GitHub Copilot Chat from the list
- Choose the account for this workspace
For GHE.com, add to your workspace settings.json:
"github.copilot.advanced": {
"authProvider": "github-enterprise"
}Disable AI Features
Use the chat.disableAIFeatures setting to hide all AI features and disable Copilot extensions. Configure at workspace or user level.
Alternatively: Chat menu in title bar → Learn How to Hide AI Features.
Next Step
Run the Quickstart to discover key AI features.