Code for arduino with esp8266 as wifi module

I want to use 8266 as wifi module for arduino

Hello,
Refer to the other post that you have here in the community:)