How to generate an API key pair?

You can generate an API key pair in your Kraken account by going to:

Setting > API > Generate new key > set permissions