> ## Documentation Index
> Fetch the complete documentation index at: https://arizeai-433a7140.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# E2B

> Run Phoenix code evaluators in E2B's hosted micro-VM sandboxes.

<img src="https://storage.googleapis.com/arize-phoenix-assets/assets/svgs/e2b.svg" alt="E2B" style={{ height: '64px' }} />

[**E2B**](https://e2b.dev/) provides hosted micro-VM sandboxes purpose-built for executing AI-generated code. Phoenix uses E2B as a hosted backend for Python [code evaluators](/docs/phoenix/evaluation/server-evals/code-evaluators), giving each invocation a fresh VM with kernel-level isolation, runtime dependency installation, and opt-in outbound network access — without exposing the rest of your deployment.

## Configure

1. Sign up at [e2b.dev](https://e2b.dev/) and create an API key.
2. Add it as `E2B_API_KEY` from **Settings → Sandboxes**.

See [Settings → Sandboxes → E2B](/docs/phoenix/settings/sandboxes/e2b) for full configuration details and [Sandbox Backends](/docs/phoenix/self-hosting/features/sandbox-runtimes) for self-hosting setup.
