> ## 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 Update Auto-Pair Config File for Oloid DeviceLock App in the Tenant Admin Portal

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

## Introduction

The Tenant Admin Portal allows the admin to update an Auto-Pair configuration file that simplifies the process of pairing endpoints with the Oloid DeviceLock application. By updating this file, admins can securely define token validity, pairing rules, and endpoint limits, ensuring a seamless and controlled setup experience for end users.

## Prerequisite

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

## Steps to Update 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 Update Auto-Pair Config File for... - screenshot 1](https://mintcdn.com/oloid-999c42b2/PvyFdAO6cyHaw64b/images/intercom/12105399/image-1fcb9c43.png?fit=max\&auto=format\&n=PvyFdAO6cyHaw64b\&q=85\&s=171269876b16e9f73a012676a69d72ea)

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

   ![How to Update Auto-Pair Config File for... - screenshot 2](https://mintcdn.com/oloid-999c42b2/PvyFdAO6cyHaw64b/images/intercom/12105399/image-ef835e8f.png?fit=max\&auto=format\&n=PvyFdAO6cyHaw64b\&q=85\&s=b273ea3b2beff74c8540928bc6f4f2af)

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

   ![How to Update Auto-Pair Config File for... - screenshot 3](https://mintcdn.com/oloid-999c42b2/PvyFdAO6cyHaw64b/images/intercom/12105399/image-dd0d41c7.png?fit=max\&auto=format\&n=PvyFdAO6cyHaw64b\&q=85\&s=22df7553d31a8af1b232a6a5595145f8)

   The API key screen is displayed.
5. In the **Generate Temporary Access Token** section, click **Edit.**

   ![How to Update Auto-Pair Config File for... - screenshot 4](https://mintcdn.com/oloid-999c42b2/PvyFdAO6cyHaw64b/images/intercom/12105399/image-87349108.png?fit=max\&auto=format\&n=PvyFdAO6cyHaw64b\&q=85\&s=e5b826a0c3d7260033cc6ab428ba55cc)
6. 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**.

        > [!NOTE]
        >
        > **Note:**
        >
        > **Token Expiry Alert** appears when the Auto-pair configuration file is set to expire within the next 10 days.

   3. Specify **Total Number of Endpoints** (Allowed) that can be created with the generated config file.

      > [!NOTE]
      >
      > **Note:**
      >
      > 1. Once the **Number of Endpoints Paired** reaches this limit, the configuration file cannot be used to pair additional endpoints. Increase the allowed limit to continue pairing new endpoints.
      > 2. If total number of Endpoints (Allowed) below 20, then an **Attention Alert** pop-up will display.
      > 3. Click **Save**.
      >
      >    ![How to Update Auto-Pair Config File for... - screenshot 5](https://mintcdn.com/oloid-999c42b2/PvyFdAO6cyHaw64b/images/intercom/12105399/image-3b195da0.png?fit=max\&auto=format\&n=PvyFdAO6cyHaw64b\&q=85\&s=b7f91a630158046e4d22725dd697638e)
      >
      >    The **Generate Temporary Access Token** section is updated successfully.
      >
      >    ![How to Update Auto-Pair Config File for... - screenshot 6](https://mintcdn.com/oloid-999c42b2/PvyFdAO6cyHaw64b/images/intercom/12105399/image-7f5b32cc.png?fit=max\&auto=format\&n=PvyFdAO6cyHaw64b\&q=85\&s=b8b111d13af5c23d4aff4f1b56b67657)
      > 4. Click **Auto-pair config file** download option.
      >
      >    ![How to Update Auto-Pair Config File for... - screenshot 7](https://mintcdn.com/oloid-999c42b2/PvyFdAO6cyHaw64b/images/intercom/12105399/7d88e84b-0abc-47b4-8b28-74fdbe2238cc-95f97305.png?fit=max\&auto=format\&n=PvyFdAO6cyHaw64b\&q=85\&s=6b48e2d900d15023e8adbb33128362fb)
      >
      >    The Auto-pair config file pop-up box is displayed.
      > 5. Do the following:
      >    1. Select **Application** as **Passwordless - DeviceLock** from **Application Type** drop-down list.
      >    2. From the **Select Application** drop-down 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 Update Auto-Pair Config File for... - screenshot 8](https://mintcdn.com/oloid-999c42b2/PvyFdAO6cyHaw64b/images/intercom/12105399/image-c29db39c.png?fit=max\&auto=format\&n=PvyFdAO6cyHaw64b\&q=85\&s=41811aeed0dd0dba2f55a17627a4cde4)

The **Autopair Config file** is downloaded to the local device successfully.
