This Documentation is Being Deprecated

This page is being phased out as part of our documentation reorganization.

Click this card to be redirected to the updated version with the most current information.

If you notice any discrepancies or areas needing improvement in the new documentation, please use the “Report an issue” button at the bottom of the page.

Once plugin development is complete, the next step is to test whether the plugin runs correctly. Dify provides remote debugging method.

Go to “Plugin” page to get the debugging key and remote URL.

Go back to the plugin project, copy the .env.example file and rename it to .env. Fill it with the remote server address and debug key.

.env file

INSTALL_METHOD=remote
REMOTE_INSTALL_HOST=remote
REMOTE_INSTALL_PORT=5003
REMOTE_INSTALL_KEY=****-****-****-****-****

Run the python -m main command to start the plugin. You can see on the plugin page that the plugin has been installed into Workspace. Other team members can also access the plugin.

You can initialize this model provider by entering the API Key in Settings → Model Provider.