Section 2 · Build your plugin

Both ways start from the same generated starter project and end in your local Grafana

Estimated time: 1 min

Two ways to build your plugin

The create-plugin tool writes the official starter project, called the scaffold. It holds the plugin’s metadata, the entry point for its browser code, and a Docker setup that runs a local Grafana for you to test against.

Code your plugin, or get AI to code for you

From the scaffold, you write the code yourself, or you prompt an AI coding assistant to write it inside the scaffold. Either way, you check it in your local Grafana as the plugin grows. During development, that local Grafana loads your plugin without a signature, so you don’t sign anything yet.

Generate the scaffold, then write the code yourself or prompt an AI coding assistant, then check it in your local Grafana