Submit a ticket My Tickets
Login  Sign up

How to Setup DKIM for Salesforce?

You need to setup DKIM for salesforce if you want salesforce to send emails on behalf of your domain. Skipping this can cause issues in email delivery and increases the chances of your emails being flagged as spam. In order to enjoy seamless email delivery while using Salesforce to send emails, and making sure your receivers receive those emails signed with your domain name, learn how to setup DKIM for Salesforce. 

Steps to Setup DKIM for Salesforce

  • Navigate to the Salesforce Setup menu and type in DKIM in the quick find. 

  • Click on DKIM Keys.

  • Then select Create New Key.

  • Now choose your key size, and for the primary DKIM selector enter s1. For your alternative selector enter s2. 

  • Enter your domain name, in this case, we have used 

  • You can choose your domain match according to your preferences. In this case, I have chosen to go with the exact match.

  • Click Save.

  • It will take some time for Salesforce to generate the 2 CNAME records. Refresh your page, and you will see something like this: 

Publishing the DKIM CNAME Records in Your DNS 

  • Open your DNS management console 

  • Copy the part of your CNAME record before “IN CNAME” and paste it in the first row of your DNS for the specific domain

  • Copy the part of your alternative CNAME record before “IN CNAME” and paste it in the second row of your DNS for the specific domain

  • Copy and paste the part of the CNAME records after “IN CNAME” as shown below:

  • Wait a while for your DNS to process the newly made changes

  • Then click on the “Activate” button on the DKIM record

You are now done setting up DKIM for salesforce. You can confirm the validity of your DKIM record by using our free DKIM record lookup tool, to check your record for errors. 

Sign up for your free DMARC analyzer today!

PowerDMARC is the author of this solution article.

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.