Click on your profile icon in the top-right corner.
Select Settings from the dropdown menu.
In the left sidebar, click on Developer settings.
Click on Personal access tokens.
Create a New Token
Click on Personal access tokens (classic).
Enter a Token name to describe its purpose.
Choose an Expiration date or set it to No expiration if you prefer.
Set Permissions:
Ensure that your token has both admin:public_key and write:public_key permissions. You can regenerate the token if needed, ensuring those scopes are checked.