> ## Documentation Index
> Fetch the complete documentation index at: https://docs.jelou.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Biometrics Webview with photo

> Verify identity without leaving WhatsApp.

This agent lets you run a complete identity verification inside WhatsApp. The experience opens a web page within the chat, keeps the user in the conversation, and guides them at every step with guided capture and immediate feedback.

<Info>
  You don't need a verified WhatsApp account. If your account isn't verified, the web page opens in the phone's browser instead of inside WhatsApp.
</Info>

## Prerequisites

### ✅ Checklist to start without blockers

* You must have the public URL of your Terms and Conditions to configure in the agent. **This is mandatory**.
* The user must be able to **take photos** from the chat (camera permissions must be enabled on the device).
* **Location permissions** are also requested so data can be collected for better audit and traceability of the biometric process.

## How does it work?

The user completes the following steps:

<Steps>
  <Step title="Access via a unique link">
    The user receives a unique WhatsApp link to start the session. The link contains a non-reusable session ID and the associated flow information.
  </Step>

  <Step title="Take a photo of their face">
    The user captures a live photo with the camera, with visual guides to make sure the shot is correct. The system validates that it is a real person.
  </Step>

  <Step title="Capture their identity document">
    **Front and back** images of the document are requested, with visual assistance to validate that it is current and authentic.
  </Step>

  <Step title="3.1 Government verification (optional)" icon="server">
    Validates the document data against an official source, such as the civil registry. It has an additional cost on top of the base biometrics price and is highly recommended.

    * The official source confirms whether the submitted data is true or false.
    * The query is only made if the document first passed the technical validation.
    * The user doesn't take any extra step: the query is automatic, using the data extracted from their document.
    * If the source doesn't confirm them, the process is automatically rejected.

    See the fields returned for each country in [Government validation](/en/guides/integraciones/identidad/government-validation).
  </Step>

  <Step title="3.2 Human review - HIL (optional)" icon="headset">
    A human operator reviews the documents the system can't resolve with certainty, instead of rejecting them automatically. It is available **only for Enterprise accounts** and has an additional cost.

    * Raises the approval rate by 5% to 15%.
    * Applies to documents only. It does not review selfies.
    * The operator receives the case in their queue, reviews the document photos and the extracted data, and decides: approve, reject with a reason, or reject and send the user to the blacklist.
    * Every decision is logged with who made it, when, and under what criteria.

    Without HIL, doubtful cases are rejected automatically. Learn about the signals that route a case and the fraud tools in [Human in the Loop](/en/guides/integraciones/identidad/hil).
  </Step>

  <Step title="Automatic facial comparison" stepNumber={4}>
    The system compares the photo to the face extracted from the document and calculates the similarity level. If it falls below the threshold you defined, the process is rejected. With government validation of data and photo, it is also compared against the official photo.
  </Step>
</Steps>

## How to connect the integration?

<Frame caption="How to connect the Biometrics integration">
  <iframe width="100%" height="400" src="https://www.youtube.com/embed/b_hlkjk0pQs" title="Connect Biometrics" frameBorder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowFullScreen />
</Frame>

<Steps>
  <Step title="Open the platform">
    Use the Agent to create a biometrics flow, or select the **Identity validation** template.
    To start a flow from scratch, click Brain Studio in the sidebar.
  </Step>

  <Step title="Select Biometrics">
    In the toolbar you will see the **Biometrics** option. Click **Connect**.
  </Step>

  <Step title="Connect the integration">
    Once connected, you will see the **Biometrics** node. From there you can open the configuration panel, where you can enter your business rules, change the branding, the messages, and more. You can use the default version or select a version you have already configured.

    Click **Preview** to review the experience that corresponds to that node.

    Learn more about the configuration in [Biometrics Webview configuration](/en/guides/integraciones/identidad/biometrics-configuration).
  </Step>

  <Step title="Configure outputs">
    This agent has **1 success output and 3 error outputs**. Each can route to:

    * Text input with a custom message.
    * Connect, only if you have this module.
  </Step>

  <Step title="Run tests">
    With the configuration you just set, run tests with the **Test** button.
  </Step>
</Steps>

<Card title="Next: Configuration" icon="arrow-right" href="/en/guides/integraciones/identidad/biometrics-configuration">
  Review the outputs and customize your agent's experience.
</Card>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.