View Zendesk demo
Open the help center demo powered by the Algolia integration for Zendesk.
Explore source code
Browse the Zendesk integration source on GitHub.
Set up the Algolia connector
- Sign in to the Algolia dashboard.
- On the left sidebar, select Data sources.
- On the Connectors page, find Zendesk Knowledge Base and click Connect
- Click Create a new source to start the setup.
-
If you’ve already allowed Algolia to access your Zendesk account, select the authentication from the OAuth 2.0 list.
Otherwise, enter your Zendesk subdomain and click Connect to Zendesk.
- A new window will redirect you to Zendesk. There, allow Algolia to read your Zendesk Help Center.
- When you are redirected back to the Algolia Dashboard, select Create a new OAuth 2.0 authentication in the modal’s input, update the Zendesk authentication URL with your Zendesk subdomain, optionally specify a name for the authentication and click Create authentication.
- You can now refresh the connector setup page and select the authentication in the list.
-
Fill the form with the following values:
-
Account name:
Your Zendesk subdomain.
For example, if your Zendesk URL is
https://my-zendesk-app.zendesk.com, then your account name ismy-zendesk-app. -
Content to index:
The Zendesk object you want to index.
Choose between
articlesorposts. Each connector can only index one type of content. If you want to index both objects, select one and create a new connector for the other. - Max Content Size: The connector will truncate the content to the specified size. The default value is 5,000 characters. To keep the size of your Algolia small, keep the default value.
-
Account name:
Your Zendesk subdomain.
For example, if your Zendesk URL is
- Click Create source to continue.
Configure the Algolia index
- Configure the Algolia index as destination for your Zendesk content.
- Create the task for indexing the Zendesk content. You can define how often the content is synced.
Update your theme
To replace the default search with Algolia Search, you need to update your help center theme. For more information, see Customizing your help center theme in the Zendesk documentation.Replace the default Zendesk search with Algolia
- In your Zendesk Guide, on the sidebar, click Customize design.
- In the Themes section, select the theme you want to modify.
-
From the list of templates, select the template
document_head.hbs. -
Add the following code to the end of the
document_head.hbstemplate:HTML
Preview your changes
- Click Preview. For more information, see Previewing your changes in the Zendesk documentation.
- Enter a few letters in the search box. The autocomplete menu should show results from Algolia. If you just connected Algolia with your help center, the initial upload of your articles might take a moment.