To use GitHub Copilot in an IDE or the command line, you must authenticate to an account on GitHub that has a Copilot license.
If you receive access to Copilot through a managed user account owned by an enterprise on GHE.com, you may need to adjust some settings in your IDE before you can authenticate to your account.
Use the tabs at the top of this article to see instructions for your environment.
Authenticating from Eclipse
Note
GitHub Copilot in Eclipse is in public preview and subject to change.
- In the IDE, click Copilot to open the menu.
- Click Edit Preferences....
- In the GitHub Enterprise Authentication Endpoint field, enter the URL where you access GitHub. For example:
https://octocorp.ghe.com
. - Click Apply.
- Open the Copilot menu again then click Sign In to GitHub.