# Dify Docs: English Self-Host

> Dify is an open-source platform for building AI applications. It provides a comprehensive set of tools and features to help you build, deploy, and manage your AI applications.

## Self-Host

- [English / Self-Host / Developer Resources (152 pages)](https://docs.dify.ai/_llms/en/self-host/developer-resources.md): Documentation for English / Self-Host / Developer Resources.

### Deploy

- [Deploy Dify](https://docs.dify.ai/en/self-host/deploy/overview.md): Choose a deployment method and stand up Dify on your own infrastructure

#### Quick Start

- [Deploy Dify with Docker Compose](https://docs.dify.ai/en/self-host/deploy/quick-start/docker-compose.md)
- [FAQs](https://docs.dify.ai/en/self-host/deploy/quick-start/faqs.md)

#### Advanced Deployments

- [Local Source Code Start](https://docs.dify.ai/en/self-host/deploy/advanced-deployments/local-source-code.md)
- [Start Frontend Docker Container Separately](https://docs.dify.ai/en/self-host/deploy/advanced-deployments/start-the-frontend-docker-container.md)

#### Configuration

- [Environment Variables](https://docs.dify.ai/en/self-host/deploy/configuration/environments.md): Reference for all environment variables used by Dify self-hosted deployments

#### Platform Guides

- [Deploy with aaPanel](https://docs.dify.ai/en/self-host/deploy/platform-guides/bt-panel.md)
- [Dify Premium on AWS](https://docs.dify.ai/en/self-host/deploy/platform-guides/dify-premium.md): Deploy, customize, and upgrade Dify Premium on AWS

#### Troubleshooting

- [Common Issues](https://docs.dify.ai/en/self-host/deploy/troubleshooting/common-issues.md)
- [Docker Issues](https://docs.dify.ai/en/self-host/deploy/troubleshooting/docker-issues.md)
- [Third-Party Integrations](https://docs.dify.ai/en/self-host/deploy/troubleshooting/integrations.md)
- [Storage & Migration](https://docs.dify.ai/en/self-host/deploy/troubleshooting/storage-and-migration.md)
- [Weaviate Migration Guide upgrading to Client v4 and Server 1.27+](https://docs.dify.ai/en/self-host/deploy/troubleshooting/weaviate-v4-migration.md)
- [Weaviate Server Upgrade Path](https://docs.dify.ai/en/self-host/deploy/troubleshooting/weaviate-server-migration-path.md): How to move a self-hosted Weaviate server across minor versions without losing vector data

### Use

- [Use Dify](https://docs.dify.ai/en/self-host/use-dify/getting-started/introduction.md): Orchestrate, publish, and monitor AI applications in your workspace

#### Orchestrate

- [Skills](https://docs.dify.ai/en/self-host/use-dify/build/skills.md): Package a task and its supporting files into a reusable skill, then share it workspace-wide
- [App Toolkit](https://docs.dify.ai/en/self-host/use-dify/build/additional-features.md): Optional features that make your Dify apps more useful
- [Go to Anything](https://docs.dify.ai/en/self-host/use-dify/build/goto-anything.md): Search and jump to apps, agents, skills, knowledge bases, integrations, and workflow nodes from anywhere with a keyboard shortcut

##### Workflow & Chatflow

- [Workflow & Chatflow](https://docs.dify.ai/en/self-host/use-dify/build/workflow-chatflow.md): Build agentic workflows that combine AI models, tools, and logic into reliable, repeatable processes
- [Orchestration Logic](https://docs.dify.ai/en/self-host/use-dify/build/orchestrate-node.md): How to arrange, nest, or reuse nodes when building a Workflow or Chatflow
- [Hotkeys](https://docs.dify.ai/en/self-host/use-dify/build/shortcut-key.md): Keyboard shortcuts for building workflows faster in Dify
- [Version Control](https://docs.dify.ai/en/self-host/use-dify/build/version-control.md)
- [Snippets](https://docs.dify.ai/en/self-host/use-dify/build/snippet.md): Reuse and share groups of nodes across workflows
- [Collaborate with Teammates](https://docs.dify.ai/en/self-host/use-dify/build/workflow-collaboration.md): Edit workflows with workspace members in real time and discuss design decisions through in-canvas comments

###### Nodes

- [LLM](https://docs.dify.ai/en/self-host/use-dify/nodes/llm.md): Invoke language models for text generation and analysis
- [Knowledge Retrieval](https://docs.dify.ai/en/self-host/use-dify/nodes/knowledge-retrieval.md): Retrieve relevant content from knowledge bases and use it as context for downstream nodes
- [Answer](https://docs.dify.ai/en/self-host/use-dify/nodes/answer.md): Define response content in Chatflow applications
- [Output](https://docs.dify.ai/en/self-host/use-dify/nodes/output.md): Return workflow results to the end user or API caller
- [Agent](https://docs.dify.ai/en/self-host/use-dify/nodes/agent.md): Run an agent as a step in your workflow, reasoning and using tools to complete a task
- [Question Classifier](https://docs.dify.ai/en/self-host/use-dify/nodes/question-classifier.md): Intelligently categorize user input to route workflow paths
- [If-Else](https://docs.dify.ai/en/self-host/use-dify/nodes/ifelse.md): Add conditional logic and branching to workflows
- [Iteration](https://docs.dify.ai/en/self-host/use-dify/nodes/iteration.md): Process arrays by applying workflows to each element
- [Loop](https://docs.dify.ai/en/self-host/use-dify/nodes/loop.md): Execute repetitive workflows with progressive refinement
- [Code](https://docs.dify.ai/en/self-host/use-dify/nodes/code.md): Execute custom Python or JavaScript for data processing
- [Template](https://docs.dify.ai/en/self-host/use-dify/nodes/template.md): Transform and format data using Jinja2 templating
- [Variable Aggregator](https://docs.dify.ai/en/self-host/use-dify/nodes/variable-aggregator.md): Converge exclusive workflow branches into a single output
- [Document Extractor](https://docs.dify.ai/en/self-host/use-dify/nodes/doc-extractor.md): Extract text content from uploaded documents for AI processing
- [Variable Assigner](https://docs.dify.ai/en/self-host/use-dify/nodes/variable-assigner.md): Manage persistent conversation variables in Chatflow applications
- [Parameter Extractor](https://docs.dify.ai/en/self-host/use-dify/nodes/parameter-extractor.md): Convert natural language to structured data using LLM intelligence
- [HTTP Request](https://docs.dify.ai/en/self-host/use-dify/nodes/http-request.md): Connect to external APIs and web services
- [List Operator](https://docs.dify.ai/en/self-host/use-dify/nodes/list-operator.md): Filter, sort, and select elements from arrays
- [Tool Node](https://docs.dify.ai/en/self-host/use-dify/nodes/tools.md): Connect to external services and APIs

###### Start

- [Start Node](https://docs.dify.ai/en/self-host/use-dify/nodes/start.md): Choose how your workflow begins, on demand or automatically
- [User Input](https://docs.dify.ai/en/self-host/use-dify/nodes/user-input.md): Collects user inputs to start Workflow and Chatflow applications

###### Trigger

- [Trigger](https://docs.dify.ai/en/self-host/use-dify/nodes/trigger/overview.md)
- [Schedule Trigger](https://docs.dify.ai/en/self-host/use-dify/nodes/trigger/schedule-trigger.md)
- [Integration Trigger](https://docs.dify.ai/en/self-host/use-dify/nodes/trigger/plugin-trigger.md)
- [Webhook Trigger](https://docs.dify.ai/en/self-host/use-dify/nodes/trigger/webhook-trigger.md)

###### Human Input

- [Human Input](https://docs.dify.ai/en/self-host/use-dify/nodes/human-input.md): Pause workflows to request human input

###### Debug

- [Handle Errors](https://docs.dify.ai/en/self-host/use-dify/build/predefined-error-handling-logic.md)
- [Single Node](https://docs.dify.ai/en/self-host/use-dify/debug/step-run.md)
- [Variable Inspector](https://docs.dify.ai/en/self-host/use-dify/debug/variable-inspect.md)
- [Run History](https://docs.dify.ai/en/self-host/use-dify/debug/history-and-logs.md)
- [Error Types](https://docs.dify.ai/en/self-host/use-dify/debug/error-type.md)

##### Agent

- [Agent](https://docs.dify.ai/en/self-host/use-dify/build/new-agent/overview.md): Build an agent once, then put it to work as a standalone app or inside a workflow
- [Build an Agent](https://docs.dify.ai/en/self-host/use-dify/build/new-agent/build.md): Create an agent and shape what it can do, by hand or by describing what you want

##### Basic Apps

- [Agent](https://docs.dify.ai/en/self-host/use-dify/build/agent.md): Chat-style apps where the model can reason, make decisions, and use tools autonomously
- [Chatbot](https://docs.dify.ai/en/self-host/use-dify/build/chatbot.md): The simplest way to build a conversational app with a model and a prompt
- [Text Generator](https://docs.dify.ai/en/self-host/use-dify/build/text-generator.md): Simple single-turn apps for generating text from a prompt and user inputs

#### Publish

- [Overview](https://docs.dify.ai/en/self-host/use-dify/publish/README.md): Get your Dify applications into users' hands with web apps, APIs, embeds, and integrations
- [MCP Server](https://docs.dify.ai/en/self-host/use-dify/publish/publish-mcp.md): Expose your Dify applications as MCP servers for integration with Claude Desktop, Cursor, and other AI development tools
- [Publish Apps to Marketplace](https://docs.dify.ai/en/self-host/use-dify/publish/publish-to-marketplace.md): Publish your apps to Dify Marketplace and share them with the world

##### Web App

- [Workflow Web Apps](https://docs.dify.ai/en/self-host/use-dify/publish/webapp/workflow-webapp.md): Turn your workflows into powerful web applications with batch processing, result management, and streamlined user experiences
- [Chat Web Apps](https://docs.dify.ai/en/self-host/use-dify/publish/webapp/chatflow-webapp.md): Turn your Chatflow into a fully-featured conversation interface with persistent history and interactive features
- [Settings](https://docs.dify.ai/en/self-host/use-dify/publish/webapp/web-app-settings.md): Configure branding, basic access controls, and user experience settings for your published web applications
- [Embed Your Web App](https://docs.dify.ai/en/self-host/use-dify/publish/webapp/embedding-in-websites.md): Deploy your published web app on any website through iframes, chat widgets, or custom integrations

#### Monitor

- [Dashboard](https://docs.dify.ai/en/self-host/use-dify/monitor/analysis.md): Monitor performance, costs, and user engagement through Dify's built-in analytics dashboard
- [Logs](https://docs.dify.ai/en/self-host/use-dify/monitor/logs.md): Browse and inspect your app's conversation and run logs, and configure log retention
- [Annotation System](https://docs.dify.ai/en/self-host/use-dify/monitor/annotation-reply.md): Build a curated library of high-quality responses to improve consistency and bypass AI generation

##### Integrations

- [Integrate with LangSmith](https://docs.dify.ai/en/self-host/use-dify/monitor/integrations/integrate-langsmith.md)
- [Integrate with Langfuse](https://docs.dify.ai/en/self-host/use-dify/monitor/integrations/integrate-langfuse.md)
- [Integrate with Opik](https://docs.dify.ai/en/self-host/use-dify/monitor/integrations/integrate-opik.md)
- [Integrate with W&B Weave](https://docs.dify.ai/en/self-host/use-dify/monitor/integrations/integrate-weave.md): Send traces from Dify applications to W&B Weave for LLM observability
- [Integrate with Arize](https://docs.dify.ai/en/self-host/use-dify/monitor/integrations/integrate-arize.md)
- [Integrate with Phoenix](https://docs.dify.ai/en/self-host/use-dify/monitor/integrations/integrate-phoenix.md)
- [Integrate with Alibaba Cloud Monitor](https://docs.dify.ai/en/self-host/use-dify/monitor/integrations/integrate-aliyun.md): Send traces and metrics from Dify applications to Alibaba Cloud Monitor (ARMS) via OpenTelemetry

#### Knowledge

- [Knowledge](https://docs.dify.ai/en/self-host/use-dify/knowledge/readme.md)
- [Test Knowledge Retrieval](https://docs.dify.ai/en/self-host/use-dify/knowledge/test-retrieval.md)
- [Integrate Knowledge within Apps](https://docs.dify.ai/en/self-host/use-dify/knowledge/integrate-knowledge-within-application.md)

##### Create

###### Ready-to-Use Knowledge Base

- [Create a Ready-to-Use Knowledge Base](https://docs.dify.ai/en/self-host/use-dify/knowledge/create-knowledge/introduction.md)
- [Configure the Chunk Settings](https://docs.dify.ai/en/self-host/use-dify/knowledge/create-knowledge/chunking-and-cleaning-text.md)
- [Specify the Index Method and Retrieval Settings](https://docs.dify.ai/en/self-host/use-dify/knowledge/create-knowledge/setting-indexing-methods.md)

###### Import Data

- [Upload Local Files](https://docs.dify.ai/en/self-host/use-dify/knowledge/create-knowledge/import-text-data/readme.md)
- [Sync Data from Notion](https://docs.dify.ai/en/self-host/use-dify/knowledge/create-knowledge/import-text-data/sync-from-notion.md)
- [Import Data from Website](https://docs.dify.ai/en/self-host/use-dify/knowledge/create-knowledge/import-text-data/sync-from-website.md)

###### Custom Knowledge Base

- [Build a Custom Knowledge Base](https://docs.dify.ai/en/self-host/use-dify/knowledge/knowledge-pipeline/readme.md)
- [Step 1: Create Knowledge Pipeline](https://docs.dify.ai/en/self-host/use-dify/knowledge/knowledge-pipeline/create-knowledge-pipeline.md)
- [Step 2: Orchestrate Knowledge Pipeline](https://docs.dify.ai/en/self-host/use-dify/knowledge/knowledge-pipeline/knowledge-pipeline-orchestration.md)
- [Step 3: Publish Knowledge Pipeline](https://docs.dify.ai/en/self-host/use-dify/knowledge/knowledge-pipeline/publish-knowledge-pipeline.md)
- [Step 4: Upload Files](https://docs.dify.ai/en/self-host/use-dify/knowledge/knowledge-pipeline/upload-files.md)
- [Step 5: Manage and Use Knowledge Base](https://docs.dify.ai/en/self-host/use-dify/knowledge/knowledge-pipeline/manage-knowledge-base.md)
- [Authorize Data Source](https://docs.dify.ai/en/self-host/use-dify/knowledge/knowledge-pipeline/authorize-data-source.md)

###### Connect to External Knowledge

- [Connect to External Knowledge Base](https://docs.dify.ai/en/self-host/use-dify/knowledge/connect-external-knowledge-base.md): Integrate external knowledge sources with Dify applications through API connections to leverage custom RAG systems or third-party knowledge services
- [External Knowledge API](https://docs.dify.ai/en/self-host/use-dify/knowledge/external-knowledge-api.md): API specification that your external knowledge service must implement to integrate with Dify

##### Manage

- [Manage Knowledge Content](https://docs.dify.ai/en/self-host/use-dify/knowledge/manage-knowledge/maintain-knowledge-documents.md)
- [Manage Document Metadata](https://docs.dify.ai/en/self-host/use-dify/knowledge/metadata.md)
- [Manage Knowledge Settings](https://docs.dify.ai/en/self-host/use-dify/knowledge/manage-knowledge/introduction.md)

#### Integrations

- [Integrations](https://docs.dify.ai/en/self-host/use-dify/workspace/plugins.md): Connect Dify to model providers, tools, data sources, and external services
- [Model Providers](https://docs.dify.ai/en/self-host/use-dify/workspace/model-providers.md): Add model providers to your workspace so your apps can use LLMs, embedding models, and other AI services
- [Dify Tools](https://docs.dify.ai/en/self-host/use-dify/workspace/tools.md): Manage tools that enable LLMs to interact with external services and APIs

##### Custom Endpoint

- [Custom Endpoints](https://docs.dify.ai/en/self-host/use-dify/workspace/api-extension/api-extension.md)
- [External Data Tool](https://docs.dify.ai/en/self-host/use-dify/workspace/api-extension/external-data-tool-api-extension.md)
- [Sensitive Content Moderation](https://docs.dify.ai/en/self-host/use-dify/workspace/api-extension/moderation-api-extension.md)
- [Deploy Custom Endpoints Using Cloudflare Workers](https://docs.dify.ai/en/self-host/use-dify/workspace/api-extension/cloudflare-worker.md)

#### Workspace

- [Overview](https://docs.dify.ai/en/self-host/use-dify/workspace/readme.md): Workspaces are the foundational organizational unit in Dify—everything your team builds, configures, and manages exists within a workspace
- [Manage Apps](https://docs.dify.ai/en/self-host/use-dify/workspace/app-management.md): Organize, maintain, and share your AI applications with powerful management tools and best practices
- [Manage Members](https://docs.dify.ai/en/self-host/use-dify/workspace/team-members-management.md): Add teammates to your workspace and manage the roles that control their access
- [Personal Settings](https://docs.dify.ai/en/self-host/use-dify/workspace/personal-account-management.md): Manage your profile, login, and interface preferences

### Learn

- [Key Concepts](https://docs.dify.ai/en/learn/key-concepts.md): Quick overview of essential Dify concepts

#### Tutorials

- [30-Minute Quick Start](https://docs.dify.ai/en/quick-start.md): Dive into Dify through an example app
- [Simple Chatbot](https://docs.dify.ai/en/learn/tutorials/simple-chatbot.md): Hello World
- [Twitter Account Analyzer](https://docs.dify.ai/en/learn/tutorials/twitter-chatflow.md): Build a Chatflow that scrapes a Twitter profile via Crawlbase and analyzes the user's tweets with an LLM
- [Customer Service Bot With Knowledge Base](https://docs.dify.ai/en/learn/tutorials/customer-service-bot.md): Build a Chatflow that answers customer questions from a knowledge base
- [AI Image Generation App](https://docs.dify.ai/en/learn/tutorials/build-ai-image-generation-app.md)
- [Article Reader Using File Upload](https://docs.dify.ai/en/learn/tutorials/article-reader.md)

##### Workflow 101

- [Lesson 1: What is a Workflow?](https://docs.dify.ai/en/learn/tutorials/workflow-101/lesson-01.md)
- [Lesson 2: Head and Tail (Start & Output Node)](https://docs.dify.ai/en/learn/tutorials/workflow-101/lesson-02.md)
- [Lesson 3: The Brain of the Workflow (LLM Node)](https://docs.dify.ai/en/learn/tutorials/workflow-101/lesson-03.md)
- [Lesson 4: The Cheat Sheet (Knowledge Retrieval)](https://docs.dify.ai/en/learn/tutorials/workflow-101/lesson-04.md)
- [Lesson 5: The Crossroads of Your Workflow (Sorting and Executing)](https://docs.dify.ai/en/learn/tutorials/workflow-101/lesson-05.md)
- [Lesson 6: Handle Multiple Tasks (Parameter Extraction & Iteration)](https://docs.dify.ai/en/learn/tutorials/workflow-101/lesson-06.md)
- [Lesson 7: Enhance Workflows (Tools)](https://docs.dify.ai/en/learn/tutorials/workflow-101/lesson-07.md)
- [Lesson 8: The Agent Node](https://docs.dify.ai/en/learn/tutorials/workflow-101/lesson-08.md)
- [Lesson 9: Layout Designer (Template)](https://docs.dify.ai/en/learn/tutorials/workflow-101/lesson-09.md)
- [Lesson 10: Publish and Monitor Your AI App](https://docs.dify.ai/en/learn/tutorials/workflow-101/lesson-10.md)

## OpenAPI Specs

- [openapi_service](/en/api-reference/openapi_service.json)
