> ## Documentation Index
> Fetch the complete documentation index at: https://loops.so/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Setting up your domain

> Steps for adding a sending domain to your account.

When you set up your account for the first time, you need to set up your domain records in order to start sending email. We'll be sending email on your behalf, so we need to verify that you own the domain you're sending from.

Here's how to set it up in just a few steps.

<Warning>
  You need to use your own domain to send with Loops. Free subdomains provided by hosting platforms (e.g. `yourapp.vercel.app`, `yoursite.netlify.app`, `yourshop.myshopify.com`) cannot be used as sending domains, because you don't have access to configure the required DNS records.
</Warning>

## Step 1: Add your sending domain

During the sign up flow, you are asked to specify your desired sending domain. You can enter any domain here that you can set up DNS records for, and if you choose a subdomain, it doesn't need to exist yet.

We [recommend using a subdomain for this](/deliverability/sending-from-subdomain), e.g. `mail.yourcompany.com`, rather than sending from your root domain `yourcompany.com`.

<img src="https://mintcdn.com/loops/Z7viZoAUCPxaqCl2/images/signup-domain.png?fit=max&auto=format&n=Z7viZoAUCPxaqCl2&q=85&s=488ba76f344c60b0c9b5dd6bd7c21ff3" alt="Adding a domain during sign up" width="2280" height="1967" data-path="images/signup-domain.png" />

If you have already signed up and want to edit your sending domain, you can do so from **Settings -> Domain**.

<Note>
  You do not need to create this subdomain with an A or CNAME record. Loops will
  provide all DNS records you need to set up.
</Note>

## Step 2: Set up your records

From the **Settings -> Domain** page, click **View records** (or [click this link](https://app.loops.so/sending-domain) to go directly).

<img src="https://mintcdn.com/loops/I7MiNuGd9K5dwTEQ/images/domain-records.png?fit=max&auto=format&n=I7MiNuGd9K5dwTEQ&q=85&s=269363c1164a7eea0dc5b7dcd8bc23e2" alt="Domain DNS records page in Loops" width="2280" height="876" data-path="images/domain-records.png" />

On this page, you'll see a few things.

**Your records**

These are SPF, DKIM and MX records that need to be set up in your domain zone editor inside of your domain registrar like Namecheap, Google Domains, AWS, Godaddy or elsewhere.

Next to each record is a clipboard icon. You can use this to copy the records to your clipboard and easily paste them into your domain registrar.

**Your sending domain**

This is indicated below by “yourcompany.com”. This will have your domain listed. If you'd like to change domains, you can do so in the [account settings](https://app.loops.so/settings).

**A verify records button**

Once you have copied your records to your registrar, click this button to verify they have been set up correctly.

<img src="https://mintcdn.com/loops/Z7viZoAUCPxaqCl2/images/set-up-records.png?fit=max&auto=format&n=Z7viZoAUCPxaqCl2&q=85&s=8e6ea3307b22861a150399f7b99c95e3" alt="Verify DNS records button in Loops" width="2280" height="2630" data-path="images/set-up-records.png" />

## Step 3: Add your domain records

Copy and paste the records one by one into your registrar.

You want to use the **Type** (indicated as TXT, CNAME and MX) in setting up your records, ***not*** the title of the record e.g. SPF, DKIM, MX.

<Tip>
  Loops' records for SPF are at envelope.sendingdomain.com, meaning they won't
  collide with any other SPF records you have set up. We specify a DMARC record
  so that you have one, but you can also just have a single DMARC at the root
  domain level.
</Tip>

<Note>
  Want inbox providers to display your verified logo? Set up BIMI (Brand
  Indicators for Message Identification) after your domain authentication is in
  place. Learn more in our [What is BIMI? guide](/guides/what-is-bimi).
</Note>

<AccordionGroup>
  <Accordion title="Cloudflare">
    DNS records can be added from the "DNS" page within a website.

    Click **Add record** to open the form. Select a "Type" (TXT, MX or CNAME), then paste the "Name" and "Value" information.

    [Read the guide](https://developers.cloudflare.com/dns/manage-dns-records/how-to/create-dns-records/#create-dns-records)

    Be sure to set the proxy to “DNS Only” for the CNAME records:

    <img src="https://mintcdn.com/loops/K9TRANbphBauR0pJ/images/cloudflare.png?fit=max&auto=format&n=K9TRANbphBauR0pJ&q=85&s=fdb8807679ab016c001fa0e7ba3df89e" alt="Cloudflare DNS record form" width="480" height="226" data-path="images/cloudflare.png" />
  </Accordion>

  <Accordion title="Dreamhost">
    Dreamhost is currently unsupported in full because you cannot add custom MX records.
  </Accordion>

  <Accordion title="GoDaddy">
    For GoDaddy, [read this guide](https://www.godaddy.com/help/manage-dns-records-680).
  </Accordion>

  <Accordion title="Google Domains">
    Google Domains (and potentially other providers) combine the mail server and
    priority inputs into a single line. So if you receive an error like this when
    setting up the domain, make sure to instead type out the input like this: `10
                    feedback-smtp.us-east-1.amazonses.com`

    <img src="https://mintcdn.com/loops/OG31ikb--92jQDlq/images/google-domains.png?fit=max&auto=format&n=OG31ikb--92jQDlq&q=85&s=4c026c03bb8213d98399ed9fef9cc098" alt="Google Domains DNS record editor" width="1440" height="207" data-path="images/google-domains.png" />

    Google domains will also include quotes “ “ around some record names. This is
    expected and will not impact anything.
  </Accordion>

  <Accordion title="Namecheap">
    Go to the **Advanced DNS** page for your domain.

    If you are using the automatic Gmail/Gsuite integration with Namecheap, you
    will need to disable the automatic integration and switch to **Custom MX** in the **Mail Settings** dropdown. You then need to [add an MX record](https://support.google.com/a/answer/174125#current\&legacy\&zippy=%2Cgoogle-workspace-current-version-later) to set up Gmail on your domain again.

    Then you can add Loops' MX records by clicking **Add new record** in the "Mail Settings" section and pasting in the values provided in Loops. Click the `✓` icon to save each record.

    <img src="https://mintcdn.com/loops/W7EWSDUW0GR-XWrp/images/namecheap-1.png?fit=max&auto=format&n=W7EWSDUW0GR-XWrp&q=85&s=eeff1ebe96df42d3b1386182f01d831a" alt="Namecheap mail settings DNS records" width="1440" height="457" data-path="images/namecheap-1.png" />

    Add the TXT and CNAME records by clicking **Add new record** in the "Host Records" section.

    <img src="https://mintcdn.com/loops/W7EWSDUW0GR-XWrp/images/namecheap-2.png?fit=max&auto=format&n=W7EWSDUW0GR-XWrp&q=85&s=225bf3773e28b2a1165afaa095bfbd4f" alt="Namecheap host records DNS settings" width="860" height="381" data-path="images/namecheap-2.png" />
  </Accordion>

  <Accordion title="Route 53">
    For Route 53, [read this guide](https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/resource-record-sets-creating.html).
  </Accordion>

  <Accordion title="Squarespace">
    For adding your records to Squarespace, [read this guide](https://support.squarespace.com/hc/en-us/articles/31120985010957-DNS-records-for-email#toc-option-2---add-custom-records-manually).

    Note that you might need to trim a trailing period from the record values.
  </Accordion>

  <Accordion title="Wix">
    Unfortunately, Wix DNS [does not support subdomains](https://support.wix.com/en/article/request-connecting-a-mailbox-to-a-subdomain) for MX records when your nameservers are pointed at Wix.

    If you purchased a domain outside of Wix, you should use the ["Pointing" method](https://support.wix.com/en/article/connecting-a-domain-to-wix-using-the-pointing-method) for your domain, which will let you set up DNS records externally a domain registrar. Then you can add records using [this guide](https://support.wix.com/en/article/managing-dns-records-in-your-wix-account).
  </Accordion>
</AccordionGroup>

<Tip>
  Make sure you enter the “Priority” while setting up your MX record. In most
  registrars this is done by formatting it like “10 pastedrecordname”.
  Occasionally you will be asked to place it on a separate line. Just make sure
  to read the instructions on the page as you set up your MX record and if you
  have any questions, [contact our support team](https://app.loops.so/settings?page=support).
</Tip>

## Step 4: Verify your records are set up correctly

After you have copied and pasted your records into your domain registrar, click **Verify Records** at the bottom of the page to check your configuration is correct.

<Tip>
  Sometimes records can take up to an hour to propagate across all the servers.
  During that time you may see different records validate. This is totally
  normal, just check back later.
</Tip>

If the domain is set up correctly, you should see a page like the one below. If not, check back soon; sometimes records can take some time to propagate.

Notice the "Records present" in green next to each record section.

<img src="https://mintcdn.com/loops/1DdZd7QTRR4Srm-l/images/verified.png?fit=max&auto=format&n=1DdZd7QTRR4Srm-l&q=85&s=50400ef754d6398f725ccbbcfecdec3c" alt="Domain verification success in Loops" width="2280" height="2475" data-path="images/verified.png" />

## Domain already in use

If you're getting a "domain already in use" error when trying to set up your domain, this typically means someone on your team has already registered an account with Loops using your domain.

Here are the steps you can take to resolve this:

<AccordionGroup>
  <Accordion title="Signing in with another account">
    Go to the [Loops login page](https://app.loops.so/) and request a login link
    using your email address.
  </Accordion>

  <Accordion title="Search your inbox">
    Search for `loopsbot@mail.loops.so` in your email inbox(es) to see if you
    have received other registration or login emails from Loops.
  </Accordion>

  <Accordion title="Check with your team">
    Ask your teammates if someone has already set up a Loops account for your
    organization. If so, ask them to invite you to the existing account.
  </Accordion>
</AccordionGroup>

If you've tried all these steps and still can't access your domain, [contact our support team](https://app.loops.so/settings?page=support) for manual assistance.

<Tip>
  Confused or have questions? Just reach out to [support](https://app.loops.so/settings?page=support).
</Tip>
