For notebooks that run locally on an edge device, you can sign in as your Vital Dashboard user with the vitalx-cli command line tool.
poetry run vitalx-cli auth loginOnce you have logged in, a permanent sign-in session is stored at ~/.vitalx/.
For notebooks or deployed services, you can either:
- Pass the API Key when instantiating the Query Executor; or
- Set the API Key as
VITAL_API_KEYin the environment.