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 .
Your GitHub App must have:
Make sure Webhook -> Active is deselected.
The rest can be the default values.
Scroll to the bottom and click Create GitHub App.
After you create your app, open it up. You will see your Client ID listed under General -> About.
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.
Click Install App in the sidebar, then install your app onto your account.