Logo

Command Palette

Search for a command to run...

Portal Hosting Dashboard Guide

Use the Portal Hosting dashboard to generate tenant-scoped URLs and copy paste-ready embed snippets.

Open the Dashboard

  1. Sign in to your Zhu Li workspace.
  2. Open Dashboard.
  3. Go to Portal Hosting in the sidebar, or use the quick action on the dashboard home.

The page loads your workspace-specific hosted config from GET /api/v1/portal-hosting.

What You Get

The page returns three sections:

  • Portal identity: your stable portalId.
  • Hosted URLs: direct links for full portal and section routes.
  • Iframe snippets: ready-to-copy snippets for overview, issues, features, changelog, and docs.

Snippet Format Toggle

Use the format toggle under Iframe snippets:

  • HTML: best for static sites, CMS embeds, and no-build environments.
  • React JSX: best for React and Next.js projects.

You can copy one snippet at a time or use Copy all snippets to export everything in the currently selected format.

Hosted Route Patterns

The generated links follow these patterns:

/portal/[portalId]
/portal/[portalId]/issues
/portal/[portalId]/features
/portal/[portalId]/changelog
/portal/[portalId]/docs

/embed/[portalId]
/embed/[portalId]/issues
/embed/[portalId]/features
/embed/[portalId]/changelog
/embed/[portalId]/docs

Troubleshooting

If the dashboard fails to load hosting data:

  • Confirm you are signed in to the intended workspace.
  • Verify the environment has a valid portal owner/user setup.
  • Check server logs for /api/v1/portal-hosting response errors.

Related Guides