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

# Plugins

> Extend Dify with custom models, tools, and integrations through modular components

Plugins are how Dify connects to everything: model providers, external APIs, custom tools. They're modular components that extend your workspace capabilities, installed once but usable everywhere.

<Frame>
  <img src="https://mintcdn.com/dify-6c0370d8/gyesM3ime6gTaYSO/images/use-dify/workspace/plugins-tab.png?fit=max&auto=format&n=gyesM3ime6gTaYSO&q=85&s=ad6caccb8f8348f6c590973fafe2b07f" alt="Plugins Tab" width="1051" height="478" data-path="images/use-dify/workspace/plugins-tab.png" />
</Frame>

Access plugin management through the Plugins tab in your workspace.

## How Plugins Work

<Frame>
  <img src="https://mintcdn.com/dify-6c0370d8/gyesM3ime6gTaYSO/images/use-dify/workspace/plugin-management.png?fit=max&auto=format&n=gyesM3ime6gTaYSO&q=85&s=8d700826e8874034fb5273fe209f90e6" alt="Plugin Management" width="3024" height="1902" data-path="images/use-dify/workspace/plugin-management.png" />
</Frame>

Plugins are workspace-scoped. When you install a plugin, every application in your workspace can use it. Team members access plugins based on their roles:

<Tabs>
  <Tab title="Owners & Admins">
    Install, configure, and remove plugins for the entire workspace
  </Tab>

  <Tab title="Editors & Members">
    Use installed plugins in applications they create or edit
  </Tab>
</Tabs>

## Install Plugins

<CardGroup cols={3}>
  <Card title="Marketplace" icon="store">
    Official and partner plugins, tested and maintained
  </Card>

  <Card title="GitHub" icon="github">
    Install from any public repository with URL + version
  </Card>

  <Card title="Local Upload" icon="upload">
    Custom .zip packages for private or internal plugins
  </Card>
</CardGroup>

## What Plugins Really Are

Think of plugins as the bridge between Dify and the outside world:

<CardGroup cols={2}>
  <Card title="Model Providers" icon="microchip">
    Every LLM in Dify (OpenAI, Anthropic, etc.) is actually a plugin
  </Card>

  <Card title="Tools & Functions" icon="wrench">
    API calls, data processing, calculations, all plugin-based
  </Card>

  <Card title="Custom Endpoints" icon="plug">
    Expose your Dify apps as APIs that external systems can call
  </Card>

  <Card title="Reverse Invocation" icon="arrows-rotate">
    Plugins can call back into Dify to use models, tools, or workflows
  </Card>
</CardGroup>

## Workspace Plugin Settings

Control plugin permissions in your workspace settings:

<AccordionGroup>
  <Accordion title="Installation Rights">
    **Everyone** - Any member can install plugins
    **Admin Only** - Only workspace admins can install (recommended)
  </Accordion>

  <Accordion title="Debug Access">
    **Everyone** - All members can debug plugin issues
    **Admin Only** - Restrict debugging to admins
  </Accordion>

  <Accordion title="Auto-updates">
    Choose update strategy (security only vs. all updates) and specify which plugins to include or exclude
  </Accordion>
</AccordionGroup>

After installing, most plugins need configuration: API keys, endpoints, or service settings. These apply workspace-wide.

## Build Custom Plugins

Develop plugins using Dify's SDK when you need custom functionality:

1. Get a debugging key from Settings → Plugins → Debugging
2. Build and test your plugin locally
3. Package as a .zip with manifest and dependencies
4. Distribute privately or publish to the marketplace
