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

# Invite and Manage Account Users

> Manage users in your AI for Process account — invite individuals or import in bulk, synchronize from Active Directory, assign roles, monitor status, and unlock accounts.

The **Users Management** module in the **Settings** console provides centralized workflows for inviting, importing, and managing users. As an admin, you can:

* Invite users via email or bulk-import from a file.
* Synchronize users from your organization's Active Directory (AD).
* Assign and change roles to control access and permissions.
* Monitor and manage user statuses — active, inactive, and locked.
* Configure user profile fields for your domain.

<Warning>Only users with the Admin role or higher (with Users Management permissions) can access the **Settings** console.</Warning>

**Best practices:**

* Regularly review and update user roles.
* Use bulk import to add multiple users efficiently.
* Monitor locked users and inactive invitations.

***

## Users Dashboard

The dashboard displays user counts by status and detailed user information including name, email, role, and status.

**User status types:**

| Status   | Description                                                                  |
| -------- | ---------------------------------------------------------------------------- |
| Active   | Users with active accounts who can interact with other AI for Process users. |
| Inactive | Invited users who have not yet accepted the invitation.                      |
| Locked   | Users who exceeded 5 failed login attempts and are locked out.               |

<img src="https://mintcdn.com/koreai/FxeUffvny0kFoYXM/ai-for-process/settings/images/users-count.png?fit=max&auto=format&n=FxeUffvny0kFoYXM&q=85&s=c3e9b2e28a5b772060ac75c4a89df5eb" alt="users count" width="465" height="146" data-path="ai-for-process/settings/images/users-count.png" />

For information on default system roles, see [System-defined Roles](/ai-for-process/settings/role-management#system-defined-roles).

***

## Add Users

You can add users via email invitation or by importing a file.

### Invite via Email

1. Click **Settings** on the top navigation bar.

2. Click **Users Management** > **Users** > **Add New User**.

   <img src="https://mintcdn.com/koreai/PuupHPoTlgovf9wN/ai-for-process/settings/images/add-new-user-aip.png?fit=max&auto=format&n=PuupHPoTlgovf9wN&q=85&s=a68e1b5715cf866038976eb1d50b1f65" alt="add user" width="885" height="386" data-path="ai-for-process/settings/images/add-new-user-aip.png" />

3. Click **Invite**.

4. Enter a valid email address.

5. Select a role from the dropdown to define the user's access.

   <img src="https://mintcdn.com/koreai/FxeUffvny0kFoYXM/ai-for-process/settings/images/role-drop-down.png?fit=max&auto=format&n=FxeUffvny0kFoYXM&q=85&s=5204e63d3d5827da0066d56b5aec6265" alt="role selection" width="618" height="445" data-path="ai-for-process/settings/images/role-drop-down.png" />

   <Note>System-defined and custom roles available in your account can be assigned. [Learn more](/ai-for-process/settings/role-management) about roles and permissions.</Note>

6. To invite multiple users, click **+ Add another member** and repeat steps 4–5. To remove an invitation row, click the **Delete** icon.

   <img src="https://mintcdn.com/koreai/rlh-0_-9ZDbn4IuC/ai-for-process/settings/images/delete-email-row.png?fit=max&auto=format&n=rlh-0_-9ZDbn4IuC&q=85&s=f87355e09fe652de9e246acad9eac3ed" alt="delete email row" width="630" height="199" data-path="ai-for-process/settings/images/delete-email-row.png" />

7. Click **Send invitation(s)**. The count updates as you add or remove invites.

   <img src="https://mintcdn.com/koreai/FxeUffvny0kFoYXM/ai-for-process/settings/images/send-invitation-to-member.png?fit=max&auto=format&n=FxeUffvny0kFoYXM&q=85&s=45c8587cc301d23b803327b0c4c6662e" alt="send invitation" width="676" height="576" data-path="ai-for-process/settings/images/send-invitation-to-member.png" />

A success message appears when the invite is sent. If it fails, check the highlighted email addresses and try again.

**Email address requirements:**

* The field must not be empty.

* No spaces before, between, or after the email address.

* Must include a valid domain (for example, `john@doe.com`).

  <img src="https://mintcdn.com/koreai/FxeUffvny0kFoYXM/ai-for-process/settings/images/valid-email-address.png?fit=max&auto=format&n=FxeUffvny0kFoYXM&q=85&s=05db13176ddde731b5aa4a1d11001d63" alt="valid email address error" width="706" height="396" data-path="ai-for-process/settings/images/valid-email-address.png" />

* Duplicate invitations are not allowed. The system displays: *"This email has already been added."*

  <img src="https://mintcdn.com/koreai/rlh-0_-9ZDbn4IuC/ai-for-process/settings/images/duplicate-invitation.png?fit=max&auto=format&n=rlh-0_-9ZDbn4IuC&q=85&s=1fcae3b59cbe7ed0a668bb04692cf09c" alt="duplicate invitation" width="711" height="422" data-path="ai-for-process/settings/images/duplicate-invitation.png" />

<Note>
  - Invitations expire 15 days after being sent.
  - The user status is **Inactive** until the invitation is accepted, then changes to **Active**.
</Note>

### Bulk Import

The bulk import feature lets administrators add multiple users at once using `.txt` or `.csv` files.

**Requirements:**

* Valid file types: .txt or .csv only.
* Required fields: name, email ID, and status.
* Each row must contain information for one user.
* Accepted delimiters: comma (`,`), pipe (`|`), semicolon (`;`), and tab.
* The first row must contain field names.
* Mandatory fields are marked with `*` in the sample file.
* The **User Status** field determines the post-import action: *New*, *Update*, or *Delete*.
* Entries with invalid email formats or missing domains are skipped during import.
* Once validated, an email invitation is sent to activate the user's account.
* If a user is already active in your account, no invitation email is sent.

#### Import Users from a File

1. Click **Settings** on the top navigation bar.

   <img src="https://mintcdn.com/koreai/PuupHPoTlgovf9wN/ai-for-process/settings/images/aip-settings-access.png?fit=max&auto=format&n=PuupHPoTlgovf9wN&q=85&s=a709446495290154342a78167d690867" alt="access settings" width="1356" height="418" data-path="ai-for-process/settings/images/aip-settings-access.png" />

2. On the **Users** dashboard, click **Add New User** > **Import**.

   <img src="https://mintcdn.com/koreai/PuupHPoTlgovf9wN/ai-for-process/settings/images/add-new-user-aip.png?fit=max&auto=format&n=PuupHPoTlgovf9wN&q=85&s=a68e1b5715cf866038976eb1d50b1f65" alt="add user" width="885" height="386" data-path="ai-for-process/settings/images/add-new-user-aip.png" />

3. On the **Import Users** page, upload the file by either:

   * Clicking **Upload File** and selecting the file from your system.

     <img src="https://mintcdn.com/koreai/PuupHPoTlgovf9wN/ai-for-process/settings/images/click-upload-file.png?fit=max&auto=format&n=PuupHPoTlgovf9wN&q=85&s=4c7019c55c51c6fbe28d8313a722a617" alt="click upload file" width="945" height="514" data-path="ai-for-process/settings/images/click-upload-file.png" />

   * Dragging and dropping the file into the **Upload File** window.

   **Tip:** Download the sample `.csv` file for reference. The fields are pre-defined with data requirements.

   <img src="https://mintcdn.com/koreai/PuupHPoTlgovf9wN/ai-for-process/settings/images/click-download-sample-file.png?fit=max&auto=format&n=PuupHPoTlgovf9wN&q=85&s=dd46aadf23563f8860fda23476f37ed5" alt="download sample file" width="330" height="415" data-path="ai-for-process/settings/images/click-download-sample-file.png" />

   <img src="https://mintcdn.com/koreai/_Dn-kwIEkdH7YDGt/ai-for-process/settings/images/pre-defined-fields.png?fit=max&auto=format&n=_Dn-kwIEkdH7YDGt&q=85&s=6782909b7fefbd45f0287dfb450ba280" alt="pre-defined fields" width="1058" height="371" data-path="ai-for-process/settings/images/pre-defined-fields.png" />

   Ensure column names and field mandates match the sample file. A mismatch causes an error:

   <img src="https://mintcdn.com/koreai/_Dn-kwIEkdH7YDGt/ai-for-process/settings/images/mismatch-error.png?fit=max&auto=format&n=_Dn-kwIEkdH7YDGt&q=85&s=18276df881b25ef99841df674474e5bf" alt="fields mismatch error" width="1058" height="417" data-path="ai-for-process/settings/images/mismatch-error.png" />

4. A preview window shows the file data with a success message. Click **Continue**.

   <img src="https://mintcdn.com/koreai/FxeUffvny0kFoYXM/ai-for-process/settings/images/success-import.png?fit=max&auto=format&n=FxeUffvny0kFoYXM&q=85&s=d4719fcc710a1876d4ea3b035521a0eb" alt="import preview" width="873" height="456" data-path="ai-for-process/settings/images/success-import.png" />

5. When the import completes, click **Continue**.

   <img src="https://mintcdn.com/koreai/_Dn-kwIEkdH7YDGt/ai-for-process/settings/images/import-completed.png?fit=max&auto=format&n=_Dn-kwIEkdH7YDGt&q=85&s=11f185f8e5eafac194467041ac24bace" alt="import completed" width="1058" height="416" data-path="ai-for-process/settings/images/import-completed.png" />

6. If validation errors exist, a window shows the import status and error reasons.

   <img src="https://mintcdn.com/koreai/rlh-0_-9ZDbn4IuC/ai-for-process/settings/images/failed-import-entries.png?fit=max&auto=format&n=rlh-0_-9ZDbn4IuC&q=85&s=94c2eed9523524b92128b736effeb18b" alt="failed import entries" width="947" height="454" data-path="ai-for-process/settings/images/failed-import-entries.png" />

   Correct the highlighted values and re-upload. Then repeat steps 4–5.

The file takes a few minutes to import. A progress dialog shows the status. When complete:

<img src="https://mintcdn.com/koreai/rlh-0_-9ZDbn4IuC/ai-for-process/settings/images/file-imported-successfully.png?fit=max&auto=format&n=rlh-0_-9ZDbn4IuC&q=85&s=20ca8f38162643e2b087dc39c273f06c" alt="file imported successfully" width="389" height="394" data-path="ai-for-process/settings/images/file-imported-successfully.png" />

Click **OK** to view imported users on the dashboard.

<Note>Imported users are assigned the **Viewer** role by default. You can change this later. [Learn more](/ai-for-process/settings/role-management#system-defined-roles).</Note>

<img src="https://mintcdn.com/koreai/_Dn-kwIEkdH7YDGt/ai-for-process/settings/images/imported-entries.png?fit=max&auto=format&n=_Dn-kwIEkdH7YDGt&q=85&s=5f518f0c654613da1ea249e6b2543ae1" alt="imported entries" width="1058" height="528" data-path="ai-for-process/settings/images/imported-entries.png" />

The dashboard shows success and failed import statuses:

<img src="https://mintcdn.com/koreai/FxeUffvny0kFoYXM/ai-for-process/settings/images/success-failed-import-status.png?fit=max&auto=format&n=FxeUffvny0kFoYXM&q=85&s=6c730571314789e5dd9efe2b24df6b24" alt="success and failed import status" width="1058" height="499" data-path="ai-for-process/settings/images/success-failed-import-status.png" />

**Failed import**

If user data fails to import, the following message appears:

<img src="https://mintcdn.com/koreai/rlh-0_-9ZDbn4IuC/ai-for-process/settings/images/failed-import-message.png?fit=max&auto=format&n=rlh-0_-9ZDbn4IuC&q=85&s=12b103c83732923ee255e82f7a72f01a" alt="failed import message" width="907" height="454" data-path="ai-for-process/settings/images/failed-import-message.png" />

Review which users failed, the actions attempted, and the reason. Then retry with corrected data.

**Canceled import**

The system cancels imports for entries that fail validation (for example, an invalid email address). A window shows the import status and cancellation reason:

<img src="https://mintcdn.com/koreai/_Dn-kwIEkdH7YDGt/ai-for-process/settings/images/import-canceled.png?fit=max&auto=format&n=_Dn-kwIEkdH7YDGt&q=85&s=02d017462fd791471cdfb029fd4a1cf2" alt="import canceled" width="907" height="478" data-path="ai-for-process/settings/images/import-canceled.png" />

#### Import History

Click **Import History** in the **Import Users** window to view past imports.

<img src="https://mintcdn.com/koreai/PuupHPoTlgovf9wN/ai-for-process/settings/images/click-import-history.png?fit=max&auto=format&n=PuupHPoTlgovf9wN&q=85&s=3339783495891ff2055ba1057ee9a0ab" alt="click import history" width="945" height="498" data-path="ai-for-process/settings/images/click-import-history.png" />

The history shows the import date and time, the importing user, and a summary of successful and failed imports.

<img src="https://mintcdn.com/koreai/_Dn-kwIEkdH7YDGt/ai-for-process/settings/images/import-history.png?fit=max&auto=format&n=_Dn-kwIEkdH7YDGt&q=85&s=ef5edc130469216e4edf94743b54018c" alt="import history" width="753" height="320" data-path="ai-for-process/settings/images/import-history.png" />

***

## Manage Users

### Search for a User

1. Go to the **Users** dashboard.
2. Click the **Search** text field.
3. Enter the user's name.

Matching results appear automatically.

<img src="https://mintcdn.com/koreai/PuupHPoTlgovf9wN/ai-for-process/settings/images/all-matching-results.png?fit=max&auto=format&n=PuupHPoTlgovf9wN&q=85&s=8ed7e9e1a2222f17221348111328f93d" alt="matching results" width="661" height="206" data-path="ai-for-process/settings/images/all-matching-results.png" />

If no match is found:

<img src="https://mintcdn.com/koreai/FxeUffvny0kFoYXM/ai-for-process/settings/images/user-does-not-exist.png?fit=max&auto=format&n=FxeUffvny0kFoYXM&q=85&s=eb73b52a9a5a12ec33affaedf036e15e" alt="user does not exist" width="1058" height="454" data-path="ai-for-process/settings/images/user-does-not-exist.png" />

### Unlock a Locked User

Locked users cannot access their accounts until an admin unlocks them.

1. Go to **Settings** > **Users Management** > **Users**.

2. Hover over the user with status **Locked**.

3. Click **Unlock**.

   <img src="https://mintcdn.com/koreai/PuupHPoTlgovf9wN/ai-for-process/settings/images/click-unlock.png?fit=max&auto=format&n=PuupHPoTlgovf9wN&q=85&s=636ec6f6e667e454989994b2451d7745" alt="click unlock" width="1058" height="435" data-path="ai-for-process/settings/images/click-unlock.png" />

4. Click **Confirm**.

The account is unlocked and the status changes to **Active**.

### Change User Role

On the **Users** dashboard, you can change the account-level role for one or more users. Only roles allowed for the user type (admin or account) can be assigned. When you change a user's role, the corresponding permissions and access levels apply automatically.

To change an individual user's role, see [Reassign an Alternative Role to Active Users](/ai-for-process/settings/role-management#reassign-an-alternative-role-to-active-users).

**Bulk role change**

To assign the same role to multiple users simultaneously:

1. Select the required users on the **Users** dashboard.
2. Click the **Role** dropdown in the bottom pane and select the role.

   <img src="https://mintcdn.com/koreai/FxeUffvny0kFoYXM/ai-for-process/settings/images/select-for-role-change.png?fit=max&auto=format&n=FxeUffvny0kFoYXM&q=85&s=f05f836d51bb124fcbed751e4604a02f" alt="select for role change" width="1134" height="612" data-path="ai-for-process/settings/images/select-for-role-change.png" />

The role updates for all selected users.

<img src="https://mintcdn.com/koreai/PuupHPoTlgovf9wN/ai-for-process/settings/images/bulk-role-changed.png?fit=max&auto=format&n=PuupHPoTlgovf9wN&q=85&s=68fc035382199d4f66fd5285a86a1d6b" alt="bulk role changed" width="1134" height="463" data-path="ai-for-process/settings/images/bulk-role-changed.png" />

<Note>To assign different roles to multiple users, change roles individually.</Note>

### Delete a User

<Warning>
  * Deleting a user revokes their access and removes their data from your account. The user can still access their personal AI for Process account. To rejoin, you must invite them again.
  * You cannot delete users who own active workflows. The user must remove all active workflows before deletion.
</Warning>

**Delete a single user:**

1. Click **Users Management** > **Users** on the left menu.
2. Hover over the user entry you want to delete.
3. Click the **Delete** icon.

   <img src="https://mintcdn.com/koreai/FxeUffvny0kFoYXM/ai-for-process/settings/images/single-delete.png?fit=max&auto=format&n=FxeUffvny0kFoYXM&q=85&s=477b318e3a7764c86c633848f7f96d66" alt="single delete" width="1058" height="427" data-path="ai-for-process/settings/images/single-delete.png" />

   <img src="https://mintcdn.com/koreai/FxeUffvny0kFoYXM/ai-for-process/settings/images/single-delete-result.png?fit=max&auto=format&n=FxeUffvny0kFoYXM&q=85&s=48cb2b379893af0213dbc76a36227587" alt="single delete result" width="1034" height="454" data-path="ai-for-process/settings/images/single-delete-result.png" />

**Bulk delete:**

1. Select the required users and click the **Delete** icon at the bottom of the screen.

   <img src="https://mintcdn.com/koreai/PuupHPoTlgovf9wN/ai-for-process/settings/images/click-delete-icon.png?fit=max&auto=format&n=PuupHPoTlgovf9wN&q=85&s=43701e72ff7f452c053243e96fae6444" alt="click delete icon" width="1058" height="454" data-path="ai-for-process/settings/images/click-delete-icon.png" />

2. Click **Remove** in the **Remove users** window.

   <img src="https://mintcdn.com/koreai/PuupHPoTlgovf9wN/ai-for-process/settings/images/click-remove.png?fit=max&auto=format&n=PuupHPoTlgovf9wN&q=85&s=d20af19fdf421abeb3f728597219140d" alt="click remove" width="397" height="244" data-path="ai-for-process/settings/images/click-remove.png" />

The users are removed from the list and the **Total Users** and **Active Users** counts update.

<img src="https://mintcdn.com/koreai/PuupHPoTlgovf9wN/ai-for-process/settings/images/bulk-delete-result.png?fit=max&auto=format&n=PuupHPoTlgovf9wN&q=85&s=a36d26afc54ed89b492f12f5002f4f1d" alt="bulk delete result" width="820" height="339" data-path="ai-for-process/settings/images/bulk-delete-result.png" />

<Note>Deleting a user is permanent.</Note>

***

## Active Directory Sync

By configuring Active Directory (AD) import, you can sync your organizational user information into the Settings console from a single source of truth, eliminating the need for email invitations or manual file imports.

The auto sync feature keeps user data in AI for Process current, including deletions and modifications in the AD.

<Warning>An AD professional with the necessary technical expertise should handle the auto sync configuration process.</Warning>

**Configuration steps overview:**

1. [Set up the Connection](#step-1-set-up-the-connection): Connect the Settings console to your organization's AD.
2. [Import Organization Units](#step-2-import-organization-units): Choose the OUs from which to import user data.
3. [Specify User Attributes and Configure Rules](#step-3-specify-user-attributes-and-configure-rules-for-selective-import): Define user profile fields and inclusion/exclusion rules for selective import.
4. [Schedule Automatic AD Sync](#step-4-schedule-automatic-ad-sync): Set up scheduled sync to keep user data current.

### Steps to Configure AD Sync

1. Click **Settings** on the top navigation bar.

   <img src="https://mintcdn.com/koreai/PuupHPoTlgovf9wN/ai-for-process/settings/images/aip-settings-access.png?fit=max&auto=format&n=PuupHPoTlgovf9wN&q=85&s=a709446495290154342a78167d690867" alt="access settings" width="1356" height="418" data-path="ai-for-process/settings/images/aip-settings-access.png" />

2. On the **Users** dashboard, click **Configure Directory** in the **Configure sync with directory** section.

   <img src="https://mintcdn.com/koreai/PuupHPoTlgovf9wN/ai-for-process/settings/images/configure-directory-button.png?fit=max&auto=format&n=PuupHPoTlgovf9wN&q=85&s=1d56e9b4a4f73ef7bcf0ca75667556cd" alt="configure directory" width="1365" height="478" data-path="ai-for-process/settings/images/configure-directory-button.png" />

3. Complete the setup in the **Configure Directory** window by following each step in order.

   <Note>
     * The left panel tracks your progress — completed steps show a check mark, and in-progress steps show a dot.
     * Complete each step in order without skipping.
   </Note>

### Step 1: Set up the Connection

1. Provide the following fields to configure the AD connection:

   | Field              | Description                                                |
   | ------------------ | ---------------------------------------------------------- |
   | **Host Name**      | The domain's hostname or IP address where AD services run. |
   | **Server Port**    | The network port number used by the domain host.           |
   | **Base DN**        | The server location for users and groups in the domain.    |
   | **User ID**        | The identity used to log into the AD.                      |
   | **Password**       | The password used to log into the AD.                      |
   | **SSL** (Optional) | Enable to secure communications over HTTPS.                |

   <img src="https://mintcdn.com/koreai/PuupHPoTlgovf9wN/ai-for-process/settings/images/configure-ad-connection.png?fit=max&auto=format&n=PuupHPoTlgovf9wN&q=85&s=6e0c976500a028df8182e8beb2ceffa8" alt="configure ad connection" width="884" height="449" data-path="ai-for-process/settings/images/configure-ad-connection.png" />

2. Click **Next** to validate the credentials before proceeding. Validation errors appear on screen so you can correct them.

### Step 2: Import Organization Units

1. Select one of the following options:

   * **Import all organization units**: Imports user data from all OUs.
   * **Do not import organization units**: No user data is imported from any OUs.
   * **Import only the following organization units**: Imports user data only from the selected OUs.

2. Click **Next** to proceed to user profile fields mapping.

   <img src="https://mintcdn.com/koreai/_Dn-kwIEkdH7YDGt/ai-for-process/settings/images/org-units.png?fit=max&auto=format&n=_Dn-kwIEkdH7YDGt&q=85&s=6566b66ec70a75264e0ed6bacf1e965a" alt="manage org units" width="873" height="461" data-path="ai-for-process/settings/images/org-units.png" />

### Step 3: Specify User Attributes and Configure Rules for Selective Import

In this step, you can:

* Define the LDAP user attributes (profile fields) to import from the AD.
* Set inclusion and exclusion rules to filter which users are imported.
  * **Inclusion rules**: Define which users to include in sync or import based on criteria.
  * **Exclusion rules**: Define which users to exclude from the AD import.

**To configure user attributes:**

1. (Optional) Select **Import users from active directory** to fetch default fields from the AD.

2. Click the **User Attributes** tab and map each field under **Default Fields** to the corresponding AD attribute from the dropdown.

   <img src="https://mintcdn.com/koreai/rlh-0_-9ZDbn4IuC/ai-for-process/settings/images/default-fields.png?fit=max&auto=format&n=rlh-0_-9ZDbn4IuC&q=85&s=50dd86b9a03d76d2ae3ce16f40cf50df" alt="default fields" width="874" height="580" data-path="ai-for-process/settings/images/default-fields.png" />

3. (Optional) To add custom field mappings in the **Custom Fields** section:

   * Click **Add Field**.
   * Enter the custom field name in **Custom field name**.
   * Enter the corresponding AD field in **Field from Active Directory**.
   * (Optional) Click the **tag** icon to set the custom field as the primary field. To delete this field, you must first remove the primary field tag.
   * Click **Next** to complete the mapping.

   <img src="https://mintcdn.com/koreai/rlh-0_-9ZDbn4IuC/ai-for-process/settings/images/custom-field-management.png?fit=max&auto=format&n=rlh-0_-9ZDbn4IuC&q=85&s=010180d24e2458e28d2255035a2b0d75" alt="manage custom field" width="828" height="397" data-path="ai-for-process/settings/images/custom-field-management.png" />

   To remove a field, click the **Delete** icon.

   <img src="https://mintcdn.com/koreai/rlh-0_-9ZDbn4IuC/ai-for-process/settings/images/delete-custom-field.png?fit=max&auto=format&n=rlh-0_-9ZDbn4IuC&q=85&s=a7983f7200680f9e9a8fa78c88e73a5c" alt="delete custom field" width="835" height="451" data-path="ai-for-process/settings/images/delete-custom-field.png" />

   <Note>Deleting a custom field is only allowed if multiple fields exist.</Note>

**To configure inclusion and exclusion rules:**

4. Click the **Manage Inclusion & Exclusion Rules** tab.

5. Under **Inclusion Rules**, enter the rule expression using user profile parameters in the **Rule Definition** textbox, following LDAP filter syntax.

   <img src="https://mintcdn.com/koreai/_Dn-kwIEkdH7YDGt/ai-for-process/settings/images/manage-rules.png?fit=max&auto=format&n=_Dn-kwIEkdH7YDGt&q=85&s=5b5a77950fdb67bdaa598535606da36e" alt="manage rules" width="759" height="298" data-path="ai-for-process/settings/images/manage-rules.png" />

6. (Optional) Under **Exclusion Rules**, set the **AD/LDAP field**, **Match Type**, and **Value**. Match Type options:

   | Match Type       | Description                                           |
   | ---------------- | ----------------------------------------------------- |
   | Exact Match      | The AD field must exactly match the specified value.  |
   | Partial Match    | The AD field can partially match the specified value. |
   | Multiple Matches | The AD field must match all specified values.         |

   **Steps to set exclusion rules:**

   1. Click **+ Add exclusion** to add a new rule entry.
   2. Select the entry to enable the exclusion rule.
   3. Click **Next** to proceed.

   <Note>All mandatory fields must be filled in before you can proceed to the next step.</Note>

   <img src="https://mintcdn.com/koreai/PuupHPoTlgovf9wN/ai-for-process/settings/images/add-exclusion.png?fit=max&auto=format&n=PuupHPoTlgovf9wN&q=85&s=b5187680f064206e047726c93d179fad" alt="add exclusion" width="756" height="322" data-path="ai-for-process/settings/images/add-exclusion.png" />

   To delete a rule, hover over the entry and click the **Delete** icon.

   <img src="https://mintcdn.com/koreai/rlh-0_-9ZDbn4IuC/ai-for-process/settings/images/delete-rule.png?fit=max&auto=format&n=rlh-0_-9ZDbn4IuC&q=85&s=e308eb668e5875fa8b0e881fd28d9424" alt="delete rule" width="830" height="353" data-path="ai-for-process/settings/images/delete-rule.png" />

### Step 4: Schedule Automatic AD Sync

Enabling auto sync is optional but recommended to keep your AD data on AI for Process current.

<Note>When auto sync is disabled, initiate AD sync manually by clicking **Sync Now** under **Configure Sync with Directory**.</Note>

1. Click the **Enable auto-sync** toggle.

   <img src="https://mintcdn.com/koreai/rlh-0_-9ZDbn4IuC/ai-for-process/settings/images/enable-auto-sync.png?fit=max&auto=format&n=rlh-0_-9ZDbn4IuC&q=85&s=dc10beeedf7761b50e96971cfac67cba" alt="enable auto sync" width="680" height="153" data-path="ai-for-process/settings/images/enable-auto-sync.png" />

2. Configure the following sync fields:

   | Field              | Options                           | Default      |
   | ------------------ | --------------------------------- | ------------ |
   | **Sync Frequency** | Daily, Weekly, Monthly, Other     | Daily        |
   | **Sync Start**     | Any future date (calendar picker) | Current date |
   | **Time**           | Based on selected frequency       | 12:00 PM     |

   <Note>
     * For weekly and monthly syncs, you can select only one date from the calendar.
     * You can only schedule sync with a future date and time.
   </Note>

   **Frequency options:**

   * **Daily**: Syncs every day starting from the **Sync Start** date.

     *Example:* Syncs daily from 10 June 2024 at 12:00 PM.

     <img src="https://mintcdn.com/koreai/rlh-0_-9ZDbn4IuC/ai-for-process/settings/images/daily-schedule.png?fit=max&auto=format&n=rlh-0_-9ZDbn4IuC&q=85&s=c8aab7e0c22743b88ae0b94a3687d949" alt="daily schedule" width="624" height="369" data-path="ai-for-process/settings/images/daily-schedule.png" />

   * **Weekly**: Syncs on the selected day (**Repeat On**) every week, starting from the **Sync Start** date.

     *Example:* Syncs every Thursday from 10 June 2024 at 12:00 PM.

     <img src="https://mintcdn.com/koreai/FxeUffvny0kFoYXM/ai-for-process/settings/images/weekly-schedule.png?fit=max&auto=format&n=FxeUffvny0kFoYXM&q=85&s=99a643af37c20a35b389135a2005c91b" alt="weekly schedule" width="721" height="237" data-path="ai-for-process/settings/images/weekly-schedule.png" />

   * **Monthly**: Syncs on the designated day of each month, starting from the **Sync Start** date.

     *Example:* Syncs on the 15th of each month, starting 10 June 2024 at 12:00 PM.

     <img src="https://mintcdn.com/koreai/_Dn-kwIEkdH7YDGt/ai-for-process/settings/images/monthly-schedule.png?fit=max&auto=format&n=_Dn-kwIEkdH7YDGt&q=85&s=13c7c2022702e68c3d01d0322bc8a71f" alt="monthly schedule" width="686" height="168" data-path="ai-for-process/settings/images/monthly-schedule.png" />

   * **Other**: Syncs at custom intervals (for example, every 60 days or weeks) starting from the **Sync Start** date and time.

     *Example:* Syncs every 60 days, starting 10 June 2024 at 12:00 PM.

     <img src="https://mintcdn.com/koreai/_Dn-kwIEkdH7YDGt/ai-for-process/settings/images/other-schedule.png?fit=max&auto=format&n=_Dn-kwIEkdH7YDGt&q=85&s=668b4f6dd56d33022bc5c9690057ed5d" alt="other schedule" width="703" height="168" data-path="ai-for-process/settings/images/other-schedule.png" />

3. Click **Save**.

   <img src="https://mintcdn.com/koreai/FxeUffvny0kFoYXM/ai-for-process/settings/images/save-schedule.png?fit=max&auto=format&n=FxeUffvny0kFoYXM&q=85&s=5eb48ea90b75365a4b11c053ae0356ae" alt="save schedule" width="606" height="346" data-path="ai-for-process/settings/images/save-schedule.png" />

   If auto sync is disabled, **Save** only saves the configuration. Enabling auto sync saves the configuration and initiates sync at the scheduled time.

### After Setup

After configuring AD sync, the following options appear under **Configure sync with directory**:

| Option                    | Description                                                                                                                          |
| ------------------------- | ------------------------------------------------------------------------------------------------------------------------------------ |
| **Sync now**              | Performs an ad hoc AD sync without waiting for the schedule.                                                                         |
| **Sync History**          | Displays the history of AD syncs, including date and time, the initiating user, and a count of successful and failed records synced. |
| **Manage directory sync** | Opens the **Configure Directory** window to edit existing configurations.                                                            |
| **Reset**                 | Resets the AD sync configuration but retains the last sync data on AI for Process.                                                   |
| **Sync Status**           | Shows the date of last sync, total users and OUs synchronized, and any errors encountered.                                           |

<Note>Even if auto sync is off, click the **Change** link in Sync Status to access and schedule auto sync on the configuration page.</Note>

<img src="https://mintcdn.com/koreai/FxeUffvny0kFoYXM/ai-for-process/settings/images/sync-history.png?fit=max&auto=format&n=FxeUffvny0kFoYXM&q=85&s=5ab06553be22fb56a2fb25b5425d3a79" alt="sync history" width="679" height="349" data-path="ai-for-process/settings/images/sync-history.png" />

<img src="https://mintcdn.com/koreai/PuupHPoTlgovf9wN/ai-for-process/settings/images/configure-sync-with-directory.png?fit=max&auto=format&n=PuupHPoTlgovf9wN&q=85&s=f7fa0665ce934297ddc03d7663a7261d" alt="configure sync with directory" width="766" height="249" data-path="ai-for-process/settings/images/configure-sync-with-directory.png" />

### Sync Status Email Notifications

For a **successful** sync:

<img src="https://mintcdn.com/koreai/FxeUffvny0kFoYXM/ai-for-process/settings/images/success-sync.png?fit=max&auto=format&n=FxeUffvny0kFoYXM&q=85&s=b70066568fdf383b6b4cb8c2083fc9af" alt="success sync" width="814" height="315" data-path="ai-for-process/settings/images/success-sync.png" />

For a **failed** sync:

<img src="https://mintcdn.com/koreai/rlh-0_-9ZDbn4IuC/ai-for-process/settings/images/failed-sync.png?fit=max&auto=format&n=rlh-0_-9ZDbn4IuC&q=85&s=a7565935bbe1de7ae183fb59599ac89b" alt="failed sync" width="762" height="217" data-path="ai-for-process/settings/images/failed-sync.png" />
