Skip to main content

Set up Copilot SDK

Learn how to configure and deploy GitHub Copilot SDK for different environments.

Choosing a setup path for Copilot SDK

Find the right setup guide that matches how you plan to use Copilot SDK.

Using Azure Managed Identity with Copilot SDK

Use Azure Managed Identity (Entra ID) to authenticate GitHub Copilot SDK with Azure AI Foundry models instead of static API keys.

Setting up Copilot SDK for backend services

Run GitHub Copilot SDK in server-side applications such as APIs, web backends, microservices, and background workers.

Default setup (bundled CLI)

The Node.js, Python, and .NET SDKs include Copilot CLI as a dependency—your app ships with everything it needs, with no extra installation or configuration required.

Using GitHub OAuth with Copilot SDK

Let users authenticate with their GitHub accounts to use GitHub Copilot through your application.

Using a local CLI with Copilot SDK

Use GitHub Copilot SDK with the CLI already signed in on your machine—the simplest configuration, with no auth code or infrastructure required.

Scaling Copilot SDK deployments

Design your GitHub Copilot SDK deployment to serve multiple users, handle concurrent sessions, and scale horizontally across infrastructure.