Prerequisites
- Admin access to your Zendesk Help Center (Suite Growth or above, or Guide Professional or above)
- Access to IrisAgent dashboard
Edit the Zendesk theme template
Edit your Zendesk Help Center theme to load the widget:- Log in to Zendesk and click the Zendesk Products icon in the top bar, then select Knowledge
- In Knowledge admin, click the Customize design icon in the sidebar to open the Themes page
- Click Customize on your theme, then click Edit code
- Select
new_request_page.hbsfrom the Templates section and paste the following code snippet after the last closing</div>tag (outside<div class="container">):
- Replace
YOUR_IRIS_AGENT_API_KEYin the above code with your key by going to the Configure page on IrisAgent dashboard - Since the IrisAgent Ticket Deflector replaces the built-in search bar, remove the entire
<div class="search-container">element and everything inside it.
Full example of new_request_page.hbs (with search-container removed)
Full example of new_request_page.hbs (with search-container removed)
Remember to replace YOUR_IRIS_AGENT_API_KEY with your actual API key (see step 5).
Save, preview, and verify
After adding the script, confirm that the deflector behaves correctly before publishing:- Click Save in the theme editor, then click Preview to open the help center in a new tab and navigate to the Submit a request page
- Enter a test subject and description; the deflector should surface suggested answers before the ticket is actually submitted
- Once satisfied, return to the Themes page and click Set as live theme to deploy the updated version to your production support form