Create an API key using your account settings.
To create an API key, navigate to your account settings.
Then use the menu on the left side to open the API keys page.
Click on the new API key in the top right side, then use the pop-up to set an expiration date.
You will then be able to see your private and public token. After you close this pop-up, you will not be able to view the private token again.