> For the complete documentation index, see [llms.txt](https://generative-dungeon.gitbook.io/generative-dungeon/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://generative-dungeon.gitbook.io/generative-dungeon/generative-dungeon-tutorials/embed-a-dungeon-in-your-website.md).

# Embed A Dungeon In Your Website

## Embedding Your Dungeon

To embed a dungeon on your website, copy and paste the following code onto your site:

```
<iframe width="500" height="500" src="https://viewer.generativedungeon.com/XYZ" 
        allowfullscreen="" scrolling="yes"></iframe>
```

Replace *XYZ* with the token ID of the dungeon you want to embed, and set width and height as appropriate.&#x20;
