To get a Klaviyo API key, log in to your Klaviyo account. Select ‘Account’ on the top-right menu under your name.
Navigate to: ‘Settings > API KEYS’:
If you do not have a key, then create a new one by clicking ‘Create API KEY’. Otherwise copy the existing API key.