Skip to main content

Requirements

To follow the steps in this guide, you’ll need an Omni API token. See API authentication for more information.

Steps

1

Install the CLI

2

Configure a profile

After you install the CLI, run:
omni config init
This creates a profile with your organization, API endpoint, and API key. You can create multiple profiles for different organizations or environments.
3

Set your API token

Either enter your API token during config init, or set the environment variable:
export OMNI_API_TOKEN=omni_osk_...
4

Run a command

omni models list
omni documents list
omni --help

Next steps