Pre-entering Wi-Fi details for off site network

Is it possible to pre-enter Wi-Fi credentials, so that when I ship the unit to another site, it will automatically connect? Specifically, I want to configure the Wi-Fi for a network that is out of range / not visible at my current location.

This isn’t asked the first time, but the answer is: Yes.

The easiest is via USB serial and command “w”.
But if you have CLI installed use

particle serial wifi

You can also set the WiFi credentials in code