# Installing the Asynchronous Web Server library

### 1. ESP8266 Asynchronous Web Server

To build the web server we’ll use the [ESPAsyncWebServer library](https://github.com/me-no-dev/ESPAsyncWebServer) that provides an easy way to build an asynchronous web server. Building an asynchronous web server has several advantages. We recommend taking a quick look at the [library documentation on its GitHub page](https://github.com/me-no-dev/ESPAsyncWebServer).

#### Installing the ESPAsyncWebServer library

The ESPAsyncWebServer library is not available to install in the Arduino IDE Library Manager. So, you need to install it manually.

Follow the next steps to install the ESPAsyncWebServer library:

1. [Click here to download the ESPAsyncWebServer library](https://github.com/me-no-dev/ESPAsyncWebServer/archive/master.zip). You should have a .zip folder in your Downloads folder
2. Unzip the .zip folder and you should get *ESPAsyncWebServer-master* folder
3. Rename your folder from ~~ESPAsyncWebServer-master~~ to *ESPAsyncWebServer*
4. Move the *ESPAsyncWebServer* folder to your Arduino IDE installation libraries folder

**Installing the ESPAsync TCP Library**

The ESPAsyncWebServer library requires the [ESPAsyncTCP](https://github.com/me-no-dev/ESPAsyncTCP) library to work. Follow the next steps to install that library:

1. [Click here to download the ESPAsyncTCP library](https://github.com/me-no-dev/ESPAsyncTCP/archive/master.zip). You should have a .zip folder in your Downloads folder
2. Unzip the .zip folder and you should get *ESPAsyncTCP-master* folder
3. Rename your folder from ~~ESPAsyncTCP-master~~ to *ESPAsyncTCP*
4. Move the *ESPAsyncTCP* folder to your Arduino IDE installation libraries folder
5. Finally, re-open your Arduino IDE.


---

# 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://reacoda.gitbook.io/molemi-iot/introducing-the-nodemcu/display-the-dht11-sensor-reading-on-a-web-server-using-nodemcu./installing-dht-library-on-the-esp8266/installing-the-asynchronous-web-server-library.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.
