> For the complete documentation index, see [llms.txt](https://docs.antares.id/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.antares.id/en/getting-started/arduino-library-installation/antares-wi-fi-mqtt.md).

# Antares Wi-Fi MQTT

In this documentation you will be explained how to install the Antares ESP library with **MQTT** protocol and Wi-Fi connectivity on the Arduino IDE. This library is used to test the ESP32 Wi-Fi MQTT project in the Antares documentation. This library is suitable for **ESP32** and **ESP8266**.

## Follow These Steps

### 1. Download Library

The first step is to download the following library in .zip format.

{% file src="/files/kpYjaaiaEOcPNBKfqCI1" %}

{% hint style="warning" %}
Notes: The above library can be used for ESP 32 and ESP 8266 using Wi-Fi communication and MQTT communication protocol.
{% endhint %}

### 2. Install Zip Library

In this step you are asked to open the library manager by opening the **Sketch menu> Include Library> Add .Zip Library** as shown in the following image.

<figure><img src="/files/WNVpkwcXgrlF3zwsx63V" alt=""><figcaption><p>Image of the Sketch menu in the Arduino IDE.</p></figcaption></figure>

Find the location of the library file that has been downloaded, then input the downloaded file as shown below.

<figure><img src="/files/M3ROYPGC43i4TrCPPFt3" alt=""><figcaption><p>Image Select Zip File in the Arduino IDE.</p></figcaption></figure>

### 3. Success Indicators

If the library installation is successful, you can see the example programme in the **File > Examples > Antares ESP MQTT** menu. The result looks like the following image.

<figure><img src="/files/uLEE2HeMQ2B3DL7Mv1KQ" alt=""><figcaption><p>Figure Example of Antares ESP HTTP and MQTT in the Arduino IDE.</p></figcaption></figure>


---

# 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.antares.id/en/getting-started/arduino-library-installation/antares-wi-fi-mqtt.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.
