To generate an access-token follow these steps:-

  1. Goto GitHub and login with your account
  2. Click on your Avatar at the top right corner of Github

  3. Select Settings from the drop down menu

  4. Goto Developer Settings from the side menu (bottom left)

  5. Goto Personal access tokens from the side menu

  6. Click on the Generate new token button on the top right

  7. Enter your Github password (if prompted)

  8. Give the token a description such as (Repository Seeder)

  9. From the Select scopes section check public_repo under repo. This allows access to your public repositories – listing them and creating new ones.

  10. Scroll down and click on Generate token

  11. You will be taken back to the tokens page. The newly created token should be highlighted in green. Copy that. This is your access token that you must use in APIs that let you interact with GitHub.

No votes yet.
Please wait...