# Dify (/en/docs/cookbook/platforms/dify)



Connect Praxis to [Dify](https://dify.ai)—the most popular open-source low-code AI application platform.

## What you'll accomplish [#what-youll-accomplish]

* Add Praxis as a model provider in Dify
* Protocol: OpenAI-compatible (`/openai/v1`)

## Prerequisites [#prerequisites]

* **Docker and Docker Compose installed**.
* **RAM ≥ 4GB**.
* **A Praxis API key**. Create at [Console → API Keys](https://console.deepraxis.ai/keys).

## Install [#install]

Full steps at [Dify docs](https://docs.dify.ai/getting-started/install-self-hosted/docker-compose):

```bash
git clone https://github.com/langgenius/dify.git
cd dify/docker && cp .env.example .env && docker compose up -d
```

Visit `http://localhost/install` to create an admin account.

## Configure [#configure]

Settings → Model Provider → find "OpenAI-API-compatible" → Add Model:

| Field        | Value                                |
| ------------ | ------------------------------------ |
| Model Name   | `deepseek-flash`                     |
| Model Type   | LLM                                  |
| API Key      | your key                             |
| API Base URL | `https://api.deepraxis.ai/openai/v1` |

Click "Save".

## Verify [#verify]

Create a Chatbot app → select `deepseek-flash` → send "Hello". Expected: a reply.

## FAQ [#faq]

| Symptom                | Fix                        |
| ---------------------- | -------------------------- |
| `localhost` won't open | `docker compose logs -f`   |
| Test fails             | Full URL with `/openai/v1` |
| 401                    | Copy key again             |
| OOM                    | Need 4GB+ RAM              |

## Related recipes [#related-recipes]

* [n8n](/en/docs/cookbook/platforms/n8n) · [FastGPT](/en/docs/cookbook/platforms/fastgpt)
