1. Launch Phoenix
We have several code samples below on different ways to integrate with OpenAI, based on how you want to use Phoenix.- Phoenix Cloud
- Command Line
- Docker
- Notebook
Sign up for Phoenix:Set your Phoenix endpoint and API Key:From your new Phoenix Space
- Sign up for an Arize Phoenix account at https://app.phoenix.arize.com/login
-
Click
Create Space, then follow the prompts to create and launch your space.
- Create your API key from the Settings page
-
Copy your
Hostnamefrom the Settings page - In your code, set your endpoint and API key:
Having trouble finding your endpoint? Check out Finding your Phoenix Endpoint
2. Install
3. Set up Tracing
Add your OpenAI API key as an environment variable:agentscode.

