Taron Foxworth over at Losant has done a great, short tutorial on preparing a Pi Zero W (or any Raspberry Pi with wifi capability, be it built-in or dongle, for that matter) for wifi connectivity and enabling ssh headlessly. This means that you don’t need a monitor for the Pi to be able to connect to it – you simply put a couple of files onto the SD card from your Windows/Mac machine and you’re done – it will connect to your network and open up ssh access. Take a look here.