> For the complete documentation index, see [llms.txt](https://docs.appmysite.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.appmysite.com/app/access/consent/add-consent-screen.md).

# Add consent screen

### How to add a consent screen to your app?

A Consent Screen is a great way to notify and warn users if your app contains mature themes, products, or media that may not be suitable for all audiences. Follow the steps below to add and customize a consent screen for your app:

{% embed url="<https://scribehow.com/shared/How_to_add_a_consent_screen_to_your_app__xr2s66IkQ5Wi3BZ6O9nqSQ>" %}

#### **Step 1: Enable the consent screen toggle**

* Navigate to [**Access > Consent**](https://app.appmysite.com/app/consent) from your app dashboard.
* Turn on the toggle for "Ask for user consent".

{% hint style="warning" %}
Enabling the "Ask for user consent" setting shows the consent screen when users launch the app for the first time.
{% endhint %}

{% hint style="success" %}
This feature also helps you comply with statutory or regulatory requirements related to your app’s content.
{% endhint %}

#### **Step 2: Define button placement layout**

* Select the layout for button placement and text on the consent screen to the left, centre or right.

#### **Step 3: Customize the content**

You can personalize the text that appears on your consent screen, including:

* Heading: The main title of the consent screen.
* Subtext: Additional information or disclaimers.
* Accept Button: The text for the button users click to proceed into the app.
* Exit Button: The text for the button users click to exit the app.

#### **Step 4: Add a background image**

You can choose a background image for your consent screen using the following options:

* Upload: Add your own custom image or enter a web link.&#x20;
* Design: Use advanced design tools to create a unique background.
* Library: Select an image from AppMySite’s extensive image library.

#### **Step 5: Style the theme**

Match the consent screen to your app’s branding by customizing the following:

* Button Colors: Adjust the primary and secondary button colors.
* Text Colors: Customize the colors of the text to align with your brand's design.

{% hint style="danger" %}
Clicking the accept button allows users to enter into the app. Clicking the exit button will close the app.&#x20;
{% endhint %}

Hit the **Save** button once you are done. Your app users will interact with the consent screen when they first launch it.   &#x20;

{% hint style="success" %}
Preview the design on the demo app or the [**Preview emulator.** ](/app/preview.md)
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.appmysite.com/app/access/consent/add-consent-screen.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
