Magento comes with its own Query Suggestions mechanism which will index queries saved in Magento.
To replace this mechanism you need to enable analytics-power QSs in Algolia and replace the default query suggestion data source by the new one. You can find a full-fledged tutorial on the official documentation. There is also a Gist for implementing with the algoliaHookBeforeAutocompleteStart event listener:
Article is closed for comments.