Skip to content

Commit 0bf9154

Browse files
authored
Update README.md
1 parent f3fefb3 commit 0bf9154

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,14 @@ On first launch, you'll be greeted with our adorable animated banner! If you'd l
5454

5555
If you're not currently logged in to GitHub, you'll be prompted to use the `/login` slash command. Enter this command and follow the on-screen instructions to authenticate.
5656

57+
#### Authenticate with a Personal Access Token (PAT)
58+
59+
You can also authenticate using a fine-graned PAT with the "Copilot Rrequests" permission enabled.
60+
61+
1. Visit https://github.com/settings/personal-access-tokens/new
62+
2. Under "Permissions," click "add permissions" and select "Copilot Requests"
63+
3. Generate your token
64+
4. Add the token to your environment via the environment variable `GH_TOKEN` or `GITHUB_TOKEN` (in order of precedence)
5765

5866
### Using the CLI
5967

0 commit comments

Comments
 (0)