Access the DNS Manager

  1. Log in to your CloudFlare account.
  2. Click on the DNS settings menu for your domain.

Access CloudFlare DNS manager 

Create a SPF record

  1. Scroll down to the TXT (Text) section.
  2. Select the TXT type.
  3. Enter your domain name.
  4. Enter your SPF record (e.g. "v=spf1 a mx ~all").
  5. Click on the Add button.
  6. Click on the I'm done entering my DNS records button.

Add SPF record