1. Create an Account
- If not yet, sign up for a free Evidently Cloud account.
- After logging in, create an Organization and name it.
2. Connect from Python
You need this for programmatic tasks like tracing or logging local evals. Many other tasks can be done directly on the platform.
Get a Token
Click the Key menu icon to open the Token page. Generate and save token securely.Install Evidently
Install the Evidently Python library.Connect
Import the cloud workspace and pass your API token to connect:For Evidently 0.6.7 and Evidently Cloud v1, use
from evidently.ui.workspace.cloud import CloudWorkspace
. Read more.You can also provide the API key by setting the environment variable
EVIDENTLY_API_KEY
.