Updated on 2025-07-24 GMT+08:00

Obtaining an Access Token from Gitee

Constraints

You need to have a Gitee account.

Configuring an Access Token

  1. Log in to Gitee, click the nickname in the upper right corner, and click Profile. The personal overview page is displayed.

    On this page, click Setting. The Account Information page is displayed.
    Figure 1 Personal overview page

  2. In the navigation pane on the left, choose Security Settings > Personal access tokens. In the upper right corner, click Generate new token. The page for creating a private token is displayed.
  3. Enter Personal Token Description, set Token Expiration Time, and select the permissions of the personal token.
  4. Click Submit, enter your login password for verification in the displayed dialog box, and the private token is generated.

  5. Click Copy, select I have learned that the personal token is no longer displayed in clear text on the platform, and the token has been copied and saved, and click confirm and close.