Esp8266 wifi on aurdino nano

Assuming the ESP8266 is just used as a Wifi connection, would I not just connect the senors to the Nano?

(I know the ESP does have basic memory and processor, but surely thats not enough to run Cayenne on its own?).