SendGrid DKIM and SPF Setup: Step-by-Step

SendGrid is an email marketing and email API company that allows its users to design and send beautiful marketing and automated messages. SendGrid DKIM and SPF authentication shows email service providers (ESP) like Google, Outlook, Yahoo!, etc., that the service has your permission to send emails on your domain’s behalf.

If you skip SPF and DKIM configuration step, SendGrid will be the party managing your mail stream; thus, your recipients will continue to see the “via” near the sender email address in the email header.


In addition to fixing this issue, SendGrid SPF and DKIM setup has two more benefits:

  1. Your emails are more likely to reach the inbox instead of the spam folder
  2. You get that much closer to improving your domain reputation

To authorize SendGrid to send emails on your domain behalf, you should set up SPF and DKIM by pointing DNS entries from your DNS Provider (GoDaddy, Cloudflare, etc.) to Sendgrid. 

Setting up SendGrid SPF and DKIM

To configure your domain’s SPF and start SendGrid DKIM setup follow these steps:

  1. From your SendGrid portal, select Settings > Sender Authentication
  2. Click ‘Authenticate Domain’


3. Choose your DNS host

4. Enter the Domain on which you want Sendgrid DKIM and SPF authenticated


5. Add all the CNAME Records in your DNS host


6. Example of added CNAME Records in Cloudflare DNS


7. Once added, head back to your SendGrid UI and Verify

Congrats, you’ve successfully set up your SendGrid SPF and DKIM!

Follow the link to learn how to optimize SPF Record.

Email Security as a Service

Email Security as a Service

Email security is one of the most important aspects of any business. Why? Because email...

Read More
What’s the Difference Between SPF DKIM and DMARC?

What’s the Difference Between SPF DKIM and DMARC?

SPF, DKIM, and DMARC are the three most important email authentication protocols to prove...

Read More
How to Stop Spam Emails and Save Your Inbox [Corporate Email Edition]

How to Stop Spam Emails and Save Your Inbox [Corporate Email Edition]

Everyone agrees that email is fast becoming the preferred communication channel for businesses and...

Read More