# Installing Chat Widget on Wordpress

## Install the ![plugin-icon](https://ps.w.org/header-footer/assets/icon-256x256.png?rev=1064219)"Head, Footer and Post Injections" plugin into your wordpress site

Head to the "Plugins" page on the left sidebar

<figure><img src="/files/Eagb1RA4YDlxG9ybYg2Z" alt=""><figcaption><p>Head to the Plugins page</p></figcaption></figure>

Search for "head", or search for "Head, Footer and Post Injections" and click on the following plugin. Please install it.

<figure><img src="/files/x4ltli6A7SIoNZC7XcUD" alt=""><figcaption></figcaption></figure>

Copy the **Yada Widget Snippet**

You must be logged into an admin account.

<figure><img src="/files/X5CJ4ucs8bbyfFtNLQZd" alt=""><figcaption></figcaption></figure>

Paste it into the following text box:

<figure><img src="/files/VN9NqjpNSVnuO83k2CLq" alt=""><figcaption></figcaption></figure>


---

# 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.yada.ai/chat-widget/installing-chat-widget-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.
