Hotspot the device with the following SSID and password.
SSID: edgepi
Password: edgepi123
SSH into your device (Its already gotta be on a network for this). pi pi
sudo raspi-config
Now add your actual wifi SSID and password
type in sudo reboot
stop hotspotting your device.
sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
use ifconfig
find the one that has an actual inet, netmask and broadcast
the IP will be the one that says inet. e.g. 192.168.1.XXX or inet 10.0.0.XXX