follow this tutorial Adding a New Device using MQTT
remove all this :
and keep only :
#include <CayenneMQTTESP8266.h>