The same way you would connect other wireless devices. Select the correct SSID and type in the correct PSK of the intended wireless network.
In case of Self-Organization Network considerations, you can enable the IoT SSID so the a virtual access point on strictly 2.4GHz will be created.