Click on the “ Buy a number” button in the “Numbers” section.Visit the “ Numbers” section of your account.This is the number that you will use to send and receive SMS messages through your email account. In order to send and receive text messages we need to purchase and configure a phone number with Twilio. In the “Url” input box, enter in the “SendGrid Inbound Parse Webhook URL” from the web page you saw after typing heroku open on the command line.In the “Hostname” input box, enter in the domain you set up at the beginning of these instructions.Here is what you’ll see on the “Parsing Incoming Email” page: Visit the “ Parsing Incoming Email” page in the “Developers” section of your account.In order to handle incoming email, we’ll need to set up a webhook on SendGrid to “Parse Incoming Email”. You’ll be using those URLs in the next sections. Take note of the “SendGrid Inbound Parse Webhook URL” and the “Twilio Messaging Request URL” from the web browser window that just opened.If a web browser opens and you see the text: “Congratulations, this software appears to be configured correctly.” then you’re almost done!.Check to see if everything is configured correctly:.Deploy the code you just checked out from GitHub to Heroku:.If the email domain you configured is “” then put that after the “=” sign in the command above Configure your Heroku application with the email domain you configured above.Make sure you fill out your credentials after the “=” signs below! Configure your new Heroku application with your Twilio and SendGrid credentials:.Tell Heroku to create a new application for you:.(If you’re prompted for a username and password, enter in the username and password that you use for Heroku.) If you haven’t already, log in to Heroku from your command line:.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |