You need 2FA enabled in order to create API tokens.
- Go Settings > API Access.
- Click Create A New Token.
- Select the permissions you want your API token to have, then click Create An API Token.
- System will provide you a Token ID and Secret. Token Secret is displayed only once so please save it somewhere for later use. If you want to delete a token, click Remove API Token.