Esc
Documentation
On this page

You extend DSUI with two kinds of code. An adapter teaches DSUI to work with one kind of service. A plugin adds a feature to the whole installation. Most new work is an adapter, so start there unless your idea fits the plugin column below.

Choose adapter or plugin#

AdapterPlugin
ScopeOne kind of service, with one instance for each configured serviceThe whole installation
Where it runsAn isolated subprocess, built from source when DSUI startsInside the DSUI server process, as trusted code
Declared withdefineAdapterdefinePlugin
Package@northgraindata/dsui-adapter-sdk@northgraindata/dsui-plugin-sdk
Connection to a serviceDeclares connection methods, and DSUI builds the formReads services through host capabilities
RequiredA health checkMetadata, a configuration schema, and a setup function
Only in this SDKConnection methods, health checks, HTTP routesNavigation, slots and overlays, procedures, SQLite storage, authentication and authorization

Choose an adapter when you need to:

  • Show and operate a database, orchestrator, storage service, or another system that DSUI doesn’t cover yet
  • Give each configured service its own connection, pages, and background polling

Choose a plugin when you need to:

  • Add a page or a navigation entry that works across services
  • React to events that adapters publish, or run durable background work
  • Sign people in, or limit what they can do

An adapter and a plugin work together. An adapter publishes a signal, such as a failed DAG run, and a plugin job runs when that signal arrives.

Start building#

DSUI loads adapters and plugins from dsui.yaml. See configuration.