Sendgrid Integration
  • 29 May 2024
  • 1 Minute to read

Sendgrid Integration


Article summary

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:

  1. Navigate to Settings on the left navigation bar, and then select API Keys.

  2. Click Create API Key.

  3. Give your API key a name.

  4. Select Full Access, Restricted Access, or Billing Access.

  5. If you're selecting Restricted Access, or Billing Access, select the specific permissions to give each category. For more information, see API key permissions.

  6. Click Create & View.

  7. 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:

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