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

# Dify.ai

> Learn how to configure and use Dify.ai workflows with Cline. Connect to Dify's workflow-based AI platform for custom model orchestration.

Dify.ai is a workflow-based AI platform that allows you to build and deploy custom AI workflows. When used with Cline, Dify acts as a proxy to your configured workflows - no model selection is needed as models are configured within Dify itself.

**Website:** [https://dify.ai/](https://dify.ai/)

### Getting an API Key

1. **Sign Up/Sign In:** Go to [Dify.ai](https://dify.ai/). Create an account or sign in.
2. **Create a Workflow:** Set up your AI workflow with your desired model configuration.
3. **Get API Key:** Generate an API key for your workflow.
4. **Copy the Key:** Copy the API key immediately and store it securely.

### Configuration in Cline

1. **Open Cline Settings:** Click the settings icon (⚙️) in the Cline panel.
2. **Select Provider:** Choose "Dify.ai" from the "API Provider" dropdown.
3. **Enter API Key:** Paste your Dify workflow API key.
4. **Enter Base URL:** Configure the Dify API endpoint URL.

### Tips and Notes

* **No Model Selection:** Models are configured within Dify workflows, not in Cline.
* **Custom Workflows:** Build complex AI pipelines with multiple models and tools.
* **Self-Hosted Option:** Dify can be self-hosted for complete control over your AI infrastructure.
