capabilities.work

Provision a Smart Machine

A 4-step recipe with Viam. We can help you get access.

Recipe · 4 steps

Provision a Smart Machine

with Viam

List networks, set Wi-Fi and cloud credentials, then exit provisioning.

  1. List Wi-Fi networks visible to the device.
  2. Submit the chosen Wi-Fi credentials to the device.
  3. Submit Viam cloud credentials so the device registers with viam.app.
  4. Exit the provisioning service so the device boots normally.
What you'll need to have ready
  • ssid: SSID of the Wi-Fi network the device should join.
  • psk: Pre-shared key (password) for the Wi-Fi network.
  • machinePartId: The Viam machine part id the device represents.
  • machinePartSecret: The machine part secret used to authenticate to the cloud.
  • appAddress: The Viam app address the device registers against.
For your developer

Arazzo workflow viam:provision-smart-machine, 4 operations: getNetworkList → setNetworkCredentials → setSmartMachineCredentials → exitProvisioning. Specs on APIs.io.