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

# Step 1 — Email setup

> Buy lookalike domains, create inboxes, and add SPF/DKIM/DMARC.

<Info>Goal: authenticated inboxes ready for sending.</Info>

## Prerequisites

* Access to your domain registrar
* Cloudflare account (free)
* Google Workspace admin access OR Microsoft 365 admin access
* [Instantly Outreach Hypergrowth Plan](https://instantly.ai/?via=roofgpt)

<Steps>
  <Step title="Buy lookalike domains">
    - Choose at least 2 domains that resemble your main brand.
    - If your main domain is `acmeroofing.com`, examples: `acmeroof.com`, `acmeroofs.com`.
  </Step>

  <Step title="Create email inboxes">
    <Tabs>
      <Tab title="Google Workspace">
        * Purchase 2–3 Google Workspace user licenses per domain at [Google Workspace](https://workspace.google.com/business/signup/welcome).
        * Create 2–3 email addresses per domain (e.g., `first@domain` and `first.last@domain`).
      </Tab>

      <Tab title="Microsoft 365">
        * Purchase 2–3 Microsoft 365 user licenses per domain at [Microsoft 365](https://www.microsoft.com/en-us/microsoft-365/business/no-teams-plans-and-pricing) or through [GoDaddy](https://www.godaddy.com/email/microsoft-365).
        * Create 2–3 email addresses per domain (e.g., `first@domain` and `first.last@domain`).
      </Tab>
    </Tabs>
  </Step>

  <Step title="Add SPF, DKIM, DMARC records">
    * Add SPF TXT record:

    <Tabs>
      <Tab title="Google Workspace">
        ```txt theme={null}
        Type: TXT
        Name: @
        Value: v=spf1 include:_spf.google.com ~all
        ```

        <Note>
          You can only have one SPF record per domain. If you already have an SPF record, merge the Google
          include into your existing record.
        </Note>

        [Learn more about SPF](https://support.google.com/a/answer/33786?hl=en)
      </Tab>

      <Tab title="Microsoft 365">
        ```txt theme={null}
        Type: TXT
        Name: @
        Value: v=spf1 include:spf.protection.outlook.com -all
        ```

        <Note>
          You can only have one SPF record per domain. If you already have an SPF record, merge the
          Microsoft include into your existing record.
        </Note>

        [Learn more about SPF](https://learn.microsoft.com/en-us/defender-office-365/email-authentication-spf-configure)
      </Tab>
    </Tabs>

    ***

    * Add DMARC policy at `_dmarc`:

    ```txt theme={null}
    Type: TXT
    Name: _dmarc
    Value: v=DMARC1; p=none; adkim=r; aspf=r; rua=mailto:your-email@domain.com;
    ```

    <Note>
      Replace `your-email@domain.com` with your actual email address where you want to receive DMARC
      reports.
    </Note>

    [Learn more about DMARC](https://support.google.com/a/answer/2466580?hl=en)

    ***

    * Generate and publish DKIM:

    <Tabs>
      <Tab title="Google Workspace">
        1. Visit [Google Admin](https://admin.google.com/ac/home?hl=en)
        2. Go to Apps → Google Workspace → Gmail → Authenticate email
        3. Generate a new record. Set **Select DKIM key bit length** to `2048` and **Prefix selector (optional)** to `google`
        4. Add the new DNS record at your registrar/DNS host
        5. Click Start authenticating in Google Admin

        DKIM DNS record (add the value provided by Google Admin):

        ```txt theme={null}
        Type: TXT
        Name: google._domainkey
        Value: v=DKIM1; k=rsa; p=... <-- (DKIM generated by Google Admin)
        ```

        [Learn more about DKIM](https://support.google.com/a/answer/174124?hl=en)

        <Frame>
          <img src="https://mintcdn.com/roofgpt-f2ca9657/-9b2QWM2H4r9CCJD/images/roofgpt-dns-setup.png?fit=max&auto=format&n=-9b2QWM2H4r9CCJD&q=85&s=d69f5ae35af52cdb4025428bc8ee4855" alt="Google Workspace DNS Configuration" width="3060" height="2012" data-path="images/roofgpt-dns-setup.png" />
        </Frame>
      </Tab>

      <Tab title="Microsoft 365">
        1. Visit [Microsoft Security Center](https://security.microsoft.com/dkimv2)
        2. Select your domain from the list
        3. Copy the two CNAME records provided (selector1 and selector2)
        4. Add both CNAME records to your DNS registrar
        5. Return to the Microsoft Security Center and enable **Sign messages for this domain with DKIM signatures**

        DKIM DNS records (add both CNAME records provided by Microsoft):

        ```txt theme={null}
        Type: CNAME
        Name: selector1._domainkey
        Value: selector1-<domain>._domainkey.<initial-domain>.onmicrosoft.com

        Type: CNAME
        Name: selector2._domainkey
        Value: selector2-<domain>._domainkey.<initial-domain>.onmicrosoft.com
        ```

        <Note>
          The exact CNAME values will be provided by the Microsoft Security Center. Copy them exactly as
          shown.
        </Note>

        <Frame>
          <img src="https://mintcdn.com/roofgpt-f2ca9657/eA-OwxsLdxVh0adx/images/roofgpt-microsoft-dkim.png?fit=max&auto=format&n=eA-OwxsLdxVh0adx&q=85&s=23ba76cdf5c2649fef6f5abc9be67dd6" alt="Microsoft 365 DKIM Configuration (placeholder)" width="2974" height="1922" data-path="images/roofgpt-microsoft-dkim.png" />
        </Frame>
      </Tab>
    </Tabs>

    ***
  </Step>

  <Step title="Enable domain forwarding (Cloudflare)">
    * Create a free Cloudflare account if you do not already have one.
    * Add your lookalike domain to Cloudflare.
    * Move the existing domain: when prompted, update your registrar's nameservers to the two Cloudflare nameservers provided.
    * After updating nameservers, wait a few minutes for propagation.

    <Note>
      When moving to Cloudflare, set all email-related DNS records to <b>DNS only</b>: MX, SPF TXT,
      DKIM records (TXT for Google: `google._domainkey`, or CNAME for Microsoft:
      `selector1._domainkey` and `selector2._domainkey`), and DMARC TXT (`_dmarc`). Set website
      records (root `A`/`CNAME`, `www`) to <b>Proxied</b>.
    </Note>

    <img src="https://mintcdn.com/roofgpt-f2ca9657/7I6oYxspBDGHLd7f/images/roofgpt-cloudeflare-nameservers.png?fit=max&auto=format&n=7I6oYxspBDGHLd7f&q=85&s=4ae0e7361919148409a0e4f519ad3fc2" alt="Cloudflare nameserver update screen (placeholder)" width="3060" height="2538" data-path="images/roofgpt-cloudeflare-nameservers.png" />

    *     <Note>
            Using Cloudflare Page Rules instead of registrar DNS forwarding prevents email service
            providers from detecting and flagging your domain for cold outreach. Registrar forwarding is
            easily identified; Cloudflare forwarding is not.
          </Note>

    * Once the domain shows as <b>Active</b> in Cloudflare, create a Page Rule to forward the lookalike to your primary domain:
      1. Open your domain in Cloudflare → Rules → Page Rules → Create Page Rule.
      2. If URL matches: `https://your-lookalike.com/*` (the `*` matches any path).
      3. Setting: `Forwarding URL` with status code `301 - Permanent Redirect`.
      4. Destination URL: `https://your-primary.com/$1` (the `$1` preserves the path after the domain).
      5. Save and deploy, then test by visiting the lookalike domain.

    <img src="https://mintcdn.com/roofgpt-f2ca9657/7I6oYxspBDGHLd7f/images/roofgpt-cloudflare-page-rule-settings.png?fit=max&auto=format&n=7I6oYxspBDGHLd7f&q=85&s=e551e8a4c1582de1ed05592e8fe61323" alt="Cloudflare Page Rule setup (placeholder)" width="3060" height="2012" data-path="images/roofgpt-cloudflare-page-rule-settings.png" />
  </Step>
</Steps>
