Updated on 2026-08-04 GMT+08:00

Creating a Token on GitHub

Configuring an Access Token on GitHub

  1. Log in to GitHub, click the profile picture in the upper right corner, and choose Settings > Developer settings.
  2. Choose Personal access tokens > Tokens (classic) > Generate new token > Generate new token(classic) and enter the key information.
  3. Specify the Note, Expiration, and Select scopes parameters, and click Generate token.

    After the token is created, the page of the new token is automatically displayed. The token is temporary. Copy and save it.
    Figure 1 Entering the token configuration information