Skip to content

DOCS-3893: Change code sample to connect #4242

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 21, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/tutorials/get-started/blink-an-led.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ Select **Python** or **Golang** and follow the instructions to connect to your m
These code snippets import all the necessary libraries and set up a connection with the Viam app in the cloud.

On your local computer, create a file called <file>blink.py</file> or <file>blink.go</file>.
Paste the sample code from the **Code sample** tab of the Viam app into the file in your code editor, and save the file.
Paste the sample code from the **CONNECT** tab of the Viam app into the file in your code editor, and save the file.

You can now run the code.
Doing so will ensure that the Viam SDK is properly installed and that the `viam-server` instance on your machine is live.
Expand Down
2 changes: 1 addition & 1 deletion docs/tutorials/projects/claw-game.md
Original file line number Diff line number Diff line change
Expand Up @@ -817,7 +817,7 @@ To use the [Viam TypeScript SDK](https://ts.viam.dev/) you must install the depe
npm install
```

1. Determine your machine's location secret and host address by navigating to the **Code sample** tab in the [Viam app](https://app.viam.com).
1. Determine your machine's location secret and host address by navigating to the **CONNECT** tab in the [Viam app](https://app.viam.com).
Use the host address of your main machine part, as it will reference all parts of your machine.

{{% snippet "show-secret.md" %}}
Expand Down
Loading