Log in to domains.google.com

Click into the domain you are trying to set up

Click DNS on the left panel, we are going to add 5 DNS records



Copy the first TXT record here v=spf1 include:mailgun.org ~all



To add the 1st TXT record


Host name:


Depending on the subdomain you are trying to set up, if you are trying to set up

mg.companyname.com The host name will be mg

replies.companyname.com The host name will be replies

support.companyname.com The host name will be support


Type: Select TXT from the dropdown


Data: we will paste the first copied TXT record here v=spf1 include:mailgun.org ~all





Don't click save yet, 4 more new records to add

Once you are done with the 1st record, click Create new record



To add the 2nd TXT record


Host name:


it's a bit tricky but the key here is to copy everything from the beginning until the subdomain part, do not copy the main domain






Examples: copy the highlighted part














Type: Select TXT from the dropdown


Data: we will paste the second long TXT record here 




To add the MX records, click Create new record


Host name:


Depending on the subdomain you are trying to set up, if you are trying to set up

mg.companyname.com The host name will be mg

replies.companyname.com The host name will be replies

support.companyname.com The host name will be support


Type: Select MX from the dropdown


Data: paste the following data


  • Copy and paste 10 mxa.mailgun.org
  • Click +Add more to this record
    • Copy and paste 10 mxb.mailgun.org





To add the CNAME record, click Create new record

Host name:


Depending on the subdomain you are trying to set up, if you are trying to set up

mg.companyname.com The host name will be email.mg

replies.companyname.com The host name will be email.replies

support.companyname.com The host name will be email.support


Type: Select CNAME from the dropdown


Data: copy and paste mailgun.org





Now that you have added 5 DNS records, click SAVE!



Go back to Mailgun and click Verify DNS Settings


Click the same button to Verify DNS Settings again if some records are still not showing the green checkmark




Once you add all the DNS records and verify, you can grab the Mailgun API Key - Where to Find in Mailgun & Put in HighLevel


Then we could send a test email to see if everything works! Click here to learn How to send a test email in the Conversation