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

# Dify

# Dify Integration Guide

Dify is an open-source large language model (LLM) application development platform. It combines Backend as a Service (BaaS) and LLMOps concepts, enabling developers to quickly build production-grade generative AI applications. By configuring AGIPower, you can access a wider selection of models beyond the base models provided by Dify.

## Configuration Steps

### 1. Obtain a AGIPower API Key

Go to the [AGIPower Console](https://agipower.ai/settings/keys) to create and retrieve your API Key.

### 2. Open the Dify Website

1. Open the [Dify website](https://dify.ai)
2. Click the Get Started button and sign in
3. Click your avatar in the upper-right corner and select Settings -> Model Provider

### 3. Configure the OpenAI-API-compatible Service

<Tip title="Configuration Notes">
  You only need to configure OpenAI-API-compatible to unlock all AGIPower models.
</Tip>

In Dify settings:

1. **Select OpenAI-API-compatible**: Search for and select OpenAI-API-compatible

\<div style="text-align: center;">

<img src="https://cdn.marmot-cloud.com/storage/agipower/2025/11/05/SLSYOoV/dify2.png" alt="" />

\</div>

2. **Add Models**: Click Add Model, add the models you need, and enter the required details

\<div style="text-align: center;">

<img src="https://cdn.marmot-cloud.com/storage/agipower/2025/11/05/QPFcKXA/dify1.png" alt="" />

\</div>

3. **Create a New Chatbot**: Create a new Chatbot, then select your desired model from the model list in the upper-right corner
   \<div style="text-align: center;">

<img src="https://cdn.marmot-cloud.com/storage/agipower/2025/11/05/4N1gOdB/dify4.png" alt="" />

\</div>

#### 4. Supported Models

AGIPower provides a rich selection of models for Dify. View all available models in the [AGIPower Model List](https://agipower.ai/models)

## Troubleshooting

### Common Issues

#### API Key Error

**Issue**: The system indicates the API Key is invalid or unauthorized

**Solution**:

* Check that the AGIPower API Key you entered is correct
* Confirm the API Key is active and has sufficient balance
* Verify that the API Key format starts with `sk-`

## Contact Us

If you encounter any issues during use, or have suggestions and feedback, feel free to contact us via the following channels:

<Tip title="Get Help">
  * **Official Website**: [https://agipower.ai](https://agipower.ai)
  * **Technical Support Email**: [support@agipower.ai](mailto:support@agipower.ai)
  * **Business Partnership Email**: [support@agipower.ai](mailto:support@agipower.ai)
  * **Twitter**: [@AGIPowerAI](https://twitter.com/AGIPowerAI)
  * **Discord Community**: [http://discord.gg/vHZZzj84Bm](http://discord.gg/vHZZzj84Bm)

  For more contact options and details, please visit our [Contact Us page](/en/help/contact).
</Tip>
