have a look at this tutorial for adding a esp8266 development board like nodemcu or wemos Adding a New Device using MQTT