Quick Start
1
See the pages that ship
Launch the integration dashboard and open the π Workflow Runs and π€ Bot Health tabs.
2
Add your own page
Drop a decorated async function in
praisonai_bot/integration/pages/ and register it.How It Works
The host app importspraisonai_bot.integration.pages at configure time, each @aiui.page-decorated function registers itself, and the dashboard renders each functionβs returned dict as a page.
The mount point is host_app.py:193, where the pages are imported inside a try/except ImportError: pass guard so a missing dependency never breaks the host app.
Pages That Ship Today
Two pages ship withpraisonai-bot.
The
workflow-runs page returns one of two shapes depending on whether the workflows bridge is available.
bot-health page returns a live gateway status.
Writing Your Own Page
A page is an async function decorated with@aiui.page(...) that returns a JSON-serialisable dict.
Backward Compatibility
The legacy import path
praisonai.integration.pages.workflow_runs still works as a shim; new pages should import from praisonai_bot.integration.pages. See PR #3829 for the C9 shim pattern.Best Practices
Return only JSON-serialisable data
Return only JSON-serialisable data
The dashboard renderer serialises the returned
dict. Return plain lists, strings, numbers, and dicts β no live objects, connections, or callables.Keep pages async
Keep pages async
The host app awaits page functions. A synchronous function blocks the event loop β always declare the page with
async def.Pick icons that read at 16 px
Pick icons that read at 16 px
Emoji icons render across the supported dashboard themes. Choose a glyph that stays legible in the nav at small sizes.
Related
Bot Gateway
Run the bot gateway that hosts the integration dashboard.
Workflows
The workflows service the Workflow Runs page reads from.

