> For the complete documentation index, see [llms.txt](https://docs.facephi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.facephi.com/docs.facephi-en/sdks/sdk-mobile/framework-plugins/flutter/instalacion.md).

# Installation

Follow these steps to integrate Facephi's official plugin into your Flutter application.

### Prerequisites

Before integrating the Facephi Plugin for Flutter, make sure you meet the following:

* Flutter CLI Version 3.x or higher.
* Project configured for Android (AGP 8.9.x and Kotlin 2.2.x) and/or iOS (13+).
* Have the camera and internet connection permissions configured.
* Access to your credentials from the Administration Portal.

### Step 1: Add the dependency

In your file `pubspec.yaml`:

```yaml
dependencies:
  fphi_sdkmobile_<pluginName>:
    hosted:
      name: fphi_sdkmobile_<pluginName>
      url: https://facephicorp.jfrog.io/artifactory/api/pub/pub-pro-fphi/
    version: ^<Version>
```

Replace `<Version>` with the latest available version, which you can check in the Changelog, and `<pluginName>` with the name of the component to install.

Run the Facephi Plugin download URL from the console:

```
dart pub token add "https://facephicorp.jfrog.io/artifactory/api/pub/pub-pro-fphi"
```

Once the command has been executed, the same console will prompt you to enter the token (not base64) provided by Facephi.\
Finally, to verify the Plugin was installed correctly, run the following command:

```bash
flutter pub get
```

***

### Step 2: Additional configuration

## Native Android Installation Guide:

{% content-ref url="/pages/ec0ccd96a93b3aec2690a3750b2b72dcee50b721" %}
[Android](/docs.facephi-en/sdks/sdk-mobile/framework-plugins/extras/android.md)
{% endcontent-ref %}

***

## Native iOS Installation Guide:

{% content-ref url="/pages/991b6348515ee9590c34a9aa64e0ec3606114012" %}
[iOS](/docs.facephi-en/sdks/sdk-mobile/framework-plugins/extras/ios.md)
{% endcontent-ref %}

***

### Next steps

* Check the *Usage examples* to implement verification flows.
* See the *Changelog* to learn about the latest versions and changes.
* Learn more about the SDK functionality in the *Components*/modules.
* If you have any questions, contact Technical Support.
