Sign in into the Hetzner Cloud Console choose a project, go to Access
→ Tokens
, and create a new token. Make sure to copy the token because it won’t be shown to you again. A token is bound to a project, to interact with the API of another project you have to create a new token inside the project.