# Installation

## FaceSDK Plugin Setup

* Download plugin package from [**facesdk\_plugin.zip**](https://www.dropbox.com/scl/fi/fjhatri5h6c104yudx9wk/facesdk_plugin.zip?rlkey=ix4geo4nrryxlkc2z1hl9ebq0\&st=eb0y0gyp\&dl=0) and extract to the root folder of your flutter project.

<div data-full-width="false"><figure><img src="/files/10TsVGjhHQyqFTGILOVO" alt=""><figcaption></figcaption></figure></div>

* Add `facesdk_plugin` package to `dependencies` in `pubspec.yaml` file.

```
  facesdk_plugin:
    path: ./facesdk_plugin
```

<figure><img src="/files/jF3t5JMa9g2cKROikzhj" alt=""><figcaption></figcaption></figure>

* Import `facesdk_plugin` package in dart files.

<figure><img src="/files/1CprHTjv3142LbIwP5Bs" alt=""><figcaption></figcaption></figure>

## Android Setup

* Download Android SDK from [**libfacesdk\_core.zip**](https://www.dropbox.com/scl/fi/0i32jxjkytvbrhe1wtnfg/libfacesdk_core.zip?rlkey=0ekuommd5haibmr3wy0b08lpg\&st=nwrw8prk\&dl=0) and extract to `android` folder in your flutter project.

<figure><img src="/files/dYG5VY2MthG8WuQaV8iy" alt=""><figcaption></figcaption></figure>

* Add `libfacesdk` to `settings.gradle` in android folder.

<figure><img src="/files/foLBc4EZq9pprCxRbrp5" alt=""><figcaption></figcaption></figure>

## iOS Setup

* iOS SDK `facesdk.framework` is already included in the `facesdk_plugin` package, so you don't need to download and import it into your project.

<figure><img src="/files/FChJNjDjk55gkZIDG0q4" alt=""><figcaption></figcaption></figure>

## Project Setup

For project setup, run the following commands:

```bash
flutter pub get
```


---

# 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://docs.recognito.vision/face-liveness-detection-sdk/integration-guide/flutter/installation.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.
