---
title: "Two ways to build your plugin | Grafana Labs"
description: "Both ways start from the same generated starter project and end in your local Grafana"
---

> For a curated documentation index, see [llms.txt](/llms.txt). For the complete documentation index, see [llms-full.txt](/llms-full.txt).

# 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](https://grafana.com/docs/learning-hub/plugin-development/02-build-your-plugin/01-two-ways-to-build/two-ways-to-build.svg)](https://grafana.com/docs/learning-hub/plugin-development/02-build-your-plugin/01-two-ways-to-build/two-ways-to-build.svg "Generate the scaffold, then write the code yourself or prompt an AI coding assistant, then check it in your local Grafana")
