Algolia Search for Zendesk
This JavaScript library allows you to replace the default search of your Zendesk Help Center by Algolia. Algolia is a hosted full-text, numerical, and faceted search engine capable of delivering realtime results from the first keystroke.
Setup
To be able to setup your new search on your Zendesk Help Center you'll need to have an Algolia account with a configured Zendesk Help Center crawler.
This crawler feature is still in beta, just send us an email to be part of the program!
- An Algolia account (our Hacker/FREE plan probably fits your need)
- A Zendesk API token (generate it following those steps)
- The associated Zendesk application name & email
Updating your Help Center theme
Once your data has been extracted to Algolia, you need to update your Help Center theme in order to replace the search feature by Algolia.
- Click "Customize the design"
- Select the "Document Head" template and add the following lines:
<link rel="stylesheet" type="text/css" href="//cdn.jsdelivr/algoliasearch-zendesk/1/algoliasearch-zendesk.min.css">
<script type="text/javascript" src="//cdn.jsdelivr/algoliasearch-zendesk/1/algoliasearch-zendesk.min.js"></script>
<script type="text/javascript">
algoliasearchZendeskHC({
applicationId: '<YOUR APPLICATION_ID>',
apiKey: '<YOUR SEARCH ONLY API KEY>',
subdomain: '<YOUR ZENDESK APPLICATION NAME>'
});
</script>
Demo
License
This library is MIT licensed.
Contributing
We're considering any contribution and PR, please go ahead!