Get started
Connect a machine to the Viam platform so you can configure, control, and monitor it from anywhere. You’ll create a machine in the Viam app, install Viam on your machine, and confirm it’s online.
1. Create a machine in the Viam app
- Go to app.viam.com and log in (or create an account).
- Create or select an organization, then create or select a location.
- Click Add machine.
- Give your machine a name (e.g.,
my-first-machine). Click Add machine.
The app creates a machine entry and opens the CONFIGURE tab. A banner prompts you to set up the machine part.
2. Open the setup page
- Click View setup instructions in the banner.
- In the wizard dialog that opens, click Go to Advanced setup.
3. Select your platform
Use the Platform you want to run on dropdown to select the operating system and architecture of the compute machine for your robot — the computer to which you’ve attached cameras, sensors, arms, or other components.
Options include Linux / Aarch64, Linux / x86, Mac, Windows native, Windows (WSL), Linux / Armv7l, and ESP32.
Tip
If you’re using a single-board computer like a Raspberry Pi or NVIDIA Jetson, make sure it’s running a compatible Linux OS before continuing. The setup page links to an installation guide for supported single-board computers.
4. Select your installation method
If your platform supports multiple installation methods, a second dropdown appears.
- viam-agent: Choose this unless you have a reason not to.
- manual: Installs
viam-serverdirectly.
5. Run the install command
The setup page displays platform-specific install instructions. Follow the steps shown on your compute machine.
6. Wait for confirmation
After the install command finishes, the setup page polls for your machine’s connection status. When the banner changes to “Your machine is connected!”, your machine is online and ready to configure.
This should happen within 30 seconds.
Tip
To return to the setup page later, click the … menu next to any part name in the CONFIGURE tab and select View setup instructions.
Troubleshooting
7. Connect with code
Your machine is online. Now connect to it programmatically.
- Go to your machine’s page in the Viam app.
- Click the CONNECT tab.
- Select SDK code sample in the sidebar.
- Choose your language (Python, TypeScript, Golang, C++, or Flutter).
- Toggle Include API key to populate the code sample with your machine’s credentials.
- Copy the code sample, install the SDK, and run it.
If the connection succeeds, the script prints your machine’s available resources.
What’s next
- Configure hardware — Add cameras, motors, sensors, and other components to your machine.
Was this page helpful?
Glad to hear it! If you have any other feedback please let us know:
We're sorry about that. To help us improve, please tell us what we can do better:
Thank you!