Note
GitHub Copilot Extensions est en beta. Des modifications peuvent être apportées.
A Copilot Extension is a GitHub App that is associated with a Copilot agent. The GitHub App you associate your Copilot agent with is used to authenticate the Copilot agent with GitHub and to authorize the Copilot agent to access the Copilot Chat API. Each Copilot agent must be associated with a unique GitHub App.
Prerequisites
- You have created a Copilot agent. For more information, see "Building a Copilot agent for your Copilot Extension." Alternatively, you can use a demo agent. For more information, see "Using a demo agent."
- You have configured your server to deploy your Copilot agent, and you have your hostname (aka forwarding endpoint). For more information, see "Configuring your server to deploy your Copilot agent."
Creating a GitHub App
-
Dans le coin supérieur droit de n’importe quelle page sur GitHub, cliquez sur votre photo de profil.
-
Accédez aux paramètres de votre compte.
- Pour une application appartenant à un compte personnel, cliquez sur Paramètres.
- Pour une application appartenant à une organisation :
- Cliquez sur Vos organisations.
- À droite de l’organisation, cliquez sur Paramètres.
-
Dans la barre latérale gauche, cliquez sur Paramètres de développeur.
-
Dans la barre latérale à gauche, cliquez sur GitHub Apps .
-
Click New GitHub App.
-
Under "GitHub App name," enter a name for your app.
Note
The name cannot be longer than 34 characters.
Your app's name will be shown in the user interface when your app takes an action. Uppercase letters will be converted to lowercase, with spaces replaced by
-
, and accents ignored. For example,My APp Näme
would display asmy-app-name
.The name must be unique across GitHub. You cannot use the same name as an existing GitHub account, unless it is your own user or organization name.
-
Optionally, under "Description," type a description of your app. Users and organizations will see this description when they install your app.
-
Under "Homepage URL," enter a URL for your app. You can use:
- Your app's website URL.
- The URL of the organization or user that owns the app.
- The URL of the repository where your app's code is stored, if it is a public repository.
-
Under "Webhook," deselect Active.
-
Click Create GitHub App.