Notification

Duet AI is now Gemini for Google Workspace. Learn more

Cloudflare: Activate Gmail for Google Workspace

Tell the internet where to deliver your company's email messages

Why do I need to do this?

For your company to use Gmail with Google Workspace, you need to direct people's incoming messages to Google's mail servers. You do this by changing your domain's MX records  at your domain registrar.
 
Change MX records at your domain registrar to direct your company's emails to Gmail. Explain this more
 

Before you begin

Make sure now is a good time to make this change. It can take time for the rest of the internet to learn about your new MX records. You might keep receiving mail with your old email provider during this time.

To complete this task, open two separate tabs in your web browser, like this:

Tab 1: Get ready to sign in to Cloudflare

Before you get started, make sure you have the account ID and password you need to sign in to Cloudflare. If you have trouble signing in to this account, find out how to change your Cloudflare password.

Tab 2: Open the Google Workspace setup tool 

You get instructions and complete this task using the setup tool. You also use the tool to add any remaining email accounts—every existing address in your company must be associated with a Google Workspace account. You must use the setup tool to complete this task.

If you don't already have the setup tool open in another tab, click below to open it.

Open the setup tool

I'm stuck and need help

I get an error when I click the blue button

The setup tool is for Google Workspace and Cloud Identity administrators only. It doesn't work with any other Google product.

Make sure you're signing in with an admin account.

It says Gmail is activated for my domain

Your MX records are already set up.

If you're reading this article because your company is having trouble receiving email:

My email address ends in @gmail.com

Oh no! You've ended up in the wrong place. Click here for help with @gmail.com issues.

Follow these instructions to activate Gmail

Work across the two tabs you opened above, as follows:


1

Find your DNS records


(a)

Open Cloudflare and sign in with the account you used to buy your domain.

(b)

Click the domain you're setting up today, and then click DNS on the left.

The Cloudflare DNS option is highlighted.

2

Set up the MX records for Google Workspace


(a)

Scroll to DNS management and delete any existing MX records.

An MX record to be deleted is shown.

(b)

Click Add record, and then fill out the form.

All fields of the MX record are complete.

  • Select MX as the Type.
  • Enter @ in the Name field.
  • Enter smtp.google.com in the Mail server field.
  • Set the Priority to 1

Click Save to create your new MX record.

The setup tool wants me to add another MX record

If you haven't verified your domain yet, the setup tool requires you to do this while you're setting up your MX records. You need to enter another MX record that includes a verification code that Google can use to confirm that you are the owner of your domain:

  1. Scroll to the Get your verification code section in the setup tool and click Copy
    The MX records table is shown and a red circle highlights the Copy button next to the MX verification record.
  2. Paste the verification code just like you did with the other Google MX records. 
  3. Enter 15 for the Priority of this MX record. 

Tell Google Workspace to activate Gmail


(a)

Return to the browser tab where you have the Google Workspace setup tool open. (You can reopen the tool if you closed it.)

(b)

Scroll to the bottom of the page and click Activate Gmail.

Important! Some registrars may require additional time to publish your MX records. If the Google Workspace setup tool can't find your new records, wait an hour before you try again.

If you need additional help with your DNS settings, please contact your registrar. They are experts in managing your domain and are eager to help you. 


You might have to wait and try again

Some registrars take longer than others to let the world know that you have a new email provider:

  • If Google Workspace can't find your new MX records, come back in a couple of hours and click the Activate button again.
  • After you activate Gmail, updates can take up to 48 hours. Until the rest of the internet notices your new MX records, you'll still get email messages in your old email client.

Was this helpful?

How can we improve it?
Search
Clear search
Close search
Main menu
7673155586850168195
true
Search Help Center
true
true
true
true
true
73010
false
false