> ## Documentation Index
> Fetch the complete documentation index at: https://docs.llm-stats.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Installation

> Install and initialize the ZeroEval Python SDK

## Install the package

```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
pip install zeroeval
```

Optional integrations:

```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
pip install zeroeval[openai]
pip install zeroeval[gemini]
pip install zeroeval[langchain]
pip install zeroeval[langgraph]
pip install zeroeval[all]
```

## Configure authentication

Set your API key in the environment:

```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
export ZEROEVAL_API_KEY="sk_ze_..."
```

Or initialize directly in code:

```python theme={"theme":{"light":"github-light","dark":"github-dark"}}
import zeroeval as ze
ze.init(api_key="sk_ze_...")
```

## Optional configuration

```python theme={"theme":{"light":"github-light","dark":"github-dark"}}
ze.init(
    api_key="sk_ze_...",
    api_url="https://api.zeroeval.com",
    organization_name="my-org",
    debug=False,
)
```

## Verify setup

```python theme={"theme":{"light":"github-light","dark":"github-dark"}}
import zeroeval as ze

ze.init()
dataset = ze.Dataset("setup-check", data=[{"row_id": "1", "value": "ok"}])
dataset.push()
print("SDK setup is working")
```
