# Dify Docs > 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. - [Cloud (332 pages)](https://docs.dify.ai/_llms/en/cloud.txt): Use, Learn, Developer Resources. ## Self-Host ### 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): Run Dify on one machine with Docker Compose, then secure, customize, and upgrade it - [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): Resolve common authentication, configuration, email, and database issues - [Docker Issues](https://docs.dify.ai/en/self-host/deploy/troubleshooting/docker-issues.md): Resolve networking, volume, and container issues in Docker deployments - [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 - [Human Input](https://docs.dify.ai/en/self-host/use-dify/nodes/human-input.md): Pause workflows to request human input - [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) ###### 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 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) ###### File Security Scan - [Scan Uploaded Files for Malware](https://docs.dify.ai/en/self-host/use-dify/knowledge/file-security-scan.md): Block malware in files uploaded to knowledge bases, using a hosted scanning service or your company's own scanner - [Custom Endpoint Scanner API](https://docs.dify.ai/en/self-host/use-dify/knowledge/file-security-scan-custom-endpoint.md): Build a scanning service that Dify calls to check each file uploaded to a knowledge base #### 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 - [Export and Import Apps](https://docs.dify.ai/en/self-host/use-dify/workspace/export-import-apps.md): Export an app to back it up, share it, or move it, and import one to create or update an app - [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 - [Contacts](https://docs.dify.ai/en/self-host/use-dify/workspace/contacts.md): Keep Human Input recipients reachable: add people outside your workspace, bind members to your team's IM, and know what changes when people leave - [Personal Settings](https://docs.dify.ai/en/self-host/use-dify/workspace/personal-account-management.md): Manage your profile, login, interface preferences, and personal access tokens ##### Channels - [Channels](https://docs.dify.ai/en/self-host/use-dify/workspace/channels/overview.md): Send Human Input requests to your team's IM as cards or link messages: connect your IM, sync members, and replace or remove it - [Slack](https://docs.dify.ai/en/self-host/use-dify/workspace/channels/slack.md): Send Human Input requests to Slack as cards: create the app, connect it to Dify, set up its callbacks, and fix what goes wrong - [Feishu / Lark](https://docs.dify.ai/en/self-host/use-dify/workspace/channels/feishu-lark.md): Send Human Input requests to Feishu or Lark as cards: create the app, connect it to Dify, set up its callbacks, and fix what goes wrong - [Microsoft Teams](https://docs.dify.ai/en/self-host/use-dify/workspace/channels/ms-teams.md): Send Human Input requests to Microsoft Teams as cards: create the bot and the Teams app, connect them to Dify, set up callbacks, and fix what goes wrong - [DingTalk](https://docs.dify.ai/en/self-host/use-dify/workspace/channels/dingtalk.md): Send Human Input requests to DingTalk as link messages: create the app, connect it to Dify, and fix what goes wrong - [WeCom](https://docs.dify.ai/en/self-host/use-dify/workspace/channels/wecom.md): Send Human Input requests to WeCom as link messages: create the app, trust your server's IP, connect it to Dify, bind members by hand, and fix what goes wrong ## OpenAPI Specs - [openapi_service](/en/api-reference/openapi_service.json) > The links below point to documentation indexes. Follow each `/_llms/` index recursively until you reach documentation pages. ## Indexes - [English / Cloud (332 pages)](https://docs.dify.ai/_llms/en/cloud.txt): Use, Learn, Developer Resources. - [English / Cloud / Developer Resources (208 pages)](https://docs.dify.ai/_llms/en/cloud/developer-resources.txt): API, CLI, Plugins. - [English / Cloud / Developer Resources / API (155 pages)](https://docs.dify.ai/_llms/en/cloud/developer-resources/api.txt): Guides, App APIs, Knowledge APIs. - [Chinese (449 pages)](https://docs.dify.ai/_llms/zh.txt): Cloud, 自部署. - [Chinese / Cloud (332 pages)](https://docs.dify.ai/_llms/zh/cloud.txt): 使用, 学习, 开发者资源. - [Chinese / Cloud / 开发者资源 (208 pages)](https://docs.dify.ai/_llms/zh/cloud/tab-a92a2441.txt): API, CLI, 插件开发. - [Chinese / Cloud / 开发者资源 / API (155 pages)](https://docs.dify.ai/_llms/zh/cloud/tab-a92a2441/api.txt): 指南, 应用 API, 知识库 API. - [Japanese (449 pages)](https://docs.dify.ai/_llms/ja.txt): Cloud, セルフホスト. - [Japanese / Cloud (332 pages)](https://docs.dify.ai/_llms/ja/cloud.txt): 使い方, 学習, 開発者リソース. - [Japanese / Cloud / 開発者リソース (208 pages)](https://docs.dify.ai/_llms/ja/cloud/tab-fda61034.txt): API, CLI, プラグイン開発. - [Japanese / Cloud / 開発者リソース / API (155 pages)](https://docs.dify.ai/_llms/ja/cloud/tab-fda61034/api.txt): ガイド, アプリ API, ナレッジ API. This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.