I was setting up a new application to use SendGrid’s inbound parse email function, so here’s some quick documentation. In the Sendgrid dashboard, go under Settings > Inbound Parse:
![Sendgrid's settings menu holds the inbound parse option.](https://www.learngoogle.com/wp-content/uploads/2019/05/image-17.png)
Then click on the top blue button: Add host & URL.
![Inbound parse screen on Sendgrid. Click the top blue button to continue adding inbound options for your email.](https://www.learngoogle.com/wp-content/uploads/2019/05/image-18-1024x131.png)
Fill in the screen that comes up with the proper domain, and subdomain (the subdomain is optional). The destination URL is where Sendgrid will POST the email to.
![](https://www.learngoogle.com/wp-content/uploads/2019/05/image-16-1024x867.png)
At the domain registrar, set up the proper MX record. Look up the appropriate documentation based on the registrar you use – this is how it looks like on GoDaddy:
![Screenshot of the proper MX record on GoDaddy.](https://www.learngoogle.com/wp-content/uploads/2019/05/image-19-1024x498.png)
In your application, set up a handler to answer the SendGrid request: in the screenshot example above, the handler was located at /inboundmailwebhook/. Any inbound mail gets POSTed as regular form data, which most frameworks can handle automatically.