Prerequisites
- Admin access to your Zendesk Help Center
- Access to IrisAgent dashboard
Edit the Zendesk theme template
Upload your Zendesk Guide them to load the widget:- Log in to the Zendesk Admin Center
- Navigate to the Customize Design tab in your Zendesk Help Center. This can be found under Zendesk Guide > Guide Admin > Customize Design.
- Select your theme and click on Edit code.
- Open
new_request_page.hbs(the “New request” form template) and paste the following code snippet inside the form (commonly near the bottom):
- Replace
YOUR_IRIS_AGENT_API_KEYin the above code with your key by going to the Configure page on IrisAgent dashboard - Now that the IrisAgent search bar is going to be displayed, the default Zendesk search bar can be deleted from the code. To make the deletion, remove the entire
<div class="search-container">and all the code inside the div.
Save, preview, and verify
After adding the script, confirm that the deflector behaves correctly before publishing:- Click Save in the theme editor, then use the Zendesk preview to load the new request page
- Enter a test subject and description; the deflector should surface suggested answers before the ticket is actually submitted
- Once you are satisfied with the behavior and styling, click Publish changes so the deflector goes live on your production support form