You can add a Wi-Fi network so the phone will remember it, along with any security credentials, and connect to it automatically when it’s in range. You can also add a Wi-Fi network manually if it doesn’t broadcast its name (SSID) or if you want to add a Wi-Fi network when you’re out of its range. To add a secured network, you need to contact the network’s administrator to obtain the password or other required security credentials.
Turn on Wi-Fi, if it’s not already on, then tap Wi-Fi in the Settings menu.
From the Wi-Fi screen, tap the Menu icon (at the upper-right corner of the screen), then tap Add network.
Enter the Wi-Fi name (SSID) of the network.
If the network is secured, tap Security and tap the type of security deployed on the network. Enter the required passwords and security credentials.
Tap Connect to save the information.
The phone will connect to the wireless network (if it's currently within range). Any credentials that you entered are saved, so you're connected automatically when you come within range of this network.