# Quickstart

{% stepper %}
{% step %}

## Define your use case for Onboarding/KYC

First, determine where you intend to use the Unico solution:

* **KYC:** *Ideal for verifying user identity in regulatory processes*.

{% hint style="info" %}
Available integration: **Magic Link**
{% endhint %}

* **Onboarding:** *Used when registering new users*.

{% hint style="info" %}
Available integrations: **By Unico** or **By Client**
{% endhint %}

{% endstep %}

{% step %}

## Setup and credentials

Once the use case is defined, our team will handle the setup on our side and provide the necessary credentials for API consumption.

{% endstep %}

{% step %}

## Available integration options

### **🔗 Magic Link (for KYC)**

* You will receive an **`x-api-key`**.
* Perform a **POST** request to start the process.
* After the user completes the journey, you will be **notified via webhook**.
* Use the Magic Link Token to make a **GET** request and retrieve the results.
* The response will include:
  * **INE validation;**
  * **Liveness detection;**
  * **Behavioral analysis alert.**

{% hint style="warning" %}
This type of integration is specific to KYC in Mexico :flag\_mx:
{% endhint %}

### **👤 By Unico (for Onboarding)**

* You will receive a **service account** for authentication.
* Authenticate with a login endpoint before making the main request.
* Then, perform a **POST** request to initiate the process.
* You will be **notified via webhook or a callback** in SDK  when the user completes the journey.
* Use the process ID to make a **GET** request and retrieve the results.
* The response will include:
  * **Liveness detection;**
  * **Behavioral analysis alert.**

### **📷 By Client (for Onboarding)**

* You will receive a **service account** for authentication.
* Authenticate with a login endpoint.
* Your system will be responsible for **capturing the user's selfie**.
* Send the image in **base64** format via a **POST** request.
* You will receive a **synchronous response** with the result of:
  * **Behavioral analysis alert.**

{% endstep %}

{% step %}

## Transactional use by Unico (1:1)

In addition to the initial use (KYC or onboarding), you can also use the **By Unico** solution for transactional processes, such as: *Data changes; Password updates; Sensitive actions; Etc.*

{% hint style="info" %}
**In these cases, you can perform a 1:1 facial match between the new selfie and the one captured during any previous KYC or onboarding session.**
{% endhint %}

* You will receive a **service account** for authentication.
* Authenticate with a login endpoint before making the main request.
* Then, perform a **POST** request to initiate the process.
* You will be **notified via webhook or a callback** in SDK when the user completes the journey.
* Use the process ID to make a **GET** request and retrieve the results.
* The response will include:
  * **Liveness detection;**
  * **Validation 1:1;**
  * **Behavioral analysis alert.**
    {% endstep %}
    {% endstepper %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://devcenter.unico.io/trust-en/getting-started/quickstart.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
