# Integrate the Agent with your WordPress blog

AIsuru's WordPress plugin lets you easily integrate your AI Agent into your blog, giving readers an interactive and personalized experience. This guide will show you how to install the plugin and configure your Agent to boost your blog's engagement.

### Downloading and installing the WordPress plugin

1. Go to your Agent's management panel;
2. Go to the "**Share me**" section;
3. At the top, select the "**WordPress**" tab;
4. Click "Download plugin".

Now that you've downloaded it, here's how to add it to your WordPress site:

1. Log in to your WordPress admin panel;
2. Go to "Plugins";
3. Click "Add new" then "Upload plugin";
4. Select the downloaded file (memori-wp.zip) and click "Install now";
5. Finally, click "Activate plugin".

### Configuring the plugin

In the WordPress admin menu, you'll see a new main entry:

1. Go to the "**Memori Configurator**" section;
2. **Enter the required details**:

   1. [Memori ID](#user-content-fn-1)[^1] or Memori name: the ID or name of your Agent;
   2. [Owner User ID](#user-content-fn-2)[^2] or Owner User Name -> the ID or username of your account;
   3. Initial context (optional);
   4. Opening question (optional): set a welcome message that invites readers to interact with the Agent;
   5. Tenant id (leave as [www.aisuru.com](http://www.aisuru.com); if you have a [PaaS subscription](/en/paas.md) enter your tenant URL instead).

   You can find all this information on the Share me > WordPress page of your Agent.
3. **Configure the other interface settings**:
   1. Multilingual;
   2. Share button;
   3. Reload page button;
   4. Settings panel;
   5. Clear chat button;
   6. Show only latest messages;
   7. Show loading text.

✅ All set! Now we just need to display it 👇

### How do I add it to the site?

To show the Agent to your visitors, use **shortcodes**:

1. Open and edit the page or post where you want to add the Agent;
2. Add the shortcode: \[memori id="WP\_AGENT\_ID"];
3. Replace "WP\_AGENT\_ID" with your Agent's actual ID.

[^1]: You can find it in your Twin's management panel, in the Dev docs section ("Memori (Twin) ID")

[^2]: You can find it in your Twin's management panel, in the Dev docs section, after clicking "More references" ("Owner User ID")


---

# 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.aisuru.com/en/sharing/share-your-agents/integrate-agent-with-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.
