Dify Setup Guide

LLM app development platform

Last updated: May 22, 2026

What is Dify?

Dify is an open-source platform for building LLM applications visually. It combines RAG, agents, and workflow orchestration in a user-friendly interface. Great for rapid prototyping without coding.

Step 1: Deploy Dify

# Clone Dify
git clone https://github.com/langgenius/dify.git
cd dify/docker

# Start with Docker
docker compose up -d

Access at http://localhost:3000

Step 2: Configure Models

In Dify dashboard: Settings → Model Providers → Add your API keys (OpenAI, Anthropic, Ollama, etc.)

Step 3: Create Your First App

  1. 1. Click "Create App" → Choose "Chat App"
  2. 2. Select your model (GPT-4, Claude, etc.)
  3. 3. Add system prompt and instructions
  4. 4. Test in the preview pane
  5. 5. Publish and share via API or embed

🎉 Dify is Ready!

You can now build LLM apps visually. Explore more tools in the AI Toolkit.