Connecting xbee to my local wifi

Hi i got xbee s68 that i want to connect to my embbeded hardware,and i could figure out how to connect manually the xbee to my wifi… i know that it can be done with XCTU with active scan,but i need to do it manually with AT commands…

so i know that there is ATID that we put there the name of the wifi (ssid) but when i put the password? and how can i do the connection to the wifi ater i put the ssid name and the password?

thanks for helping me!!

Try following the steps at https://www.digi.com/resources/documentation/Digidocs/90002180/#reference/r_cmd_as_cell.htm?Highlight=AS\