Custom Visualization Dev Server
Your dev server is running and ready to sync with Metabase.
Dev server running
Connect to your Metabase instance
- Start Metabase locally with
MB_CUSTOM_VIZ_PLUGIN_DEV_MODE_ENABLED=true environment variable to enable dev endpoints and dev admin page
- In your local Metabase instance go to Admin → Custom visualizations → Development
- Set the Dev server URL field to:
- Open a question and change its visualization type — your visualization will be available in Custom visualizations section in the sidebar
Changes you make to your source code will automatically reload in Metabase.
How it works
- This server serves your built bundle from
dist/
- Metabase fetches
/index.js and assets from this server
- An SSE connection at
/__sse notifies Metabase when you rebuild
- Metabase re-fetches and re-registers your visualization automatically