> For the complete documentation index, see [llms.txt](https://help.glpi-project.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.glpi-project.org/faq/glpi/iframe.md).

# Iframe

***

### What is an iframe?

An iframe (short for inline frame) is an HTML element that allows a separate HTML document to be embedded within a web page. In other words, it is a kind of ‘window’ in a web page that displays other content or a website.

{% hint style="success" %}
Example of iframe syntax

`<iframe src=‘https://www.example.com’ width=‘600’ height=‘400’></iframe>`
{% endhint %}

***

### How do you generate an iframe in GLPI?

The most commonly used example is dashboards. To generate an iframe for dashboards, go to **`Assistance`** > **`Dashboards`** >. Select the dashboard you want to integrate and click on (at the top right of the screen). In the box that opens, copy the **`Iframe`** part and integrate the code (which should look like the code below) into your site

```
<iframe src=‘https://www.myinstance.com/front/central.php?embed&dashboard=central&entities_id=0&is_recursive=1&token=5b04t6hhnbf-4f70-6g12-af13-12gdefdf5v8d’ frameborder=‘0’ width=‘800’ height=‘600’ allowtransparency></iframe>
```

***

### Can iframes be used with GLPI Cloud (private or public)?

For security reasons, we do not authorise the default iframe (on the backend) for Cloud versions.

It is perfectly possible to open it, but there are several things you need to know

{% hint style="danger" %}
**Danger**\\

* This opening concerns the **entirety of GLPI**
* You expose yourself to risks of **phishing**
* We do not guarantee that all GLPI functionalities will work in this context
* In an OauthSSO context, the iframe does not work
* To limit the risks, we will ask you to provide us with the URLs in which the Frame will be integrated
  {% endhint %}

The use of iframes can expose the site to vulnerabilities if the GLPI content is not properly secured. An attacker could inject malicious code into the iframe, affecting users or compromising data.


---

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

```
GET https://help.glpi-project.org/faq/glpi/iframe.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.
