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