How to create a access token in Gitea

As of 2025-12, Gitea only supports creating access token for users, not directly for repositories.

Here’s how to create it:

First, click on the user icon on the top right of the Gitea web interface (it might look different for your user):

Gitea click user.avif

Now, click on “Settings” in the dropdown menu:

Gitea click settings.avif

Now, click on “Applications” in the left sidebar:

Gitea click applications

Now, you can enter the following details to create a new access token:

  1. Enter a name for the token, e.g. My notebook. You can choose any name you like to identify the token later.
  2. Select the desired scopes for the token. Very often, you want to select Read or Read & write in the repository row and leave everything else as No access.
  3. Click on the “Generate Token” button.

Gitea create token

Now Gitea will generate a new access token for you. Make sure to copy the token now and store it somewhere together with the name of the token (e.g. My notebook, or Test token as in the screenshot), as you won’t be able to see it again later!

Gitea token created.avif


Check out similar posts by category: Gitea, Git