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

# DeviceLock App - How to Pair DeviceLock App using the “Auto-Pair using Config File” Option

> This document provides step-by-step instruction to Pair Oloid DeviceLock App using the “Auto-Pair using Config File” option.

## Introduction

The Oloid DeviceLock app supports **Auto-Pair** using **Config File** option, which allows the admin to quickly pair devices without manual entry or setup. By uploading the pre-generated **AutoPairConfig.json** file, the app automatically applies the required configuration and pairs the device with the designated endpoint. This method simplifies deployment, reduces errors, and ensures a seamless pairing experience.

## Prerequisites

* You must generate Auto-Pair config file. To generate refer [How to generate Auto-Pair config file for Oloid DeviceLock App in the Tenant Admin Portal](https://oloid.help/en/articles/12105399-how-to-generate-auto-pair-config-file-for-oloid-devicelock-app-in-the-tenant-admin-portal).
* The Auto-Pair config file must be saved in the local directory of the Android device to be paired.

## Steps to pair DeviceLock

1. Launch **DeviceLock app**.

   ![How to Pair DeviceLock App using the... - screenshot 1](https://mintcdn.com/oloid-999c42b2/PvyFdAO6cyHaw64b/images/intercom/12114460/image-37274c62.png?fit=max\&auto=format\&n=PvyFdAO6cyHaw64b\&q=85\&s=1c25edc8614db27cab4d44c936283846)

   The Welcome screen is displayed.

2. Tap **Auto-Pair using config file**.

   ![How to Pair DeviceLock App using the... - screenshot 2](https://mintcdn.com/oloid-999c42b2/PvyFdAO6cyHaw64b/images/intercom/12114460/image-853befd0.png?fit=max\&auto=format\&n=PvyFdAO6cyHaw64b\&q=85\&s=b9aad5f6b8060e970db5fcbab135a954)

   The Pair Device using Config File screen is displayed.

3. Tap **Click here to upload file**.

   > [!NOTE]
   >
   > **Note:** Only **.json** file format is supported for the Auto-Pair configuration.

   ![How to Pair DeviceLock App using the... - screenshot 3](https://mintcdn.com/oloid-999c42b2/PvyFdAO6cyHaw64b/images/intercom/12114460/image-8f11a44e.png?fit=max\&auto=format\&n=PvyFdAO6cyHaw64b\&q=85\&s=cde292e698dd058cfc7e2e4f57912a8b)

   The **local file selection screen** is displayed.

4. Browse the location of the downloaded file.

5. Tap **AutoPairConfig.json.**

   ![How to Pair DeviceLock App using the... - screenshot 4](https://mintcdn.com/oloid-999c42b2/PvyFdAO6cyHaw64b/images/intercom/12114460/c71e2b35-9fb7-4bc7-a01b-4f0906f893a9-583311a2.png?fit=max\&auto=format\&n=PvyFdAO6cyHaw64b\&q=85\&s=7f6faec0e0b5ac8a243617d458b8d022)

   The Pair Device using Config File screen is displayed.

6. Select **Use the Device Name as Endpoint Name** to show the device name as endpoints name. (optional).

   > [!NOTE]
   >
   > **Note:** You can tap **Reset** to upload the file again.

7. Tap **Upload** to successfully upload the file and pair the endpoint.

   ![How to Pair DeviceLock App using the... - screenshot 5](https://mintcdn.com/oloid-999c42b2/PvyFdAO6cyHaw64b/images/intercom/12114460/image-fc2575bd.png?fit=max\&auto=format\&n=PvyFdAO6cyHaw64b\&q=85\&s=ef8b4d6d518ca87d86284af9b51f0942)

   The Endpoint is paired successfully.

   ![How to Pair DeviceLock App using the... - screenshot 6](https://mintcdn.com/oloid-999c42b2/PvyFdAO6cyHaw64b/images/intercom/12114460/image-382dc812.png?fit=max\&auto=format\&n=PvyFdAO6cyHaw64b\&q=85\&s=83cd06e699ecf9e31a402a985fdd86a9)
