Website Embed

Help page on your domain

Serve your Assistrio AI help page at a path on your own domain, like /help, with a rewrite in Next.js, Vercel, or Netlify.

Every agent can have a hosted help page at app.assistrio.com/<agent-id>/<page-slug>. To show it on your own domain instead, add a rewrite (proxy) from a path on your site to Assistrio. Open Deploy › Help page and use the Use your own domain section (it appears once your page has an address): enter your path and copy the rule for your host.

The path must be lowercase letters, numbers, and dashes, such as /help or /support/ask.

Next.js

next.config.js
module.exports = {
  async rewrites() {
    return [
      { source: "/help", destination: "https://chat.assistrio.com/api/help/YOUR_PAGE_SLUG/host" },
      { source: "/help/:path*", destination: "https://chat.assistrio.com/api/help/YOUR_PAGE_SLUG/host/:path*" },
    ];
  },
};

Vercel

vercel.json
{
  "rewrites": [
    { "source": "/help", "destination": "https://chat.assistrio.com/api/help/YOUR_PAGE_SLUG/host" },
    { "source": "/help/:path*", "destination": "https://chat.assistrio.com/api/help/YOUR_PAGE_SLUG/host/:path*" }
  ]
}

Netlify

_redirects
/help         https://chat.assistrio.com/api/help/YOUR_PAGE_SLUG/host         200!
/help/*       https://chat.assistrio.com/api/help/YOUR_PAGE_SLUG/host/:splat  200!

Node.js (Express)

server.js
// Add this route before your other routes.
app.get(["/help", "/help/*"], async (req, res) => {
  const page = await fetch("https://chat.assistrio.com/api/help/YOUR_PAGE_SLUG/host" + req.path.slice("/help".length));
  res.status(page.status).type("html").send(await page.text());
});

Note

Copy the rule from your help page settings — the examples above use a placeholder slug. After you deploy, the page on your domain stays up to date when you change the help page in Assistrio.

Was this page helpful?

Need help? Contact support — we reply within one to two business days.