Step 1: go to the API keys tab under the security tab
Step 2: press create
Step 3: input a label
Step 4: set the timeout of your API key. For no timeout input 0
Step 5(optional): you can also create keys that are restricted to specific API methods or categories of methods
Step 6: press create