1
Set environment variables to connect to your Phoenix instance:
2
Install the Phoenix OTEL package and an instrumentation library. This quickstart uses OpenAI, but Phoenix supports many providers and frameworks including Anthropic, LangChain, LlamaIndex, Vercel AI SDK, Mastra, and more.
- Python
- TypeScript
3
Register Phoenix as your trace provider. This connects your app to Phoenix and instruments supported libraries.See the Python SDK reference for all options.
- Python
- TypeScript
4
Make an LLM call to generate your first trace. OpenAI calls are automatically captured:
- Python
- TypeScript
5
Open Phoenix to see your traces:


