Skip to content

Commit

Permalink
Merge branch 'main' into R2D2
Browse files Browse the repository at this point in the history
  • Loading branch information
sguequierre authored Mar 6, 2024
2 parents c713cdc + 4bdf8c0 commit 9e183b5
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/build/program/apis/data-client.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,12 @@ To use the Viam data client API, you first need to instantiate a [`ViamClient`](

You will also need an API key and API key ID to authenticate your session.
To get an API key (and corresponding ID), you have two options:
See the following example for reference.

To get an API key and API key ID to authenticate, you have two options:

- [Create an API key using the Viam app](/fleet/rbac/#add-an-api-key)
- [Create an API key using the Viam CLI](/fleet/cli/#create-an-organization-api-key)

The following example instantiates a `ViamClient`, authenticating with an API key, and then instantiates a `DataClient`:

```python {class="line-numbers linkable-line-numbers"}
import asyncio

Expand Down

0 comments on commit 9e183b5

Please sign in to comment.