Perform the following prerequisite steps:
- Create a new SendGrid account, if you have not yet created one, and get the SendGrid API key
- Create a new Application Insights account, if you don't have one already
- Make sure you have a running application that integrates with Application Insights
You can learn how to integrate your application with Application Insights at https://docs.microsoft.com/en-us/azure/application-insights/app-insights-asp-net.