Cloud Quickstart
This walks you from a fresh install to an eval run visible in the TestRelic cloud.
1. Authenticate
Either log in interactively:
testrelic login
This saves your credentials to ~/.testrelic/credentials.toml. You can also pass values directly:
testrelic login --api-key <key> --base-url <url>
Or skip the CLI entirely and set an environment variable:
export TESTRELIC_API_KEY=<key>
Create a key from your TestRelic org — see API keys.
2. Run an evaluation
Run your DeepEval suite as usual. The pytest plugin captures the run at session finish and uploads it:
deepeval test run tests/
No flags or code changes are required. If credentials are missing, the upload simply no-ops — it never fails your tests.
3. See it in the cloud
Once uploaded, the eval run surfaces in three places:
- Eval workspace — the DeepEval / eval workspace, where it contributes to the Eval Stability metric.
- Test Runs feed — eval runs appear in the unified Test Runs feed alongside your other runs.
- Repo Evaluations tab — under the matching repository, in its Evaluations tab.
Open the latest run straight from your terminal:
testrelic view
To open a specific run, pass its ID:
testrelic view <run_id>
The cloud endpoint defaults to https://platform.testrelic.ai/api/v1/evals in the final release. Pre-release builds default to stage.