Lilypad and esp8266

How to connect Lilypad arduino 328 main board and esp8266 wifi module?? Can anyone upload the connection diagram?