# Embedding in Squarespace or Wordpress

{% hint style="warning" %}
Due to technical limitations, you are not currently able to embed Whereby rooms within a Wix site.
{% endhint %}

## Squarespace

Squarespace allows for you to build simple and beautiful websites with ease. Below are the steps in order to embed Whereby on your site, but if you have additional questions about building your site please review [Squarespace Help Center](https://support.squarespace.com/hc/en-us).

{% hint style="info" %}
**Note:** Adding iframes to a Code Block is a Premium feature available in Squarespace's current Website Business plan and higher.
{% endhint %}

**1** In the section you'd like to Embed Whereby, select the "+" to create a new block

<figure><img src="https://content.gitbook.com/content/LH2UIJDLc2EElQvYUxWX/blobs/jALtr5kMVST0FHE0MH8T/squarespace1.png" alt="" width="563"><figcaption></figcaption></figure>

**2** Select the "Code" option

<figure><img src="https://content.gitbook.com/content/LH2UIJDLc2EElQvYUxWX/blobs/BWcNoo0P4DMR5bA2bQ91/Squarespace%20code%20block.png" alt="" width="563"><figcaption></figcaption></figure>

**3** Enter in your iframe code into the block. Example iframe code below. You may need to include a height and width attribute to fit your site accordingly.

<figure><img src="https://content.gitbook.com/content/LH2UIJDLc2EElQvYUxWX/blobs/4z50wV8vIyD9pHGpSyTT/squarespace3.png" alt="" width="375"><figcaption></figcaption></figure>

```
<iframe
  src="https://subdomain.whereby.com/room?minimal"
  allow="camera; microphone; fullscreen; display-capture; autoplay; compute-pressure"
></iframe>
```

## Wordpress

Below are the steps in order to embed Whereby on your WordPress site, but if you have additional questions about building your site please review WordPress [**WordPress Help Center**](https://wordpress.com/support/).

{% hint style="info" %}
HTML tags like script, iframe, form, input, and style are not available on Premium, Personal, or free plans. You need to upgrade to the [WordPress.com](http://wordpress.com) Business Plan and install a custom plugin or theme to use them.
{% endhint %}

**1** Select the "+" to create a new block

w

<figure><img src="https://content.gitbook.com/content/LH2UIJDLc2EElQvYUxWX/blobs/ffJJdq4fhmqQnqDL2kAg/wordpress1.png" alt="" width="563"><figcaption></figcaption></figure>

**2** In the search box, enter "code" and select the "Custom HTML" block

<figure><img src="https://content.gitbook.com/content/LH2UIJDLc2EElQvYUxWX/blobs/r6XE1lF4xaPmcGjZLEXG/Word%20press%20html%20block.png" alt="" width="563"><figcaption></figcaption></figure>

**3** Enter in your iframe code into the block. Example iframe code below. You may need to include height and width attributes to fit your site accordingly.

<figure><img src="https://content.gitbook.com/content/LH2UIJDLc2EElQvYUxWX/blobs/UoM0Qb7z9WodFKgu0Ht0/wordpress3.png" alt="" width="563"><figcaption></figcaption></figure>

```
<iframe
  src="https://subdomain.whereby.com/room?minimal"
  allow="camera; microphone; fullscreen; display-capture; autoplay; compute-pressure"
></iframe>
```


---

# 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.whereby.com/integrating-whereby-in-specific-environments/embedding-in-squarespace-or-wordpress.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.
