# 2. Setup

### 1. Setting <a href="#id-1.-huong-dan-cai-dat" id="id-1.-huong-dan-cai-dat"></a>

If used in conjunction with Falcon Mediation, then drag the PopupConsent Script onto the first scene of the game. The Popup Consent will be automatically processed according to Google's standards.

<figure><img src="https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjD7QfQ9Dr736LmutDGT1%2Fuploads%2FxqQmtQUpfTYllHwVNZds%2Fimage.png?alt=media&#x26;token=4a90abc0-dd0b-4058-8db3-edecabab12e7" alt=""><figcaption></figcaption></figure>

### 2. Usage <a href="#id-2.-su-dung" id="id-2.-su-dung"></a>

<figure><img src="https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjD7QfQ9Dr736LmutDGT1%2Fuploads%2F8kDl2mSRjE90DCWkootk%2Fimage.png?alt=media&#x26;token=bc3e3698-3660-4edc-885d-7253876fcede" alt=""><figcaption></figcaption></figure>

The Action OnMediationInitialized will be called after the user has completed interactions with Consent and the mediations have been successfully initialized; at this point, you can display banners or other advertisements.

### 3. Show the consent popup again when necessary

Some consent forms require allowing users to edit their agreement at any time. Therefore, you should create a button that allows users to show the consent form again when necessary (it's recommended to place this button in the settings popup if available).

The display of this button will depend on the value returned by **FalconUMP.RequirePrivacyOptionsForm**:&#x20;

* True: show the button&#x20;
* False: hide the button.&#x20;

When clicking on the button: call the **FalconUMP.ShowPrivacyOptionsForm();** function to show the consent form again.
