| title | Getting started with the GitHub Copilot app | ||
|---|---|---|---|
| shortTitle | Copilot app quickstart | ||
| allowTitleToDifferFromFilename | true | ||
| intro | Sign in to the {% data variables.copilot.github_copilot_app %}, connect a repository or local folder, and create your first agent session to make code changes. | ||
| product | {% data reusables.gated-features.github-app %}<br>{% data reusables.copilot.github-app-download-button %} | ||
| versions |
|
||
| contentType | get-started | ||
| redirect_from |
|
||
| category |
|
For a conceptual overview of the {% data variables.copilot.github_copilot_app %}, see AUTOTITLE.
In this quickstart, you will:
- Install and sign in to the {% data variables.copilot.github_copilot_app %}.
- Connect a repository or local folder.
- Make code changes in an agent session.
- A {% data variables.product.github %} account.
- A {% data variables.product.prodname_copilot_short %} plan, or you can configure your own model provider.
- If you use your own model provider, you will need provider credentials such as an API key. For setup steps, see AUTOTITLE.
- Git installed on your computer.
Note
For {% data variables.copilot.copilot_business_short %} and {% data variables.copilot.copilot_enterprise_short %} users, the {% data variables.copilot.github_copilot_app %} policy must remain enabled. This policy is enabled by default and is separate from the {% data variables.copilot.copilot_cli_short %} policy. See AUTOTITLE or AUTOTITLE.
Download and install the {% data variables.copilot.github_copilot_app %} for your operating system. For other operating systems and architectures, see the download page.
{% data reusables.copilot.github-app-download-button %}
-
Open the {% data variables.copilot.github_copilot_app %}.
-
Click Sign in to {% data variables.product.github %} and follow the prompts to authenticate.
If you use {% data variables.product.prodname_ghe_cloud %} with data residency, choose Use GitHub Enterprise and enter your
*.ghe.comhostname when prompted. {% data variables.product.prodname_ghe_server %} is not supported by the {% data variables.copilot.github_copilot_app %}. -
If you do not have a {% data variables.product.prodname_copilot_short %} plan, choose whether to sign up for a plan or continue with your own model provider.
- If you choose to use your own model provider, select a provider, enter any required credentials, then click Save and continue.
-
When prompted, select one or more repositories based on your recent {% data variables.product.github %} activity. You can also add a local folder or repository, or skip this step and add projects later.
-
Choose a theme, then complete onboarding to open the app.
To work on code, you need at least one project connected to the app. A project can be a folder already on your machine, including a repository you've already cloned locally, or a repository you clone from {% data variables.product.github %} or another remote Git host such as Azure DevOps. Connecting a project unlocks the core app workflow: reading code, making edits, and opening pull requests from agent sessions. If you skipped project setup during onboarding, or want to add more projects later:
- In the sidebar, next to Projects, click {% octicon "plus" aria-label="Add project" %}.
- Under Add project from, choose one of the following:
- Local folder or repository — Select a folder already on your machine, including one that contains a repository you've already cloned locally.
- {% data variables.product.github %} repository — Browse and clone a repository from {% data variables.product.github %}.
- Repository URL — Clone from a Git URL for repositories hosted outside {% data variables.product.github %} (for example, on Azure DevOps) or for private repositories without app access.
-
Under Projects in the sidebar, find the connected folder or repository you want to use, then click {% octicon "plus" aria-label="Start a new session" %} next to it.
-
Select a session mode from the dropdown below the prompt field—for example, Interactive to work collaboratively with the agent.
-
In the prompt box, paste this prompt:
Suggest a small low-risk code change in this repository, implement it, and explain the diff. -
Respond to any requests for input from the agent. After the agent makes changes, click Changes above the prompt box to view the diff.
-
Continue iterating in the same session until you are happy with the result.
-
If you want to keep the change, click Create PR to open a pull request for review.
-
If you create a pull request, click PR above the prompt box to view it directly in the app.
Optional: If you already have tasks you want to complete in your repository, you can start a session from an issue in My work. For more information, see AUTOTITLE.
The sidebar gives you access to the main areas of the app:
- New — Start a new agent session.
- My work — Browse and filter issues and pull requests from your repositories, check CI status, and leave reviews.
- Automations — Saved agent tasks that run on a schedule or on demand.
- Customize — Discover and manage plugins, skills, MCP servers, and canvases.
- Search — Search across your repositories directly from the app.
- Projects — View connected projects and their active agent sessions, or start a new session for a project.
- Chats — General conversations that do not require a dedicated branch or workspace.
Find out more about using the {% data variables.copilot.github_copilot_app %}: