Install and Use Plugins
Author: Allen
Last updated
Author: Allen
Last updated
To install plugins, click "Plugins" in the top-right corner of the Dify platform to access the plugin management page. You can install plugins via Marketplace, GitHub, or Manual Upload.
Browse and select a plugin from the Marketplace. Click "Install" to add it to your current workspace effortlessly.
Install plugins directly using GitHub repository links. This method requires plugins to meet code standards and include a .difypkg
file attached to a Release. For more details, see Publishing Plugins on GitHub.
After packaging your plugin, upload the resulting .difypkg
file. This option is ideal for offline or test environments and allows organizations to maintain internal plugins without exposing sensitive information.
Some plugins require API Keys or other authorization to function properly. After installation, enter the necessary credentials to enable the plugin.
API Keys are sensitive information and are only valid for the current user. Other team members must manually input their credentials to use the plugin.
Once installed, plugins can be integrated into your Dify applications. Below are examples of how to use different types of plugins.
For example, after installing the OpenAI
model plugin, click Profile → Settings → Model Providers in the top-right corner to configure your API Key and activate the provider.
Once authorized, the model can be used in all application types.
Tool plugins can be used in Chatflow, Workflow, and Agent applications. Below is an example using the Google
tool plugin.
Some tool plugins require API Key authorization before use. Configure these after installation for future convenience.
In an Agent application, locate the "Tools" section at the bottom of the application orchestration page. Select your installed tool plugins.
When using the application, input instructions to utilize the tools. For example, entering "today's news" will invoke the Google plugin to retrieve online content.
Chatflow and Workflow applications share the same orchestration canvas, so tool usage is identical.
Click the "+" button at the end of a node, select the installed Google plugin, and connect it to the upstream nodes.
In the plugin's input variables, enter the user query or other required information for online retrieval.
For usage methods of other plugin types, refer to their respective plugin detail pages.
To learn how to get started with plugin development, refer to the following guide:
Develop Plugins