> For the complete documentation index, see [llms.txt](https://docs.vida.id/identity-stack/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.vida.id/identity-stack/authentication/authentication-factors/biometric-device-selfie-id/integration-methods/selfie-id-api/provisioning-registration.md).

# Provisioning/Registration

The registration process for the authentication in VIDA involves the following steps:

**1. User Trigger**

The partner app detects that the user does not have a registered multi-factor authentication credential and initiates the device registration process.

**2. Request for Credential Registration**

The app makes an API request to the **partner backend**, which then forwards the request to the VIDA Authentication Server.&#x20;

**3. Challenge Presentation**

The VIDA Authentication Server responds with a challenge based on the credential type:

* **For Selfie ID:** The app launches the device camera to capture a selfie for biometric authentication.

**4. Response Submission**

The app submits the user’s response to VIDA via an API call:

* **For Selfie ID:** The captured selfie is sent to VIDA for biometric validation.

**5. Validation and Credential ID Generation**

VIDA Authentication Services validate the submission. If successful, VIDA generates a **Credential ID** and returns it to the **partner backend** along with additional claims

**6. Postback Submission to Partner Backend**

The VIDA Authentication Server sends the **signed assertion** (including the Credential ID) to a predefined **postback URL** on the partner backend.

**7. Storing Credential ID on the Partner Backend**

The partner backend extracts the **Credential ID** from the assertion and **associates it with the user's account** for future authentication requests.
