> ## 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 add rule for Multifactor Authentication

> This document provides step-by-step instructions to add rules in MFA.

This document comprises the following:

* Add and configure MFA Rule
* [MFA Workflow](#mfa-workflow)

## Add and configure Rule

Steps to add and configure rule in MFA:

1. Login to **Oloid Portal.**
   The homepage is displayed

2. Click **Auth Policies** > **Factor Sequencing.**
   The **Factor Sequence for MFA App** page is displayed.

3. Select **Factor Sequence Name** to edit.
   The details page is displayed.

4. Click **Policy Rules** > **Add Rule.**

   > [!NOTE]
   >
   > **Note:** You can add multiple rules for MFA.

5. Select Credentials for **Factor 1** and **Factor 2.**

   > [!NOTE]
   >
   > **Note:** You cannot select the same credential for Factor 1 and Factor 2.

   1. Click **Save.**
      The Rule is saved successfully.
   2. Click ![How to add rule for Multifactor... - screenshot 1](https://mintcdn.com/oloid-999c42b2/ktjZXuyVAI-Qj6yR/images/intercom/9738953/image-b54b21a9.png?fit=max\&auto=format\&n=ktjZXuyVAI-Qj6yR\&q=85\&s=24ec6a2806ba19ceb5b99107d2675eb4) icon to **Drag and change the priority sequence.**

      > [!NOTE]
      >
      > **Note:** The system will read the rules following the priority sequence.

## MFA Workflow

MFA Rule is set as :

Factor 1: Badge and Factor 2: PIN

> [!NOTE]
>
> **Note:** The user has to select the factors that are set in the Policy Rules.

Steps to Check-in with MFA:

1. Login to **HRMS Portal.**
   The login page is displayed.
2. Select **Badge.**
3. Scan the **Badge at the Reader.**
   The Identify is verified.
4. The Welcome page for Factor 2 authentication is displayed.
5. Select **PIN.**
6. Enter **PIN.**
   The confirmation pop-up page is displayed.
   You are logged in successfully.
