# 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.

![](https://3209134532-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcLvbYKDk7En5o0Lfwh2V%2Fuploads%2FdsbUndPnpP0X0SsXrBgN%2F0.png?alt=media)

![](https://3209134532-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcLvbYKDk7En5o0Lfwh2V%2Fuploads%2FJbW9YqKwa14eMUFILdEo%2F1.png?alt=media)

#### &#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

![](https://3209134532-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcLvbYKDk7En5o0Lfwh2V%2Fuploads%2FoDG23RvS5JzpMyUZSi8m%2F2.png?alt=media)

![](https://3209134532-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcLvbYKDk7En5o0Lfwh2V%2Fuploads%2FzDgk4nprmo1vBURIN2Ps%2F3.png?alt=media)

* 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

![](https://3209134532-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcLvbYKDk7En5o0Lfwh2V%2Fuploads%2FwHVgFphq860J69yP3INb%2F4.png?alt=media)

![](https://3209134532-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcLvbYKDk7En5o0Lfwh2V%2Fuploads%2FbHBL9m0wLD4yeB1LtU43%2F5.png?alt=media)

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

![](https://3209134532-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcLvbYKDk7En5o0Lfwh2V%2Fuploads%2FIJMefrniBghdky9w1nna%2F6.png?alt=media)

![](https://3209134532-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcLvbYKDk7En5o0Lfwh2V%2Fuploads%2FfLTcA4ev1lG4rYn060KD%2F7.png?alt=media)

![](https://3209134532-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcLvbYKDk7En5o0Lfwh2V%2Fuploads%2Fuw2lF0Heijcchfc72lBh%2F8.png?alt=media)

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

![](https://3209134532-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcLvbYKDk7En5o0Lfwh2V%2Fuploads%2FaJiLbTMu7tkcmc1ixRAo%2F9.png?alt=media)

![](https://3209134532-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcLvbYKDk7En5o0Lfwh2V%2Fuploads%2F6aWOwKtLGHFtZORNE8Ft%2F10.png?alt=media)

![](https://3209134532-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcLvbYKDk7En5o0Lfwh2V%2Fuploads%2Fw8F9Zu7mLGBD1n5Oc3Ho%2F11.png?alt=media)

* 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.

![](https://3209134532-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcLvbYKDk7En5o0Lfwh2V%2Fuploads%2FA8csr0poWdJLXqz2zB9I%2F12.png?alt=media)

<figure><img src="https://3209134532-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcLvbYKDk7En5o0Lfwh2V%2Fuploads%2FkEeIpkKiky1C5vCoBEb5%2F13.png?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3209134532-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcLvbYKDk7En5o0Lfwh2V%2Fuploads%2FBFe13dOq1PR8QI810Jfy%2F14.png?alt=media" 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

![](https://3209134532-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcLvbYKDk7En5o0Lfwh2V%2Fuploads%2FwCE2Lleja81yr4n26iwk%2F15.png?alt=media)

<figure><img src="https://3209134532-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcLvbYKDk7En5o0Lfwh2V%2Fuploads%2FxIOZQ3i18tbkDrBQ1vqP%2F16.png?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3209134532-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FcLvbYKDk7En5o0Lfwh2V%2Fuploads%2FwQJhP43FWbCbuyF8AoYc%2F18.png?alt=media" 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>
