> For the complete documentation index, see [llms.txt](https://docs.playtimeads.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.playtimeads.com/iframe-integration/iframe-setup.md).

# iFrame Setup

## Insert the following iFrame code into your app’s **WebView** or website:

```html
<iframe 
    src="https://web.playtimeads.com/index.php?app_id=YOUR_APP_ID&user_id=USER_UNIQUE_ID" 
    frameborder="0" 
    scrolling="yes">
</iframe>
```

* `app_id` → Your Unique iFrame App Key .
* `user_id` → Unique identifier of the user from your system.
* `sub1-sub10`  → Custom parameter for additions tracking information.
* `gaid` → Users Google Advertiser Id (optional).

## How to get your Unique iFrame App Key ?

<figure><img src="/files/0Wkb9G6RkBoFO02MMpwk" alt=""><figcaption></figcaption></figure>

1. From the left-hand menu, navigate to the **`Manage iFrame`** tab.
2. Click on the **`Create Web App`** button to add a new web app.
3. Once created, your **`App Key`** will be displayed in the App Key column (see image above).
