---
title: Getting started
slug: technical-docs/getting-started
icon: 🚀
docTags: 
createdAt: 2023-11-27T11:30:42.714Z
---

This guide walks you through the essential steps to implement IntelliProve's Face Scan. By the end, you will have implemented a working integration that enables users to perform health scans and view their results, all inside your platform. The [Face Scan plug-in](docId\:mw6gpbZekcj_-_LZrQjLL) is used for seamless integration of the scanning interface.

# Key objects in IntelliProve

Four primary types of objects are central to IntelliProve's functionality:

1. **User**: Represents a unique end-user accessing IntelliProve's services. Each User must be created once, enabling IntelliProve to track their Face Scans and build a personalized User Health Profile.&#x20;
   [Read more about the user object →](docId\:BiuPVixvHltbukKLR2ATI)
2. **Face Scan**: Refers to a single scan performed by a user. Each scan is identified by a unique ***Face Scan ID***. &#x20;
   [Read more about the Face Scan →](docId\:mw6gpbZekcj_-_LZrQjLL)
3. **Biomarkers:&#x20;**&#x42;iomarkers are Health Insights associated with a single Face Scan.  They are measurable, objective physiological indicators.&#x20;
   [Read more about the Biomarkers →](docId\:Buhj-Nt45FUXCPgeS0qPH)
4. **Metrics:&#x20;**&#x4D;etrics are interpreted Health Insights derived from the analysis of multiple Face Scans and incorporating contextual information.&#x20;
   [Read more about the Metrics →](docId\:yEqwSkx81EJu_Z8N3DjhY)

By associating Face Scans with users, IntelliProve ensures accurate tracking and meaningful Health Insights. The relationships between these objects are illustrated in the figure below.

![](https://api.archbee.com/api/optimize/_0R_DnpmBBLLXmaoWvG2u/tX2mhjV9nqwmAIYZaQitE_image.png)

# Integrating the Face Scan

Follow the 5 steps detailed below to integrate the Face Scan. If you haven't already, create an API key in the [admin console](https://console.admin.intelliprove.com/#/).

::Image[]{src="https://api.archbee.com/api/optimize/_0R_DnpmBBLLXmaoWvG2u/WeF1RJiGgZerZD8Ji4GYc_image.png" size="90" width="2864" height="1448" position="center" darkWidth="2864" darkHeight="1448" showCaption="false"}

### 1. "Perform scan" button

Add a clea&#x72;**&#x20;call-to-action** (CTA) button in your app’s frontend that allows users to start a Face Scan.

When the user clicks this button, you’ll need to execute a few steps to display the plug-in correctly. These steps include:

- creating a user&#x20;
- requesting an authenticated plug-in URL&#x20;
- embedding the plug-in in your frontend&#x20;

Each of these steps is explained in detail below.

### 2. Create user

Each Face Scan must be linked to a user. IntelliProve identifies a user using a unique **external\_user\_id** – an identifier you choose.

Before requesting a Face Scan URL, ensure the user exists. You can either:

- check via the [Get user details](docId\:BiuPVixvHltbukKLR2ATI) API endpoint, or&#x20;
- simply attempt to [create the user](docId\:BiuPVixvHltbukKLR2ATI). If the user already exists, the API will return the stored User record.&#x20;

To create a user, call the API with your chosen **external\_user\_id**. The response includes IntelliProve’s internal **user\_id**, a pseudonymized identifier used to track Face Scans and Health Profiles. IntelliProve does *not* store personally identifiable information such as names or national identifiers.

You can use either **external\_user\_id** or **user\_id** in subsequent API calls.

:::hint{type="success"}
***POST&#x20;**/v2/users*
[ Create a new user using the API →](docId\:BiuPVixvHltbukKLR2ATI)**
:::

### 3. Request Face Scan plug-in URL

To display the Face Scan plug-in in a web or mobile app, you must request an authenticated URL linked to the user.

Provide your external user ID to the API, and it will return a URL that:

- is tied to the specific user&#x20;
- collects results under that user's profile&#x20;
- is valid for 6 hours&#x20;

Importan&#x74;**: request a new URL for every new user session.**
&#x20;*One URL = one user session.*

:::hint{type="success"}
***GET&#x20;****&#x20;/v2/userjourneys/scan*
[Request the plug-in URL using the API →](docId\:wCS2Y1mG2PQnL4r4Mgg_Z)
:::

### 4. Display and hide the Face Scan plug-in&#x20;

Use the URL returned in the previous step to embed the Face Scan plug-in into your app.

You can integrate the plug-in using:

- an **iFrame**, or&#x20;
- one of IntelliProve’s **SDKs**, depending on your platform

:::hint{type="success"}
We provide detailed guides to embed the plug-in, based on your platform.
[Go to the 'Embed plug-in' documentation →](docId\:RfjkpQXvJ2UCHau2iB184)
:::

Once embedded, users can perform their first Face Scan!

**Dismissing the plug-in**

When a scan is completed, the plug-in sends a postMessage event to the parent app so you can hide/dismiss the plug-in and continue your flow.

:::hint{type="success"}
Postmessages safely enable cross-origin communication between Window objects and allow your app to stay up-to-date on progress within the Face Scan plug-in.
[Go to the 'message events' documentation →](docId\:KZ6XSnd6V4G8EfCgd02ib)&#x20;
:::

### 5.  Visualize Health Insights

Once scans are performed, you can present Health Insights to your users or request the raw results data. IntelliProve offers several integration options, which you can also combine depending on your needs.

**Fastest option: the Health Dashboard**
Embed a complete dashboard that visualizes Biomarkers and Metrics with minimal setup – similar to embedding the Face Scan plug-in.

**Flexible option: widgets**
Use our IntelliWidgets, prebuilt UI components that behave like modular tiles, allowing for a more tailored presentation of the results.

**Full custom option: API**
Use our API to access raw results data. This lets you integrate the outputs into your own backend logic, trigger follow-up actions, or feed them into your recommendation engine or other analysis workflows.

:::hint{type="success"}
The ideal approach for visualizing Health Insights depends on your use case and application. We provide detailed guides for each option.

[Explore the best way to visualize Health Insights →](docId\:F2-0IKIsGFY3c5l181vv9)&#x20;
:::

# Customizing the UI

You can customize the styling and appearance of the plug-in and widgets to match your platform.

:::hint{type="success"}
[Customize the appearance of UI elements →](docId\:vzz-ODpLrSTmbHTHZKLLd)&#x20;
:::

