# How to Add and Configure a Domain

**Overview**

Adding your organization's domain to BoolDesk is essential for enabling secure user authentication and synchronization. By connecting your domain, you can automatically import users and computers directly from your Active Directory, keeping your helpdesk data up-to-date and centralized.

#### **Step-by-Step Guide**

**1. Navigate to Domain Settings**

To begin managing your domains, go to the general settings area.

* From the main menu, go to Settings (1).
* Under the `General` section, click on Domain (2).
* Click the Add Domain button (3) in the top right corner.

<figure><img src="/files/EitvFvr4l6U2zWPvPlVP" alt=""><figcaption></figcaption></figure>

**2. Configure Domain Connection Details**

In the "Domain" window, you will first set up the connection to your Active Directory.

* Display Name & Domain: Enter a name for the domain (e.g., `booldesk.com`) and the actual domain address.
* Domain Controller: Enter the IP address of your domain controller (e.g., `10.255.181.76`).
* User Credentials: Input the username (e.g., `Administrator`) and password of an account with permission to read from the directory.
* Discovery Options: Enable the toggles for Discover Clients and Discover Servers to automatically find devices on the network.
* Sync Domain Now: Click this button to test the connection and initiate the first synchronization.

<figure><img src="/files/UV8d1Io3OhB34F7fVpHg" alt=""><figcaption></figcaption></figure>

**3. Select Computer Organizational Units (OUs)**

Once connected, switch to the Computer tab (1) to specify which devices to import.

* Browse the directory tree and check the boxes next to the Organizational Units (OUs) that contain the computers you want to manage in BoolDesk (e.g., the `Test` OU).

<figure><img src="/files/jycbthVfS7PdT3qPUCyP" alt=""><figcaption></figcaption></figure>

**4. Select User Organizational Units (OUs)**

Finally, switch to the User tab (1) to import your users.

* Similarly, browse the tree and select the OUs containing the user accounts you wish to import (e.g., `ImportUser` and its sub-OUs).
* Click Save to finalize the configuration.

<figure><img src="/files/Wi2YN9GN3mS9vAAHd7tD" alt=""><figcaption></figcaption></figure>

Your domain is now configured. BoolDesk will synchronize with the selected OUs, automatically creating accounts for your users and inventory records for your computers.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.booldesk.com/how-to-configure-settings/general/how-to-add-and-configure-a-domain.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
