Create the file named wpa_supplicant.conf in boot partition of Raspberry PI SD card
save a similar configuration as the following with credentails to your wifi:
country=US
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid="MyWiFiNetwork"
psk="aVeryStrongPassword"
key_mgmt=WPA-PSK
}
ENABLE SSH
By default, the current version of Raspbian has SSH disabled. We're going to enable it here.
Create an empty file in the boot directory called ssh