# Salesforce - How to Activate DKIM Key in Salesforce

> To activate a DKIM Key in Salesforce, go to Setup, search for DKIM Keys, and create a new key. Fill in the domain, selector, alternate selector, and key size details. Once published, copy the primary and alternate CNAME records to your DNS provider's settings.

Canonical: https://livedemo.ai/tutorials/how-to-activate-dkim-key-in-salesforce/
Apps: Salesforce
Updated: 2026-10-05
Interactive demo: https://story-api.livedemo.ai/workspaces/62255d3d3304f17b8f5e2d03/stories/692a00c6243f01ed60a4e57c/preview?step=1

## Steps

1. Go to Setup on the top right.
2. Search for DKIM Keys in the Quick Find.
3. Make a new key by clicking on the Create New Key button.
4. Fill in the DKIM Key Details.
5. Enter details like your Domain, Selector, and Alternate Selector . (Hover over the "i" button for context)
6. You can select the Key size based on the security regulations of the organisation.
7. Wait till the keys get published.
8. After the keys get published, you will see CNAME records that are available to be copied to your DNS for your domain.
9. Now, move to your DNS Provider (like Cloudflare) and select your domain. (Ex: "example.com") Then, Navigate to DNS Settings and Add the Primary CNAME Record.
10. For example, CNAME Record shows: <st1._ domainkey.example.com IN CNAME st1.jpdc2t.custdkim.salesforce.com > In the " Name " field, enter the Host Name for the primary CNAME record (Ex st1._ domainkey.example.com ) In the " Content " field, enter CNAME Record (Ex- st1.jpdc2t.custdkim.salesforce.com ) Repeat the process and Add an Alternate CNAME Record.
