Skip to content

Tutorials

End-to-end walkthroughs that take you from an empty directory to a runnable plugin. Each tutorial is self-contained and produces working software you can keep extending.

Before you start

You'll need:

Python3.12 or newer
Bunlatest (for frontend tutorials)
mint CLIuv tool install mint-sdk (or pip / pipx — see Get Started)
A running platformOptional but recommended — mint dev --platform from the plugin directory spins up both
Familiarity with the Concepts pagesRecommended; tutorials reference the vocabulary established there

The tutorials

#TutorialTimeWhat you'll build
1First analysis plugin30 minA hello-world ANALYSIS plugin with one HTTP route, runnable in standalone and integrated mode
2Design plugin with tables60 minAn EXPERIMENT_DESIGN plugin with its own database table, schema migrations, and CRUD routes
3Adding a frontend45 minA Vue 3 + @morscherlab/mint-sdk frontend mounted on the analysis plugin from tutorial 1
4Plugin roles30 minAdding a per-plugin role enum and gating routes / UI by it

If you're new to MINT plugin development, do them in order. They share the same starter project, and each builds on the last.

How tutorials are structured

  • Every code block is runnable as written. Imports are explicit; commands are exact.
  • File paths are absolute relative to the plugin project root unless noted.
  • Commands are tagged with the directory they should be run from (# in <plugin-root>/).
  • Output expected from each command is shown with markers.
  • After each section there's a Checkpoint — a one-liner you can run to verify your project is in the expected state before moving on.

Where to go from a tutorial

When you finish a tutorial:

MINT is open source. Made by the Morscher Lab.