data-tools/ssms/github-copilot/get-started.md at main · MicrosoftDocs/data-tools · GitHub
Skip to content

Latest commit

 

History

History
63 lines (40 loc) · 3.91 KB

File metadata and controls

63 lines (40 loc) · 3.91 KB
title Get Started
titleSuffix GitHub Copilot in SQL Server Management Studio
description Learn how to get started using GitHub Copilot in SQL Server Management Studio (SSMS).
author rwestMSFT
ms.author randolphwest
ms.reviewer erinstellato
ms.date 04/14/2026
ms.service sql-server-management-studio
ms.topic how-to
ms.collection
ce-skilling-ai-copilot
ms.update-cycle 180-days

Get started with GitHub Copilot in SQL Server Management Studio

GitHub Copilot is an AI assistant in SQL Server Management Studio (SSMS).

GitHub Copilot helps you write Transact-SQL (T-SQL) faster and more accurately by suggesting queries, edits, answers, and administrator tasks directly in your SSMS environment.

In this article, you learn how to use GitHub Copilot and make the most of its features in SSMS.

Open GitHub Copilot

GitHub Copilot requires [!INCLUDE ssms-22-md] or a later version. Update to the latest version of SSMS to access the latest updates and features.

  1. Open SSMS and connect to a server or database in the query editor window.

  2. Select the GitHub Copilot badge in the upper right corner of SSMS, and select Open Chat Window to Sign In.

    :::image type="content" source="media/sign-in.png" alt-text="Screenshot of GitHub Copilot badge options.":::

  3. If GitHub Copilot isn't installed, select Install Copilot from the GitHub Copilot badge, or open the Visual Studio Installer and modify your SSMS installation to add the AI Assistance workload. For more information, see Install GitHub Copilot in SQL Server Management Studio.

  4. In the Chat window, sign in with your existing GitHub account or select Sign up for Copilot Free. Follow the prompts in your browser to complete the sign-in or sign-up process.

  5. Once the process is complete, return to SSMS to start using Copilot.

Use GitHub Copilot

After you sign in, use the Chat window to interact with your database using natural language. You can ask general questions about SQL, questions specific to a database, or get assistance writing or editing T-SQL.

To review Copilot features at any time, select GitHub Copilot Walkthrough from the GitHub Copilot badge in the upper right corner of SSMS.

Support

Support for GitHub Copilot Chat is provided by GitHub.

To learn more about Copilot's security, privacy, compliance, and transparency, see the GitHub Copilot Trust Center FAQ and Responsible use of GitHub Copilot features.

Related content