Install the Help Center Widget on Your Site
Install the Help Center Widget on your site by configuring placement, language, and user ID in the Install builder, then copying the code snippet.
Add your Help Center as an in-app widget so visitors can browse articles and get help without leaving your site. This guide walks you through the Install builder, where you'll configure placement, language, and optional features, then copy the generated code into your project.
Open the Install Builder
- Go to the widget settings
Head to "Settings," select your Help Center, then click "In-App" and open "In-App-Widget." This is where the Install builder lives.
Choose Placement and Language
-
Pick a placement type
Select how the widget appears on your site.- Floating button: A standalone button the widget provides.
- Your own button: Triggers the widget from a button you already have on your page.
- Inline: Embeds the widget inside a container on your page.
-
Provide a selector or container
If you chose "Your own button" or "Inline," an input field appears. Enter the CSS selector (for your own button) or the container reference (for inline) that the generated code will target. -
Select a language
Choose "Default" to use your Help Center's source language, or pick one of your configured translation languages.
Configure Identification and Page Data
-
Enable logged-in user identification (optional)
Toggle "Identify logged-in users" if you want the widget to recognize signed-in visitors. This is optional in most setups, but required when your Help Center uses app authentication. -
Enable page context for tickets
If your Help Center has the ticket system enabled, you can turn on "Send data from the page." This passes page context into ticket fields so agents get more information with each submission. For details on supplying and verifying those prefills, see Prefill Ticket Fields from a Host App.
Copy the Generated Code
The Install builder generates code snippets organized into tabs. Which tabs appear depends on the options you enabled. The examples automatically reflect your organization's declared roles, attributes, and applicable ticket fields, so the code is ready to use. Each code block has syntax highlighting and a copy control you can click to grab the snippet.
-
Copy the "In your page" snippet
This tab is always available. Copy the code and paste it into your site's HTML. -
Copy the "On your server" snippet
This tab appears when you've enabled logged-in user identification. It provides server-side examples in Node.js, Python, Ruby, and PHP. Pick the language your backend uses, copy the snippet, and add it to your server code. -
Copy the "Single-page app" snippet
This tab appears when identification or page context is enabled. Copy the code and integrate it into your single-page app's lifecycle where appropriate.
Optional Reference Guidance
- Expand the "More" section for additional topics
At the bottom of the Install builder, a collapsed "More" section contains optional guidance covering SSO login, CSP (Content Security Policy), diagnostics, and opening a specific article. Open it when you need help with any of those topics.
