# Full-Page HTML

Copy the \<html> code from the "Other" tab and paste it on your website to host the Metaverse as a Full Page website.&#x20;

<figure><img src="/files/jphSibDrqYdujDhwflnq" alt=""><figcaption><p>HTML Sharing Option</p></figcaption></figure>

You can easily create a website that is a full-page Metaverse by copying the `<html>` code from the [URL or QR Code](/metaverse/publishing/share.md#full-page-html) section and pasting it as the only thing on your page.

## How can I create Full page Metaverse Website?

To set up a full-page Metaverse website, just copy the `<html>` code from[URL or QR Code](/metaverse/publishing/share.md#full-page-html) for your deployment and paste it into the website's html you want your metaverse to be hosted on.

In case you don't have a website or want to set up a new one, you can use the guide below.

## Here's how to create a Full page Metaverse on Github pages

{% hint style="info" %}
You can follow similar steps to embed the metaverse on your website
{% endhint %}

**Example website:** <https://metaverse.boardroomx.com>

**Deployment:** <https://demo.gmetri.com/gmetri_event_vr_public>

**GitHub Repository Link:** <https://github.com/gmetrixr/website-metaverse-example>

We will be setting up the following deployment as a Website:

* GMetri Deployment: `https://gmetri_demo.gmetri.com/gmetri_event_vr_public`
* Website URL: `https://metaverse.boardroomx.com` &#x20;

### Step 1) Github Repository Setup

Create a GitHub repository and enable GitHub Pages for it. To enable GitHub pages, go to that repository's "Settings > Pages", select the branch "main", and Save.

<figure><img src="/files/REORnCs64iNrhfByUEtH" alt=""><figcaption><p>Enabling GitHub Pages</p></figcaption></figure>

We created [this repository](https://github.com/gmetrixr/website-metaverse-example).

### Step 2) Add DNS entry for the final URL

Point the URL you want of your final experience to either `<user>.github.io` or `<organization>.github.io`. Check detailed instructions [here](https://docs.github.com/en/pages/configuring-a-custom-domain-for-your-github-pages-site/managing-a-custom-domain-for-your-github-pages-site).

For this example, we added a CNAME record `metaverse.boardroomx.com` with the value `gmetrixr.github.io` .

Once the DNS record is created, add the final website's hostname under Custom Domain.

<figure><img src="/files/DaZArwBLacqxanHay6jC" alt=""><figcaption><p>Adding Custom Domain</p></figcaption></figure>

Once the certificate is issued, make sure "`Enforce https`" is checked.

### Step 3) Add an index.html in the repository

Go to the repository and add a new file with the name `index.html`&#x20;

<figure><img src="/files/YRRuBvw3E2ZM4SyGlu5l" alt=""><figcaption><p>Adding a new file in the repository</p></figcaption></figure>

Get the content from [Publishing](/metaverse/publishing.md#full-page-html)and paste it into the file, and then Commit it.

<figure><img src="/files/pbgxo0uNBpQNjSBZwvkq" alt=""><figcaption><p>Adding index.html to the repositoy</p></figcaption></figure>

Your website should now be live.

{% hint style="warning" %}
It may take some time (a few minutes to an hour) for the TLS (https) certificate to activate globally.
{% endhint %}


---

# Agent Instructions: 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://docs.gmetri.com/metaverse/publishing/full-page-html.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.
