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

# How to add a Domain Availability Checker widget to your website

> Add a Domain Availability Checker widget to your website so people can find out about their preferred domain availability instantly.

A domain search allows your clients to search for available domains on your website and then be linked through to your order form.

Upmind gives you a code snippet you can embed on your website.

**It would look like this:**

<Frame caption="Domain Availability Checker">
  <img src="https://mintcdn.com/upmind/6knUVC8F1nK4E5CY/images/fb/c5ee38c2cf307571.png?fit=max&auto=format&n=6knUVC8F1nK4E5CY&q=85&s=11cb66185b5d16a47e09d8fbcf19fc07" alt="Domain Availability Checker" width="1780" height="846" data-path="images/fb/c5ee38c2cf307571.png" />
</Frame>

## The code snippet

To generate your code snippet, go to **Host Control** > **Domain names** > **Widgets**.

<Frame caption="Host Control > Domain names > Widgets">
  <img src="https://mintcdn.com/upmind/kAlrCUxI2nwYz4_i/images/fb/2104cfd3f0c4dabb.png?fit=max&auto=format&n=kAlrCUxI2nwYz4_i&q=85&s=d5b9d30ba88a47b42de5ec7ef486a949" alt="Host Control > Domain names > Widgets" data-og-width="2884" width="2884" data-og-height="1062" height="1062" data-path="images/fb/2104cfd3f0c4dabb.png" data-optimize="true" data-opv="3" srcset="https://mintcdn.com/upmind/kAlrCUxI2nwYz4_i/images/fb/2104cfd3f0c4dabb.png?w=280&fit=max&auto=format&n=kAlrCUxI2nwYz4_i&q=85&s=910ce77ba4fdad5c146ab54a2ec11301 280w, https://mintcdn.com/upmind/kAlrCUxI2nwYz4_i/images/fb/2104cfd3f0c4dabb.png?w=560&fit=max&auto=format&n=kAlrCUxI2nwYz4_i&q=85&s=33647072e610ae6532d94cd5e4fcf0a4 560w, https://mintcdn.com/upmind/kAlrCUxI2nwYz4_i/images/fb/2104cfd3f0c4dabb.png?w=840&fit=max&auto=format&n=kAlrCUxI2nwYz4_i&q=85&s=c5cb94dda85b9a1d23e515dda60fdc19 840w, https://mintcdn.com/upmind/kAlrCUxI2nwYz4_i/images/fb/2104cfd3f0c4dabb.png?w=1100&fit=max&auto=format&n=kAlrCUxI2nwYz4_i&q=85&s=605a289308d20e90b023488e48d6d74e 1100w, https://mintcdn.com/upmind/kAlrCUxI2nwYz4_i/images/fb/2104cfd3f0c4dabb.png?w=1650&fit=max&auto=format&n=kAlrCUxI2nwYz4_i&q=85&s=7b925405024313243feffcf34745d937 1650w, https://mintcdn.com/upmind/kAlrCUxI2nwYz4_i/images/fb/2104cfd3f0c4dabb.png?w=2500&fit=max&auto=format&n=kAlrCUxI2nwYz4_i&q=85&s=74005364054a962fc971e72acd63ceac 2500w" />
</Frame>

**The HTML code is as follows:**

```
<script src="https://widgets.upmind.app/dac/upm-dac.min.js"></script>
<upm-dac
  order-config-url="{orderConfigUrl}/order/product"
  currency-code="{currency}"
></upm-dac>
```

* Replace \{orderConfigUrl} with your shop URL example, your store URL is: my.upmind.com/order/product, with "https\://" added in front of your website name. **(See HTML code example below)**

* Replace the \{currency} with your currency code (e.g., USD)

This is an example of what the final snippet should look like, depending on your orderConfigUrl and currency:

```
<script src="https://widgets.upmind.app/dac/upm-dac.min.js"></script>
<upm-dac
  order-config-url="https://my.myupmindbrand.com/order/product"
  currency-code="USD"
></upm-dac>
```

## Associate your website domain with Upmind

To make the domain checker work, you need to add your domain to the list of domains under **Settings** > **Domains**. You do not need to change your DNS records.

If your domain is not added to the domains list, then the domain search will not function.

## Enable/disable Domain Availability Checker

You can enable or disable the domain availability checker.

1. Go to **Host Control** > **Domain Names** > **Registrars**.

2. Select **Enable use in domain search**.

<Frame caption="Enable use in domain search">
  <img src="https://mintcdn.com/upmind/6knUVC8F1nK4E5CY/images/fb/c1ac081fe3ef8728.png?fit=max&auto=format&n=6knUVC8F1nK4E5CY&q=85&s=b1a910d98a698e93cfc1cfbcf12f9447" alt="Enable use in domain search" width="2164" height="532" data-path="images/fb/c1ac081fe3ef8728.png" />
</Frame>

3. A visual indicator will show whether domain availability checking is enabled or not.

<Frame caption="Enabled for checking">
  <img src="https://mintcdn.com/upmind/1-uICsJi9zYpvJVH/images/fb/9068340b38c30864.png?fit=max&auto=format&n=1-uICsJi9zYpvJVH&q=85&s=c43212979d100c4f6d5b261327671668" alt="Enabled for checking" width="2162" height="150" data-path="images/fb/9068340b38c30864.png" />
</Frame>

4. You can choose to disable it again.

<Frame caption="Disable option">
  <img src="https://mintcdn.com/upmind/wRuKrNY12tQZY8Rr/images/fb/3441f4b9235ba6a6.png?fit=max&auto=format&n=wRuKrNY12tQZY8Rr&q=85&s=44b054080aba21de5907a308d46b1d25" alt="Disable option" width="2216" height="542" data-path="images/fb/3441f4b9235ba6a6.png" />
</Frame>
