Getting an API Key
- Sign Up/Sign In: Go to Dify.ai. Create an account or sign in.
- Create a Workflow: Set up your AI workflow with your desired model configuration.
- Get API Key: Generate an API key for your workflow.
- Copy the Key: Copy the API key immediately and store it securely.
Configuration in Cline
- Open Cline Settings: Click the settings icon (⚙️) in the Cline panel.
- Select Provider: Choose “Dify.ai” from the “API Provider” dropdown.
- Enter API Key: Paste your Dify workflow API key.
- 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.

