Go Settings > Tokens.
Click Create New API Token.
Select the permissions you want your API token to have, then click Create 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 Delete Token.