Ardui̇no mega and esp8266 wi̇fi̇ module

Hello there is one arduino mega and esp8266 wifi module. I want to enter the password of the wifi module from the phone application. I could not find a library for arduino mega. Can you help me with this? I don’t work with wifi first

@m_t, this forum is for Particle devices, not Arduino. You will be better served with Arduino or Espressif forums.