Generate GitHub Token
  • Updated on 06 May 2019
  • 1 minute to read
  • Contributors
  • Share
  • Dark
    Light

Generate GitHub Token

  • Share
  • Dark
    Light

1. Go to GitHub "personal access tokens" section

https://github.com/settings/tokens:

Screen Shot 2019-05-02 at 16.45.57

2. Generate a new personal access token

Only "repo" permission is needed:

Screen Shot 2019-05-06 at 17.09.45

Scroll down to the end of the page, and click on "Generate token" button.

3. Use the token with CircleCi

Copy the token:

Personal Access Tokens 2019-05-02 16-58-51

Add it CircleCI UI under the โ€˜GITHUB_TOKENโ€™ environment variable or past it as plain text.

Pasting the token as simple text is NOT recommended!
You should do it only for (quick) POC purposes.
Was this article helpful?