...
Follow the wizard at https://signup.sendgrid.com/ to create a free account or sign up from your Azzure portal (https://github.com/MicrosoftDocs/azure-docs/blob/main/includes/sendgrid-sign-up.md )
Generate an API Key
Once you have created the account, select Settings and then API Keys in the menu on the left.
In the emerged window, click the “Generate API Key“ button.
...
Under the Email Notification section, use the following settings
...
Service: Custom SMTP server
From address: Your company email address
From name: The name to be used in notifications
Login: Name provided for the API Key
Password: Password provided for the API Key
Enable SSL checkbox: Enabled
Port: 465