1
Launch Phoenix
Before sending traces, make sure Phoenix is running. For more step by step instructions, check out this Get Started guide.
- Phoenix Cloud
- Local (Self-hosted)
Log in, create a space, navigate to the settings page in your space, and create your API keys.In your code, set your environment variables.You can find your collector endpoint here:
Your Collector Endpoint is: https://app.phoenix.arize.com/s/ + your space name.

2
Install the Phoenix OTEL Package
To collect traces from your application, you must configure an OpenTelemetry TracerProvider to send traces to Phoenix.
- Python
- TS
3
Set-Up Tracing
There are two ways to trace your application: manually, or automatically with an auto-instrumentor. OpenInference provides the auto-instrumenter option through ready-to-use integrations with popular frameworks, so you can capture traces without adding manual logging code.
- OpenAI (Python)
- OpenAI (TS)
- Other Integrations
- Manual
Phoenix can capture all calls made to supported libraries automatically. Just install the associated library.
4
Register a Tracer
In your Python code, register Phoenix as the trace provider. This connects your application to Phoenix, making a project in the UI after you send a trace, and optionally enables auto-instrumentation (automatic tracing for supported libraries like OpenAI).
- Python
- TS
5
Start Your Application
Now that you have set up tracing & your project in Phoenix, it’s time to actually invoke your llm, agent, or application.
- OpenAI (Python)
- OpenAI (TS)
- Other Integrations
- Manual
First add your OpenAI API Key & then invoke the model.
6
View your Traces in Phoenix
You should now see traces in Phoenix!


