# Guest Access Embed on WordPress

## 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 WordPress

Add the embed code to your WordPress website.

1. Go to your WordPress Dashboard, click **Pages**, and select the page where you want the agent.
2. Add Custom HTML Block:
   1. Click the **+ (Plus)** button to add a new block.
   2. Search for "HTML" and select the **Custom HTML** block.
3. Paste the code you copied from MindStudio into the text box.
4. Resize the element box to ensure your AI agent fits comfortably (e.g., set width to 100% of the container and height to 600px+).
5. Click **Preview** to preview your site, then resize as necessary.
6. Click **Update/Publish**. 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-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.
