To connect your phone to a hidden Wi-Fi, you will need the exact SSID and password of the WiFi. Then, you go to your phone's WiFi settings, add the WiFi using the SSID and password, and join the network.