---
title: Adding Devices Automatically
slug: kronpam-reference-guide-3-9-0/adding-devices-automatically
description: Learn how to use the LdapDeviceImportJob to synchronize devices and device groups from Active Directory with Kron PAM. This document provides step-by-step instructions on defining the job, adjusting the automated job period, and enabling it. Includes help
docTags: 
createdAt: 2022-08-03T10:44:12.000Z
---

The **LdapDeviceImportJob&#x20;**&#x72;uns on Kron PAM to synchronize devices and device groups from the Active Directory. This job runs periodically and synchronizes the changes made since the job last ran to the Active Directory with Kron PAM, meaning any device added/removed on AD is directly added/removed on Kron PAM as well.
To set the LDAP Device Import Job:

1. Navigate to **Administration** > **Jobs Scheduler**.
2. Open the **Trigger List** tab.
3. Select **LdapDeviceImportJob** as the Job with the **Add** button.
4. Fill in the **Trigger Name&#x20;**&#x61;nd **Cron Expression** fields.
5. To enable the job, select **Enabled** for the **Active** field and click **Add Trigger**.

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/jTYsJaXh26a684IBOtHwS_image.png "Add LDAP Device Import Job")

The automated job period can be changed by editing the cron expressions.

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/T34eF3GPSSOBkOPll9bok_image.png "Edit LDAP Device Import Job")

