Requirements
To follow the steps in this guide, you’ll need an Omni account. The CLI can authenticate with OAuth (recommended) or an API key. See CLI authentication for details on both methods.Steps
Install the CLI
See the CLI installation guide.
Configure a profile
After you install the CLI, run:This creates a profile with your organization, API endpoint, and authentication method. You can create multiple profiles for different organizations or environments.
Authenticate
Recommended: OAuthRun the following command and authorize in your browser:Alternative: API keyEither enter your API token during See CLI authentication for more details on both methods.
config init, or set the environment variable:Next steps
- Install agent skills
- Learn about Omni APIs