In the left column you'll find an open called **Developer settings", click it.
Next, click Personal access tokens in the left column.
On this page, you'll see a list of your existing access tokens, if any. Click the button that reads Generate new token.
You'll be taken to a page to create a personal access token. Add a name and any scopes that are required for this particular token.
Keep in mind that you can create multiple tokens, and it's wise to use a single token for a specific purpose and create it with the minimum scope required.
Once you've provided a name and selected the minimum required scope, click Generate token.
At this point, you should find your token. You can copy it, save it, and use it. You won't be able to find the token again, but you can regenerate, update, or delete it.