---
title: "Configure Firebase - Lacuna PSC"
description: "Configuring Google Firebase App Check in Lacuna PSC so API requests are accepted only from the official mobile app on an authentic device."
canonical: "https://docs.lacunasoftware.com/en-us/articles/psc/on-premises/configure-firebase"
locale: "en"
product: "PSC"
last_updated: "2026-07-14"
---

# Configure Firebase - Lacuna PSC

[Lacuna PSC](https://docs.lacunasoftware.com/en-us/articles/psc) uses [Google Firebase App Check](https://firebase.google.com/docs/app-check) to protect the API from abuse by ensuring that API requests
claiming to have come from the mobile app were indeed originated by the official PSC mobile app installed on an authentic, untampered device.

> **Note**
>
> Enabling both App Check and [reCAPTCHA](https://docs.lacunasoftware.com/en-us/articles/psc/on-premises/configure-recaptcha) is essential in production environments to protect the API from abuse

## Creating the Firebase project

1. Create a project on the [Firebase console](https://console.firebase.google.com/)
2. Go to [Project users and permissions](https://console.firebase.google.com/project/_/settings/iam)
3. Add `dev-admins@lacunasoftware.com` as a member with **Owner** role

> **Note**
>
> This enables our development team to acquire the various parameters associated with your project that need to be embedded in the compilation of your PSC mobile app

## Configuring Lacuna PSC

Once you have followed the steps above, go to [Project settings](https://console.firebase.google.com/u/0/project/_/settings/general) and copy the **Project number**.
Place it in the configuration file under section **Firebase**, setting **ProjectNumber**.

Example (*.ini* or *.conf* file):

```ini
[Firebase]
ProjectNumber=999999999999
```

Example (environment variables):

```sh
Firebase__ProjectNumber=999999999999
```

## See also

* [Configure reCAPTCHA](https://docs.lacunasoftware.com/en-us/articles/psc/on-premises/configure-recaptcha)
* [Lacuna PSC on-premises](https://docs.lacunasoftware.com/en-us/articles/psc/on-premises)
