> For the complete documentation index, see [llms.txt](https://ztrust.gitbook.io/ztrust-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ztrust.gitbook.io/ztrust-documentation/user-manual-ztrust-v4.1/4.-admin-manual/4.26-how-to-enable-the-one-to-many-feature.md).

# 4.26 How to enable the One-to-Many feature

It is an add-on on-demand feature which can be requested. It provides convenient monitoring and tracking capabilities. It enables users to associate a single phone number or email address with multiple user IDs, thereby providing authentication for selected users.<br>

1. Go to the Authentication tab.

   <figure><img src="/files/UiOLhWLBCkQMkicHz1T6" alt=""><figcaption><p>Fig 4.25.a: Navigating to Authentication section in side bar</p></figcaption></figure>
2. Click on Duplicate on the right side and create a Copy of the Browser flow.

<figure><img src="/files/ZFg5BvT4lU0SHEZf5pau" alt=""><figcaption><p>Fig 4.25.b: Do copy of browser flow</p></figcaption></figure>

3. Give any name to the copy of browser flow as - One-to-Many Browser Flow.

<figure><img src="/files/Ss3UPsfq2lNJCt2BB8ZG" alt=""><figcaption><p>Fig 4.25.c:  Give a name to the duplicated browser flow for One to many</p></figcaption></figure>

4. Click on Duplicate.

<figure><img src="/files/CcmMh317lcqloWWL2OCe" alt=""><figcaption><p>Fig 4.25.d: One to many browser flow configuration page</p></figcaption></figure>

5. Click on Add Step.
6. Select One to Many.

<figure><img src="/files/mlIgnRrFzRDs9Gecrh7H" alt=""><figcaption><p>Fig 4.25.e: Proceeding to add a new execution to One to many flow</p></figcaption></figure>

7. Click on Add.
8. It will be created with Requirement as Disabled. Change this to Alternative.

<figure><img src="/files/WVimX0yk0zctisPqeHVo" alt=""><figcaption><p>Fig 4.25.f: Make it as Alternative</p></figcaption></figure>

9. Now, click on Settings.

<figure><img src="/files/cVctytyupooCHHdM0epL" alt=""><figcaption><p>Fig 4.25.g: Proceeding to configure One to many</p></figcaption></figure>

10. Now add the required configurations.

<figure><img src="/files/QiYzc80wCqTypsKTJ9Sm" alt="" width="525"><figcaption><p>Fig 4.25.h: One to many configuration page </p></figcaption></figure>

11. Go to Realm Settings.

<figure><img src="/files/Z7mLZfrt8Y9Egslo5H9j" alt=""><figcaption><p>Fig 4.25.i: General tab under Realm setting section</p></figcaption></figure>

12. Go to User profile.

<figure><img src="/files/fOPhNarPWurZxl03c0wx" alt=""><figcaption><p>Fig 4.25.j: Navigating to User profile tab</p></figcaption></figure>

13. Click on Create attribute.
14. Enter the Attribute \[Name] as countryCode and the Display Name as Country Code.

<figure><img src="/files/LzAZQInG0ThX2fnOt1DM" alt=""><figcaption><p>Fig 4.25.k: Creating a country code attribute</p></figcaption></figure>

15. Click on Create.

<figure><img src="/files/jNln5iDVdhfuh9ocO32B" alt=""><figcaption><p>Fig 4.25.l: Attributes list</p></figcaption></figure>

16. Again, click on Create attribute.
17. Enter the Attribute \[Name] as phone and Display Name as Phone Number.

<figure><img src="/files/ZzcTGDhlQfUUGJkHJaZ2" alt=""><figcaption><p>Fig 4.25.j: Creating new Phone attribute</p></figcaption></figure>

18. Click on Create.
19. Now go to the Users tab.

    <figure><img src="/files/I8YaHYJSlH0vUgm30e1X" alt=""><figcaption><p>Fig 4.25.k: Navigating to Users section in side bar</p></figcaption></figure>
20. Click on Add User.

<figure><img src="/files/iuzknkh7kaHjvAx1xSaa" alt=""><figcaption><p>Fig 4.25.l: User creation page</p></figcaption></figure>

21. Fill the required details

<table><thead><tr><th width="138">Field Name</th><th width="187">Mandatory (Yes/No)</th><th width="108">Field Type</th><th>Description</th></tr></thead><tbody><tr><td>Username</td><td>Yes</td><td>Text</td><td>Enter the username for the user</td></tr><tr><td>Email </td><td>Yes</td><td>Text</td><td>Enter the preferred Email ID of User</td></tr><tr><td>First Name</td><td>No</td><td>Text</td><td>Enter the First name of User</td></tr><tr><td>Last Name</td><td>No</td><td>Text</td><td>Enter the Last name or Surname of User</td></tr></tbody></table>

<figure><img src="/files/hDNTzkUnqaNs4xQqGuF7" alt=""><figcaption><p>Fig 25.m: Creating an user</p></figcaption></figure>

22. Click on Create.
23. Click on Users.

<figure><img src="/files/nCyvyRApkzq6TeRAkNWE" alt=""><figcaption><p>Fig 4.25.n: List of available users</p></figcaption></figure>

24. Again, click on Add user.&#x20;
25. Enter the relevant details.

<table><thead><tr><th width="140">Field Name</th><th width="188">Mandatory (Yes/No)</th><th width="108">Field Type</th><th>Description</th></tr></thead><tbody><tr><td>Username</td><td>Yes</td><td>Text</td><td>Enter the username for the user</td></tr><tr><td>Email </td><td>Yes</td><td>Text</td><td>Enter the preferred Email ID of User</td></tr><tr><td>First Name</td><td>No</td><td>Text</td><td>Enter the First name of User</td></tr><tr><td>Last Name</td><td>No</td><td>Text</td><td>Enter the Last name or Surname of User</td></tr></tbody></table>

<figure><img src="/files/DXFtj9cNJTwB04e6Zowe" alt=""><figcaption><p>Fig 4.25.o: Creating an user</p></figcaption></figure>

26. Click on Create.

Both the users should have the same phone number.

Now to check if the One-to-Many feature is working correctly, go to the User Console.

1. Login using the Try Another Way option.

<figure><img src="/files/bRwTUP8NL8XyJju0MUnx" alt="" width="563"><figcaption><p>Fig 4.25.p: Login page with try another way option</p></figcaption></figure>

2. Click on Advanced OTP option.

<figure><img src="/files/oTHFlMy5zgKx8CPTSkgn" alt="" width="509"><figcaption><p>Fig 4.25.q: Login methods </p></figcaption></figure>

3. Enter the Phone Number.

<figure><img src="/files/nPwhZcV0Ay56en3ytWOf" alt=""><figcaption><p>Fig 4.25.r: Phone number loin page</p></figcaption></figure>

4. Click on Send OTP.
5. Then it will take to the below screen, where you have to select the User.

<figure><img src="/files/9Y3UqOApYZNvZJ1M7sSV" alt=""><figcaption><p>Fig 4.25.s: Duplicate User page</p></figcaption></figure>

6. Click on the dropdown and select the user with which you want to login.

<figure><img src="/files/7lUK9Zh4fN4hrvqpKjGo" alt=""><figcaption><p>Fig 4.25.t: User selection page</p></figcaption></figure>

7. Now click on Send OTP.

<figure><img src="/files/nzVGNRbqf2vbZzr6Axei" alt=""><figcaption><p>Fig 4.25.u: Pone number page with otp sent successfully</p></figcaption></figure>

8. Enter the OTP in the space provided.
9. Click on Submit.

You will be logged in to the user’s account that you selected.

<figure><img src="/files/kQA7iOXG4K846Z1TSOzo" alt=""><figcaption><p>Fig 4.25.v: Self service page</p></figcaption></figure>

In this way, One-to-Many feature is setup

<br>
