# Use Case 2.1 Setup a remote PIN and biometric unlock
## Overview
| Aspect | Description |
|------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| **Summary** | The user chooses and confirms a secure 6-digit remote Personal Identification Number (PIN) for the app, and enables biometric unlock if supported and desired. |
| **Goal** | Securing the App with PIN and optionally biometrics. |
| **Preconditions** | *None* |
| **Postconditions** |
- Remote PIN is configured.
- If selected, biometric unlock is configured.
|
| **Triggered by** | - User completes [UC1.1 Introduce the app](UC1.1_IntroduceTheApp.md)
|
| **Additional Documentation** | - [Wallet creation](../../architecture/use-cases/wallet-creation)
|
| **Possible errors** | *None* |
| **Logical Test Cases** | - [LTC51 Setup PIN](../logical-test-cases.md#ltc51)
- [LTC52 Setup PIN fails device does not pass app and key attestation](../logical-test-cases.md#ltc52)
- [LTC58 Skip setting up biometrics](../logical-test-cases.md#ltc58)
- [LTC59 Device does not support biometrics](../logical-test-cases.md#ltc59)
|
---
## Flow
| # | Description | Next |
|---------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------|
| **1** | **PRIMARY SCENARIO** | |
| **1.1** | **System executes partial flow [PF2.9 Setup PIN](../partial-flows/PF2.9_SetupPin.md)** | |
| 1.1a | Result: PIN setup succeeds | 1.2 |
| 1.1b | Result: Back | Back |
| **1.2** | **System determines whether device supports biometrics**- Duration: 0.0 - 0.1 seconds
| |
| 1.2a | Case: Device supports biometrics | 1.7 |
| 1.2b | Case: Device does not support biometrics | 1.9 |
| **1.3** | **System displays screen 'Configure Biometrics'**- Message: Do you want to unlock the app with Face ID/Fingerprint?
- Actions: Enable, Skip, Info
| |
| 1.3a | User selects Enable | 1.9 |
| 1.3b | User selects Skip | 1.9 |
| 1.3c | User selects Info | Go to: [UC9.2 Get app information](UC9.2_GetAppInformation.md) |
| **1.4** | **Operating system prompts user for biometric authentication** | |
| 1.4a | User confirms with biometric authentication | 1.9 |
| 1.4b | User rejects biometric authentication | 1.7 |
| **1.5** | **System displays screen 'Confirm PIN/biometric setup'**- Message: Your NL Wallet is secured
- Actions: Next
| |
| 1.5a | User selects Next | Go to: [UC3.1 Obtain PID](UC3.1_ObtainPidFromProvider.md) |