- 29 May 2024
- 1 Minute to read
- Print
Sendgrid Integration
- Updated on 29 May 2024
- 1 Minute to read
- Print
In this article
This document explains step by step process how you can configure SendGrid as a cloud-based SMTP Provider in SaaSify.
Fetch API key
API Keys authenticate your application, mail client, or website with Twilio SendGrid services. Unlike a username and password, API keys are scoped to provide access only to the services you select. You can also delete and create API keys without impacting your other account credentials. For these reasons, Twilio SendGrid requires You connect to its services using API keys.
Here are the steps to create an API key in SendGrid:
Navigate to Settings on the left navigation bar, and then select API Keys.
Click Create API Key.
Give your API key a name.
Select Full Access, Restricted Access, or Billing Access.
If you're selecting Restricted Access, or Billing Access, select the specific permissions to give each category. For more information, see API key permissions.
Click Create & View.
Copy your API key somewhere safe. For security reasons, do not put it directly in your code, or commit it somewhere public like GitHub.
Note:
You will only be shown your API key one time. Please store it somewhere safe as we will not be able to retrieve or restore it. There is a limit of 100 API Keys per account.
If you have an existing API Key, then make sure you have noted it down for further use. For more information, you can refer to the following link: https://www.twilio.com/docs/sendgrid/ui/account-and-settings/api-keys#api-key-permissions
Complete sender authentication
It is recommended to use SendGrid's "Domain Authentication" so that SendGrid sends emails via your domain rather than via sendgrid.net, and the links your users click as coming from your domain.
Recommended: Follow SendGrid's guide on How to Set Up Domain Authentication.
SendGrid also provides Single Sender Verification if you do not have a domain.
Next Step
Follow the steps in next page to configure SendGrid in SaaSify.