Here's a useful tutorial if you need help setting environment variables. Set the value of the SENDGRID_API_KEY environment variable to be the API key from your SendGrid account. You can name it whatever you want, but once it is created make sure you save it before moving on!Ī good way to save this API key is to set it as an environment variable that you can access from your Python code in order to avoid writing it directly in your code. Once you have an account, you need to create an API key as seen in this screenshot. You can choose the free tier for the purpose of this tutorial. The first thing you need to do is create a SendGrid account. Sign up for SendGrid and create an API key Here is a good guide to follow on setting up your development environment if you are going to be doing more web development with Python. Python 2 or 3 installed (do this first if you haven't already).Make sure we have the right software installed that we'll need to use for the rest of this post. Let's walk through how to get this running step by step.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |