> For the complete documentation index, see [llms.txt](https://docs.aisuru.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.aisuru.com/en/sharing/publish-your-agent/add-your-agent-to-wordpress.md).

# Add your agent to Wordpress

AIsuru provides a WordPress plugin that lets you add an Agent to a WordPress page or post and configure the integration from the WordPress administration area.

### Download the WordPress plugin

To obtain the plugin:

1. Open the Agent management panel in AIsuru.
2. Go to **Share**.
3. Open the **WordPress** tab.
4. Select **Download plugin**.

The downloaded plugin package is documented as `memori-wp.zip`.

### Install the plugin in WordPress

1. Sign in to the WordPress administration panel.
2. Go to **Plugins**.
3. Select **Add New**.
4. Select **Upload Plugin**.
5. Choose `memori-wp.zip`.
6. Select **Install Now**.
7. When installation is complete, activate the plugin.

### Configure the Agent

After activation, open **Memori Configurator** in the WordPress administration menu.

Enter the Agent and owner information requested by the plugin. The documented configuration includes:

* **Memori ID** or **Memori name** — identifies the Agent;
* **Owner User ID** or **Owner User Name** — identifies the Agent owner;
* **Initial context** — optional context provided when the interaction starts;
* **Initial question** — optional initial instruction/question for the experience;
* **Tenant ID** — use the AIsuru tenant for standard AIsuru installations, or the URL/identifier required by your PaaS tenant when applicable.

The values required by the plugin are available from the Agent's **Share → WordPress** area.

### Configure the interface

The WordPress configurator also exposes interface options documented for the plugin, including:

* multilingual behavior;
* the sharing button;
* the page reload button;
* the settings panel;
* the clear-chat button;
* showing only the latest messages;
* showing loading text.

Use the options that match the experience you want to provide on the WordPress site.

### Add the Agent to a page or post

To display the Agent, edit the WordPress page or post where it should appear and add the shortcode:

```
[memori id="WP_AGENT_ID"]
```

Replace `WP_AGENT_ID` with the actual ID of your Agent.

Save or publish the page, then test the integration from the public-facing WordPress site.
