# 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="<https://content.gitbook.com/content/7cujmJ5QHdJaAjH815aZ/blobs/5WKMq1Sg1XHiyrOBLTaM/Antares_ESP_MQTT_v1.0.zip>" %}

{% 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="https://content.gitbook.com/content/7cujmJ5QHdJaAjH815aZ/blobs/n3IA4k1QQLampMIYtRNf/1_include.png" 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="https://content.gitbook.com/content/7cujmJ5QHdJaAjH815aZ/blobs/ZNucOLm8Q9nISzSq2Ebn/2_select.png" 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="https://content.gitbook.com/content/7cujmJ5QHdJaAjH815aZ/blobs/zXI3DgTaP79wTZ6ACwMz/3_success.png" alt=""><figcaption><p>Figure Example of Antares ESP HTTP and MQTT in the Arduino IDE.</p></figcaption></figure>
