How to Install MQTT library on Arduino - Erratums/ESP8266 GitHub Wiki We are using PubSubClient library Open Tools=>Manage Libraries Type PubSubClient in search field and install it