> ## 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.

# How to assign Badge ID and create Bluetooth credentials

> This document provides step-by-step instructions to assign Badge ID and create Bluetooth credentials in the Oloid Portal.

**Introduction**

Bluetooth credential is generated for the M-Tag application to function.

**Pre-requisite**

Badge ID should be assigned to the User.

Steps to assign Badge ID and create Bluetooth credentials:

1. Log in to the **Oloid Portal**.
2. On the home page of the portal, click **Directory** on the left panel menu.

   ![How to assign Badge ID and create... - screenshot 1](https://mintcdn.com/oloid-999c42b2/T1wTCEHSVwo0cU3S/images/intercom/8290168/image-16efdac8.png?fit=max\&auto=format\&n=T1wTCEHSVwo0cU3S\&q=85\&s=39b3d6b48c90cb59c69540a47b2344c4)

   The **Users** page is displayed.
3. Click user name to edit.

   ![Image](https://mintcdn.com/oloid-999c42b2/T1wTCEHSVwo0cU3S/images/intercom/8290168/81bc9c2a-f770-4ac1-98b0-cb2678ca6c59-5b7dfd39.png?fit=max\&auto=format\&n=T1wTCEHSVwo0cU3S\&q=85\&s=603b68e24e01ebe616775a29a5b2dcbf)

   The user details page is displayed.
4. Do one of the following:
   1. Go to **Credentials** > **Bluetooth** tab> + **Create Bluetooth**.

      ![Image](https://mintcdn.com/oloid-999c42b2/T1wTCEHSVwo0cU3S/images/intercom/8290168/4a42b341-fd5f-485e-9917-929b0ef7bdc6-edf2653b.png?fit=max\&auto=format\&n=T1wTCEHSVwo0cU3S\&q=85\&s=2c7ee43dc2fb56421e0122d35db2f699)
   2. Go to **Assign Credential** > **Create Bluetooth**.

      ![Image](https://mintcdn.com/oloid-999c42b2/T1wTCEHSVwo0cU3S/images/intercom/8290168/43eeba61-92e4-445e-a196-866dc8e71ec6-1f52d786.png?fit=max\&auto=format\&n=T1wTCEHSVwo0cU3S\&q=85\&s=0a9cbf0b9b1505a69322fdb615325e9b)

      The **Assign Bluetooth Credential** pop-up box is displayed.

      ![How to assign Badge ID and create... - screenshot 2](https://mintcdn.com/oloid-999c42b2/T1wTCEHSVwo0cU3S/images/intercom/8290168/image-d8165a69.png?fit=max\&auto=format\&n=T1wTCEHSVwo0cU3S\&q=85\&s=60cf5a1635c6b8d76b9bc4c847fcbe05)
5. On the pop-up box do the following:
   1. Enter **Badge ID** / **Secondary ID**.
   2. Select weigand format from **Wiegand Format** drop-down list.
   3. Click **Next**.
      The **Add Credential Validity** screen is displayed.

      ![How to assign Badge ID and create... - screenshot 3](https://mintcdn.com/oloid-999c42b2/T1wTCEHSVwo0cU3S/images/intercom/8290168/image-31ab5ed2.png?fit=max\&auto=format\&n=T1wTCEHSVwo0cU3S\&q=85\&s=2291876f92e4185f37b10887e4ab23bc)
   4. Select **Start Date / Time** and **End Date/Time** from the calendar.

      > [!NOTE]
      >
      > **Note:**
      >
      > You can click **Now** to set the current date and time. The end date is automatically set to 1 year from the current date.
      > You can also click **10 years from Now** to set the **End Date/Time** to 10 years from the current date/time.
      > 5\. Click **Assign**.
      > The Bluetooth ID is created and listed on the **Bluetooth** tab.
      >
      > ![Image](https://mintcdn.com/oloid-999c42b2/T1wTCEHSVwo0cU3S/images/intercom/8290168/9cb35a1e-f0ec-4de9-9bb8-03f2efeed2cd-6798de4e.png?fit=max\&auto=format\&n=T1wTCEHSVwo0cU3S\&q=85\&s=6e9812c0698ec11119d084551c8b4e0c)

      > [!NOTE]
      >
      > **Note:** The Badge ID is also assigned and listed on the **Badge** tab.

      ![Image](https://mintcdn.com/oloid-999c42b2/T1wTCEHSVwo0cU3S/images/intercom/8290168/d5083272-23a8-4e51-aa22-3f07008421cb-b5102c7f.png?fit=max\&auto=format\&n=T1wTCEHSVwo0cU3S\&q=85\&s=0adfef48aa3921fb185ca58bbf00c800)

      Watch our video tutorial here **[How to add bluetooth as credential to users.](https://oloid.help/en/articles/8249060-how-to-add-bluetooth-as-credential-to-users-video-tutorial)**
