Create a GitHub app

Now you need to create a Copilot extension on GitHub to connect to the deployed application.

For the most up-to-date instructions, follow the official documentation for Creating a GitHub App for Copilot Extension .

On any page of GitHub , click your profile picture and go to Settings.

Scroll down to Developer Settings, and go to Create a GitHub App .

Image Alt Text:Create GitHub Application screen

Your GitHub App must have:

  • A name.
  • A homepage URL.

Make sure Webhook -> Active is deselected.

Image Alt Text:GitHub App name and URL Image Alt Text:Webhook deselected

The rest can be the default values.

Scroll to the bottom and click Create GitHub App.

Get Client ID and Secret

After you create your app, open it up. You will see your Client ID listed under General -> About.

Image Alt Text:Client ID and Secret

Under this is Client Secrets. Click Generate a new client secret and save the value. Make sure you copy it before it goes away, as you will need it for the next step as part of the Flask application.

Install Application

Click Install App in the sidebar, then install your app onto your account.

Image Alt Text:Install

Back
Next