integrationsconfiguration.md•2.38 kB
---
title: IntegrationsConfiguration
---
{% tabs %}
{% tab title="Phoenix Cloud" %}
**Sign up for Phoenix:**
Sign up for an Arize Phoenix account at [https://app.phoenix.arize.com/login](https://app.phoenix.arize.com/login)
**Install packages:**
```bash
pip install arize-phoenix-otel
```
**Set your Phoenix endpoint and API Key:**
```python
import os
# Add Phoenix API Key for tracing
PHOENIX_API_KEY = "ADD YOUR API KEY"
os.environ["PHOENIX_CLIENT_HEADERS"] = f"api_key={PHOENIX_API_KEY}"
os.environ["PHOENIX_COLLECTOR_ENDPOINT"] = "https://app.phoenix.arize.com"
```
Your **Phoenix API key** can be found on the Keys section of your [dashboard](https://app.phoenix.arize.com).
{% endtab %}
{% tab title="Command Line" %}
**Launch your local Phoenix instance:**
```bash
pip install arize-phoenix
phoenix serve
```
For details on customizing a local terminal deployment, see [Terminal Setup](https://arize.com/docs/phoenix/setup/environments#terminal).
**Install packages:**
```bash
pip install arize-phoenix-otel
```
**Set your Phoenix endpoint:**
```python
import os
os.environ["PHOENIX_COLLECTOR_ENDPOINT"] = "http://localhost:6006"
```
See [Terminal](../../environments.md#terminal) for more details
{% endtab %}
{% tab title="Docker" %}
**Pull latest Phoenix image from** [**Docker Hub**](https://hub.docker.com/r/arizephoenix/phoenix)**:**
```bash
docker pull arizephoenix/phoenix:latest
```
**Run your containerized instance:**
```bash
docker run -p 6006:6006 arizephoenix/phoenix:latest
```
This will expose the Phoenix on `localhost:6006`
**Install packages:**
```bash
pip install arize-phoenix-otel
```
**Set your Phoenix endpoint:**
```python
import os
os.environ["PHOENIX_COLLECTOR_ENDPOINT"] = "http://localhost:6006"
```
For more info on using Phoenix with Docker, see [Docker](https://arize.com/docs/phoenix/self-hosting/deployment-options/docker).
{% endtab %}
{% tab title="Notebook" %}
**Install packages:**
```bash
pip install arize-phoenix
```
**Launch Phoenix:**
```python
import phoenix as px
px.launch_app()
```
{% hint style="info" %}
By default, notebook instances do not have persistent storage, so your traces will disappear after the notebook is closed. See [self-hosting](https://arize.com/docs/phoenix/self-hosting) or use one of the other deployment options to retain traces.
{% endhint %}
{% endtab %}
{% endtabs %}