https://chatbase.co/{agentId}/help, appear on a path like https://your-domain.com/help.
This Help Page proxy method is a free way to show your Help Page on your own domain. It’s separate from the Custom Domain add-on, which white-labels the embed script and iframe. If you already have the add-on, your custom domain applies to your Help Page automatically and you can skip these steps.
The Core Concept: Rewrites
A rewrite acts as a proxy. When a user visits thesource path on your domain, your server fetches the content from the destination URL and serves it to the user. Crucially, the URL in the user’s browser bar does not change.
- Source: The path on your website that you want to use.
- Destination: The full URL of your Chatbase help center.
Remember to replace
{agentId} with your actual Chatbase Agent ID. You can find this ID in your Chatbase dashboard settings.Required RoutesFor the help center to function correctly, you must proxy these paths:
/helpand/help/*- The help center pages/__cb/*- Static assets (JavaScript, CSS, images)/api/chat/{agentId}/*- Chat API endpoints for features like lead submission
{agentId} with your actual Agent ID in all rules.Implementation Examples
Choose the tab below that corresponds to your website’s framework or hosting platform.- Next.js
- Vercel
- Netlify
- Express (Node.js)
For projects using the Next.js framework, you can configure rewrites in your After adding this configuration, restart your Next.js development server to apply the changes.
next.config.js file. This is the recommended method for Next.js applications.- Open or create the
next.config.jsfile at the root of your project. - Add the
rewritesfunction to the configuration object.
SitemapsYour proxied help center content will not be automatically included in your primary domain’s sitemap. You may need to add these URLs manually if SEO for your help content is a priority.