> ## Documentation Index
> Fetch the complete documentation index at: https://phaseo.app/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Zed

> Add Phaseo as an OpenAI-compatible model provider in Zed.

Run `phaseo integrations setup zed`. The CLI adds provider ID `phaseo`, API URL `https://api.phaseo.app/v1`, and the selected model to Zed's `settings.json` without changing unrelated settings.

## Save the API key in Zed

Zed stores provider keys in the system keychain, so this is the one remaining UI step.

1. Open the command palette and run **agent: open settings**.
2. Under **AI**, select **LLM Providers → Configure**.

<img src="https://mintcdn.com/aistats/FtyT2B6j0_NaNF9A/images/integrations/zed-agent-settings.png?fit=max&auto=format&n=FtyT2B6j0_NaNF9A&q=85&s=2ad0bb2e4c07512ab4b41009740059f3" alt="Zed AI settings with LLM Providers highlighted" width="1920" height="1032" data-path="images/integrations/zed-agent-settings.png" />

3. If Phaseo already appears, open it and paste the dedicated key. Otherwise select **Add Provider → OpenAI**.

<img src="https://mintcdn.com/aistats/FtyT2B6j0_NaNF9A/images/integrations/zed-llm-providers.png?fit=max&auto=format&n=FtyT2B6j0_NaNF9A&q=85&s=ded3b96738af11b0329972ce51b068ec" alt="Zed LLM Providers page with Add Provider" width="902" height="751" data-path="images/integrations/zed-llm-providers.png" />

4. For a manual fallback, enter:

| Field         | Value                                          |
| ------------- | ---------------------------------------------- |
| Provider Name | `Phaseo`                                       |
| API URL       | `https://api.phaseo.app/v1`                    |
| API Key       | Output of `phaseo integrations credential zed` |
| Model Name    | Your selected Phaseo model ID                  |

<img src="https://mintcdn.com/aistats/FtyT2B6j0_NaNF9A/images/integrations/zed-add-compatible-provider.png?fit=max&auto=format&n=FtyT2B6j0_NaNF9A&q=85&s=8c6c11cfb690c3022b8251e309cf2f12" alt="Zed form for adding an OpenAI-compatible provider" width="902" height="751" data-path="images/integrations/zed-add-compatible-provider.png" />

Do not select **Save Provider** until the Base URL, model ID, and key are complete.

## Verify

Open a new Agent thread, select the Phaseo model, and send a short request. If Zed reports an invalid key, run `phaseo integrations credential zed` again and replace the key stored in Zed.

## Remove

```bash theme={null}
phaseo integrations remove zed
```

The CLI removes the Phaseo provider from `settings.json` and revokes its dedicated key. If Zed still shows the old keychain entry, remove Phaseo from **LLM Providers** as well.
