Please, go to "My profile" as shown in the screenshot below.
Please, scroll down in the tab "Edit user" to find the block devoted to generation of API token.
Click "Generate", you will see the pop-up window.
If you want to clear the Token, click "Clear".