Using react-instantsearch hook with autocomplete in SSR

How do I use react-instantsearch hook with autocomplete in SSR environment?
To create a search experience like amazon, I want to use autocomplete search box for instantsearch UI and handle the routing, state, etc. I want to implement this feature in my Next.js app. Are there any guides to show me as to how I implement this feature, specifically for react-instantsearch hook? there are some resources for react-instantsearch but I found nothing similar for react-instantsearch hook.