1) Log into your account at https://www.kraken.com
2) Find and click on your username in the navbar
3) Select 'SETTINGS' from the drop down menu
4) Click on 'API'
5) Click 'Generate New Key'
6) Make sure the following permissions are set
7) Click 'Generate Key'
8) Your API Key and Private Key will be shown on the screen. Enter your API Key, and Secret (Private) Key and click "NEXT"