> For the complete documentation index, see [llms.txt](https://doc.dialog.beta.gouv.fr/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.dialog.beta.gouv.fr/integrer-la-carte-a-votre-site.md).

# Intégrer la carte à votre site

La carte DiaLog peut être directement intégrée au site de votre commune grâce à un "iframe".

Pour intégrer la carte DiaLog à votre site, vous devez copier le code de l'iframe et le coller sur votre site.

Récupérer le code iframe :&#x20;

1. Connectez-vous à votre compte DiaLog (si ce n'est pas déjà fait).
2. Cliquez sur **Carte des restrictions** pour ouvrir la carte DiaLog.
3. Cliquez sur le bouton **Partager** en haut à droite de la carte.
4. Cliquez sur l'onglet **Intégrer** et copiez le **code d'intégration**.

<figure><img src="https://2367827683-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfoL01RrEWCyl7iclf7l7%2Fuploads%2FYmi9sATutjqFyOKeyyrB%2Fmodale%20iframe.jpg?alt=media&amp;token=1d21785a-abdb-4815-94bf-94b6ffba43f4" alt=" "><figcaption><p>Exemple de code d'intégration de l'iframe</p></figcaption></figure>

Vous pouvez ensuite coller le code d'intégration dans votre site pour faire apparaître la carte DiaLog.


---

# 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://doc.dialog.beta.gouv.fr/integrer-la-carte-a-votre-site.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.
