Go to Kraken
Log in or create a new account on https://www.kraken.com/.
Follow to API
Hover the profile icon on the top right corner, click "Settings" then "API."
Click "Generate New Key"
Name your key
When you have multiple APIs, a proper name helps to manage it.
Select permissions
You must enable:
Important: Please Ensure "Nonce Window" is set to 50
Query Funds
Query Open Orders & Trades
Query Closed Orders & Trades
Modify Orders
Cancel/Close Trades
Query Ledger Entries
Access WebSockets API
Click "Generate Key"
Don't change other settings.