> ## 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 Generate Auto-Pair Config File in the Tenant Admin Portal

> This document provides step by step instruction to generate the Auto-Pair config file for Oloid DeviceLock App in the Tenant Admin Portal.

## Introduction

The **Auto-Pair Config File** feature in the **Tenant Admin Portal** allows admin to generate configuration files used for automatically pairing endpoints or devices with specific applications. This simplifies the setup process by eliminating the need for manual pairing, ensuring faster deployment and secure authentication between devices and applications.

## Prerequisite

You have **Admin access** to the **Tenant Admin Portal**.

## Steps to Generate Auto-pair Config File

1. Log in to the **Tenant Admin Portal**.
2. On the homepage of the portal, click **user profile icon** on the bottom left corner of the menu panel.

   ![How to Generate Auto-Pair Config File... - screenshot 1](https://mintcdn.com/oloid-999c42b2/Ig3Ofa3DxLH6vY_d/images/intercom/12728542/image-83a78116.png?fit=max\&auto=format\&n=Ig3Ofa3DxLH6vY_d\&q=85\&s=eafa9c3285a283649e4f5740c6971952)

   The user profile menu is displayed.
3. Click **Tenant Settings**.

   ![How to Generate Auto-Pair Config File... - screenshot 2](https://mintcdn.com/oloid-999c42b2/WXHXDJmtltQfhUml/images/intercom/12728542/image-466c99a1.png?fit=max\&auto=format\&n=WXHXDJmtltQfhUml\&q=85\&s=e774eda424f59f1b51d9a73e8f85b96e)

   The **Tenant Settings** page is displayed.
4. Go to **Security** tab > **API Token \`**> **API Key**.

   ![How to Generate Auto-Pair Config File... - screenshot 3](https://mintcdn.com/oloid-999c42b2/Ig3Ofa3DxLH6vY_d/images/intercom/12728542/image-edfd3a2b.png?fit=max\&auto=format\&n=Ig3Ofa3DxLH6vY_d\&q=85\&s=8b97a8ea005a12eaa5f82cd6529075d0)
5. In the **Generate Temporary Access Token** section, do the following:
   1. Select the **Start Date/Time** field.
      * To set the start date and time, click the date picker or select **Now**.
   2. Select the **End Date/Time** field.
      * Click the date picker, choose when the token will expire, and then click **OK**.
   3. Specify **Number of Endpoints** that can be created using the auto-config file. (Optional)
   4. Click **Generate**.

      ![How to Generate Auto-Pair Config File... - screenshot 4](https://mintcdn.com/oloid-999c42b2/Ig3Ofa3DxLH6vY_d/images/intercom/12728542/image-8bbf5573.png?fit=max\&auto=format\&n=Ig3Ofa3DxLH6vY_d\&q=85\&s=60a80a6868c546d90f27ded7b04ab84a)

      The auto-pair config file is generated.
6. Click **Auto-pair config file**.

   ![How to Generate Auto-Pair Config File... - screenshot 5](https://mintcdn.com/oloid-999c42b2/WXHXDJmtltQfhUml/images/intercom/12728542/ca6e65c5-4747-4b0a-89f6-2f2f2e20d16e-c6095aa9.png?fit=max\&auto=format\&n=WXHXDJmtltQfhUml\&q=85\&s=69a81f886b7d6fa40c5efedb359f283e)

   The Auto-pair config file pop-up box is displayed.
7. Do the following:
   1. Select **Application** as **Passwordless - DeviceLock** from **Application Type** dropdown list.
   2. From the **Select Application** dropdown list, select the application that you want the endpoints to pair with.
   3. Select **Skip user confirmation for pairing** option to auto-pair endpoints without requiring user confirmation (optional but recommended).
      * **If selected:** When the configuration file is uploaded to the endpoint, the system will pair automatically without prompting the user for confirmation.
      * **If not selected:** The system will display a confirmation pop-up to the user before completing the pairing process.
   4. Click **Download**.

      ![How to Generate Auto-Pair Config File... - screenshot 6](https://mintcdn.com/oloid-999c42b2/Ig3Ofa3DxLH6vY_d/images/intercom/12728542/image-56e6cef8.png?fit=max\&auto=format\&n=Ig3Ofa3DxLH6vY_d\&q=85\&s=23710de067b1cd73564ddaaddd037a96)

      The Autopair Config file is downloaded to the local device.

      > [!NOTE]
      >
      > **Note:** To update the Auto-Pair configuration after generating the configuration file, refer to [Tenant Admin Portal - How to Update Auto-Pair Config File for Oloid DeviceLock App](https://oloid.help/en/articles/12105399-tenant-admin-portal-how-to-update-auto-pair-config-file-for-oloid-devicelock-app). After updating the configuration, upload the updated Auto-Pair configuration file to the endpoints manually or deploy it using your MDM solution for the changes to take effect.
