# Guest Access Embed on Squarespace

## Overview

Allow anyone to access your AI agent by enabling guest access. This is an easy method to embed  your AI agent.

## Enable Guest Access

Enable guest access to your AI agent.

1. Select the name of your AI agent.
2. Select **Embedding** under **Sharing**.
3. Select **Enable Guest Access**.
4. Copy the code to embed into your website.

## Add to Squarespace

Add the embed code to your Squarespace website.

1. Open your **Squarespace** website.
2. Navigate to **Website** from the left-side navigation, then select **Pages**.
3. Click the **+** button beside **Main Navigation** to add a new blank page.
4. Click the **Edit** button.
5. Click the **Add Section** button.
6. Click **Add a blank section**.
7. Click **+ Add Block**.
8. Select **Code**.
9. Replace the **Hello World!** placeholder with the code you copied from MindStudio into the Code block.
10. Resize the MindStudio embed code to ensure your AI agent fits comfortably (e.g., set width to 100% of the container and height to 600px+).
11. Resize the Code block to accommodate your revised size of your AI agent.
12. Click **Save**. Your AI agent is live.


---

# 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://university.mindstudio.ai/docs/deployment-of-ai-agents/embedding-ai-agents/guest-access-embed-on-squarespace.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.
