In this illustration we will going to wire the ESP8266 with the Logic level converter along with FTDI USB to program the ESP8266. As you can see in the illustration below there is two connection between the ground and the GPIO you need to join these two wire before your going flash the ESP8266 module.
Required Components:
1x ESP8266 Module Board
1x Bi-Directional Logic Level Converter Module
1x FTDI USB Programmer / TTL UART USB Programmer
For flashing the ESP8266 please see & check these link.
Wiring ESP8266 with Bi-Directional Logic Converter