Embed your help center in an iframe
You can show your help center inside a page on your own website with an iframe. HelpSite doesn't block framing, so you can embed the home page or any single article.
Should I embed my help center or use a custom domain?
A custom domain usually works better. Inside an iframe, the browser's address bar doesn't change as visitors move between articles, so they can't copy a link to the article they're reading. Search engines also find your articles at your help center's own address, not on the page that embeds it. A custom domain puts your help center at an address like help.yourcompany.com without those drawbacks. See Set up a custom domain.
How do I embed my help center?
- Find your help center's address: in the sidebar, click Customize site, and copy your HelpSite URL, or your Custom Domain (Optional) if you've set one up.
- In your website's code, add an iframe where the help center should appear:
<iframe src="https://yourname.helpsite.com/" title="Help center" width="100%" height="1000"></iframe> - Replace the address in
srcwith yours. To embed a single article, use the article's address instead. - Change
heightto suit your page, then publish the page.
Open the page on your website to check the help center shows and its links work inside the frame.
Can I embed a private help center?
Yes, if it uses JWT single sign-on. Add the visitor's token to the iframe's address, for example https://yourname.helpsite.com/?jwt=TOKEN, and HelpSite signs them in inside the frame. See Set up single sign-on with JWT.