> For the complete documentation index, see [llms.txt](https://docs.wpcodelabs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.wpcodelabs.com/plugins/wp-query-engine/getting-started.md).

# Getting Started

## Installing the plugin

### **Using the WordPress Search**

1. Navigate to the **Add New** in the plugins dashboard
2. Search for **WP Query Engine**
3. Click **Install Now**
4. Activate the plugin on the plugin dashboard

### **Uploading Using WordPress**

1. Navigate to the **Add New** in the plugins dashboard
2. Navigate to the **Upload** area
3. Select `wp-query-engine.zip` from your computer
4. Click **Install Now**
5. Activate the plugin in the plugin dashboard

### **Using FTP**

1. [Download](https://wordpress.org/plugins/wp-query-engine/) `wp-query-engine.zip`
2. Extract the `wp-query-engine` directory to your computer
3. Upload the `wp-query-engine` directory to the `/wp-content/plugins/` directory
4. Activate the plugin in the plugin dashboard

## Using the plugin

### Shortcode

Simple place the shortcode **\[wp\_query]** anywhere in your content. The [shortcode takes several optional arguments](https://docs.wpcodelabs.com/plugins/wp-query-engine/shortcode) to customize the query, and the output.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.wpcodelabs.com/plugins/wp-query-engine/getting-started.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
