It's just on basic config file.. you don't need to enter these in your payload.
See the documentation below
https://docs.hak5.org/hc/en-us/articles/360047380574-Key-Croc-Basics
https://docs.hak5.org/hc/en-us/articles/360048015093-Getting-the-Key-Croc-Online
So you need to boot in arming mode to edit the config file which is at the root of the disk... Then if for example you enter a ssid, a password, and enable ssh, all you need is to reboot in arming mode and it will connect to that access point and you will be able to ssh into it.
You can see what other options are there for in the above documentation
I hope it answered your questions