Hello,
We have an API call in SM in the Web manager.
"stellarmate.local/api/system/configure_wifi" (i.e stellarmate.local is the hostname ).
This POST request accepts the payload with includes payload {ssid: WIFI_NAME, psk: PASSWORD}
and then
"stellarmate.local/api//system/select_wifi" to activate the WIFI