# Play Integrity Configuration

## **In Google Play** <a href="#id-5dlf89vdbtsy" id="id-5dlf89vdbtsy"></a>

* Go to Play Console
* Select your app
* Go to “App Integrity” under Setup in the left menu
* Enable “Integrity API”
* Then select your Google Cloud Project which you already created in Firebase.

![](/files/bs8FqMqvLMOSKv6nDUSk)

![](/files/Ew8gaHH7SYOoBfO9AESx)

#### &#x20;<a href="#v7jgvibs7az7" id="v7jgvibs7az7"></a>

### **Official Document Links** <a href="#hxl05qro2f" id="hxl05qro2f"></a>

<https://developer.android.com/google/play/integrity/setup#apps-on-google-play>

### &#x20;<a href="#id-25wn96bjyimi" id="id-25wn96bjyimi"></a>

{% hint style="info" %}
If you app has not been published on Google play, Google Cloud configuration is adequate for the stage enviroment.
{% endhint %}

## **In Google Cloud Console** <a href="#onmf6tu7h163" id="onmf6tu7h163"></a>

* Go to [Google Cloud Console](https://console.cloud.google.com/).
* Select the project which is already created in Firebase before

![](/files/gBgFvGFNyUWw0a4Elc2i)

![](/files/hjnSX3o2eaWg5vAxLRcL)

* Share Project Number value with Prophius Team
* Open Dashboard
* Select “Enabled APIs & services” in the left menu
* Select “Enable APIS and SERVICES” on the top bar

![](/files/V9va9zNE26IzuEsanXDG)

![](/files/qxAItdaU0qludBYOzABw)

* Search for “Play Integrity”
* Select the “Google Play Integrity API” result
* Then Select the “Enable”

![](/files/42FgvjFj7TsheP5wWHmo)

![](/files/Ahok6Ki2ZkPlK7GA5xdg)

![](/files/z1fObjq0YPL8hjzeQgxt)

* Select “Credentials” on the top bar
* Then “Create Credentials” with “Service-account” option

![](/files/KKvCbdAHzcUPQqQL9EWP)

![](/files/Zcgov81SbH7RGW6Nl941)

![](/files/ObH7ONG9XPBYO9oItSbV)

* Enter required fields and create account
* Select the created account in the “Service Account” section on the bottom of the page
* Save the Email and Unique ID values to share them with Prophius.

![](/files/Q5YxWvOa7v3rsW1U9gjC)

<figure><img src="/files/7h579GHgtUX8Fhi5G4MH" alt=""><figcaption></figcaption></figure>

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

* Select “Keys” on the top bar
* Then Select “Add Key” with “Create new key” option
* Select P12 format from the opening dialog
* Save downloaded .p12 formatted key file and private key password to share it with Prophius

![](/files/iCu67sclw5dkrFLimMkp)

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

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

#### Please share the following item to Prophius to complete the onboarding.

* Application package name
* Service account email
* Service account unique id
* &#x20;.p12 formatted key file
* &#x20;private key password

### **Official Document Links** <a href="#id-8v9nqxh04mmm" id="id-8v9nqxh04mmm"></a>

<https://developer.android.com/google/play/integrity/setup#sdks>

<https://developer.android.com/google/play/integrity/verdict#decrypt-verify-google-servers>

### &#x20;<a href="#de01hl38b52j" id="de01hl38b52j"></a>


---

# 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://developer.prophius.com/developer-console/merchant-embed-sdk/production-preparation/play-integrity-configuration.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.
