How to Use ESP8266 NodeMCU

If anybody know how should I connect the ESP8266 to Arduino and how the code works on? Thnx…!!

https://tttapa.github.io/ESP8266/Chap01%20-%20ESP8266.html