I have installed SparkPost
on heroku
. The issue is that I cannot find any of the settings for SparkPost either to conect with domain or use the API. The easier route seems to install the sparkpost package with pip, but using the documentation, I cannot pull in the API either with:
sp = SparkPost()
or
sp = SparkPost(os.environ['API_KEY_SPARKPOST'])
The former gives the following error:
SparkPostException: No API key. Improve message.
and the latter, cannot find any environment variable. I had a search, I don't see any environment variables that are related to SparkPost. Not do I find any API option in the control panel with which to find one.