---
title: Adding Auto Import Rules
slug: singleconnect-reference-guide-3-1-0/adding-auto-import-rules
description: Learn how to automatically import accounts into SAPM with the Auto Import function. This feature imports accounts with the same username and password from target devices, making it convenient for daily imports from multiple virtual servers. Adjust the num
docTags: 
createdAt: 2022-07-29T12:54:50.000Z
---

If there are a lot of accounts on the target devices with the same username and password, the Auto Import function can be used to add SAPM Accounts, with a job running periodically to detect these usernames and import them to SAPM. For example, if multiple virtual servers are created every day using the same username and password on the template, this feature can be used to import all these accounts to SAPM daily. To use this feature:

1. Navigate to **SAPM Management&#x20;**> **SAPM Management**.
2. Open th&#x65;**&#x20;Auto Import Rules** tab.
3. Enter the rule name, device group, element type, SAPM configuration, SAPM username, password, and change period.
4. Click **Save**.

![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/Ag7pGKBxr1nxryPrjKFA1_image.png "SAPM Auto Import")

:::hint{type="info"}
To change the number of threads running the SAPM Auto-Import jobs, the **sapm.job.password.change.thread.count** parameter should be changed from the **Administration&#x20;**> **System Config Man**. page. The default value i&#x73;**&#x20;5**.
:::

