Provision a New Fleet
A 5-step recipe with Viam. We can help you get access.
Recipe · 5 steps
Provision a New Fleet
with Viam
Create an organization, then a location under it, then a machine in that location.
- Create the tenant organization that will own the location and machine.
- List organizations the caller can access and resolve the id of the organization that was just created by matching its name.
- Create a location under the resolved organization.
- List locations under the organization to resolve the new location id.
- Register the first machine (robot) inside the resolved location.
What you'll need to have ready
- apiKey: Viam API key value sent in the key header.
- organizationName: Display name for the new organization.
- locationName: Display name for the new location.
- machineName: Display name for the new machine (robot).
For your developer
Arazzo workflow viam:provision-fleet, 5 operations: createOrganization → listOrganizations → createLocation → listLocations → newRobot. Specs on APIs.io.