Skip to main content

How to Connect Your Cloudflare Domain to Nexuscale AI Mailboxes

How to Connect Your Cloudflare Domain to Nexuscale AI Mailboxes

Written by Kevin Kariuki
Updated over 2 weeks ago

To send and receive emails reliably using Nexuscale AI, you need to connect your domain to our servers. This involves adding four specific DNS records (MX, SPF, DMARC, and DKIM) to your Cloudflare account. These records prove to email providers like Gmail and Outlook that Nexuscale is authorized to send emails on your behalf, keeping your messages out of the spam folder.

Initial Setup Start here, by setting up a mailbox and activating the trial via Stripe: https://app.nexuscale.ai/hosted-emails

  1. Go to the Hosted Emails page using the link above.

  2. Click New Email.

  3. Add the prefix (e.g., hello, name) and your domain.

  4. Click Create Email and check out via Stripe for a free 7-day trial.

Once you are done, you'll get instructions to configure your DNS settings. Here is exactly how to add those records into your Cloudflare account.

Preparation:

  • Open your Cloudflare account in one tab.

  • Open your Nexuscale AI DNS settings in the Hosted Emails window in another tab (you will need to copy your unique DKIM key from here).


Step 1: Navigate to Your DNS Settings

First, we need to access the area in Cloudflare where your domain's routing rules are managed.

  1. Log in to your Cloudflare dashboard.

  2. Select the specific domain (website) you want to connect to Nexuscale.

  3. On the left-hand sidebar, click on DNS, and then select Records from the dropdown.

  4. You will see a list of your existing DNS records and a blue Add record button.


Step 2: Add the MX Record (Inbound Routing)

The MX record tells the internet where to send incoming mail addressed to your domain.

Click the Add record button and fill out the fields with the following details:

  • Type: Select MX from the dropdown.

  • Name: @ (Cloudflare uses the @ symbol to represent your root domain).

  • Mail server: mail.nexuscale.ai

  • Priority: 10

  • TTL: Leave as Auto.

  • Click the blue Save button.


Step 3: Add the TXT Records (Authentication)

Now you will add three separate TXT records in the same DNS section. For each one, click Add record, select TXT from the Type dropdown, fill in the details, and click Save.

1. The SPF Record (Sender Policy Framework) Authorizes Nexuscale to send emails for you.

  • Type: TXT

  • Name: @

  • Content: v=spf1 include:mail.nexuscale.ai ~all

⚠️ CRITICAL RULE: Your domain can only have ONE SPF record. Look through your existing DNS list in Cloudflare. If you already have a TXT record that starts with v=spf1 (for example, if you already use Google Workspace), do not add a new one. You must merge them. Example of a merged record: v=spf1 include:_spf.google.com include:mail.nexuscale.ai ~all

2. The DMARC Record (Delivery Reporting) Tells receiving servers what to do if an email fails authentication.

  • Type: TXT

  • Name: _dmarc

  • Content: v=DMARC1; p=none; rua=mailto:dmarc-reports@<yourdomain.com> (Be sure to replace <yourdomain.com> with your actual domain name!)

3. The DKIM Record (Cryptographic Signature) Acts as a digital signature to verify your emails haven't been tampered with.

  • Type: TXT

  • Name: mail._domainkey

  • Content: (Go to your Nexuscale AI DNS settings window and copy your unique DKIM string starting with v=DKIM1; k=rsa; p=... Paste it here.)


Step 4: Verify Your Records

Once you have added all four records in Cloudflare and see them listed under your existing DNS records, head back over to your Nexuscale AI DNS configuration and click Check Records.

Please note: Cloudflare is usually incredibly fast at updating DNS records, but standard global propagation can occasionally take up to 48 hours. Once Nexuscale shows your records as verified, you are ready to start sending!

Did this answer your question?