API is an equivalent to standard identification keys like password and login. To create it on Kraken, you need to:
open your Kraken account
choose your name in the upper right corner
click the Security and API buttons
choose Add Key
The API creation is quite fast.