How to interface ESP8266-01 with 74HC595 shift Register

I want to interface ESP8266-01 with shift register. I do not know which libraries to use or how to wire up the circuit....!

have a look at ShiftOut