If you need an API key for use with the analytics REST API, you can create a new API key with the analytics ACL. You do this from within your Algolia Dashboard here: https://www.algolia.com/account/api-keys/restricted
Then when creating the API key you can specify the analytics ACL
There are more details of how you can use this key here: