Mailgun API key

Hi
I am not receiving the API key in Mailgun after choosing the programming language. Please let me know what I should do.

image

Hi @jebo22mca,

You can locate the API key within your Mailgun Dashboard, and you’ll need to incorporate it into your code for sending an email when the temperature exceeds a threshold.

Note - In the code below, you do NOT have to modify the SENDER_URL config, it is a combination of the strings “test@” and your SANDBOX_URL. The “+” operator concatenates the two strings together.

MAILGUN_API_KEY = 'This is the private API key which you can find on your Mailgun Dashboard' 
SANDBOX_URL= 'You can find this on your Mailgun Dashboard' 
SENDER_EMAIL = 'test@' + SANDBOX_URL  # No need to modify this. The sandbox URL is of the format test@YOUR_SANDBOX_URL
RECIPIENT_EMAIL = 'Enter your Email ID Here'
API_KEY = 'This is your Bolt Cloud account API key'
DEVICE_ID = 'This is the ID of your Bolt device' 

Note: You have to replace all the above value with your credentials. You can find the first four value in Mailgun dashboard and the last two in Bolt Cloud dashboard.