Algolia InfiniteHits

Can anyone help pointing me in the direction of documentation that actually makes sense? Trying to implement infiniteHits and the documentation again is unclear. I am yet again, guessing my way around what I think would work and haven’t had any luck. I have been able to replicate a results page with the infiniteHits widget on my local machine just to make sure I understand the concept and I was successful. The documentation is not specific to Shopify and it’s filing system. Extremely frustrating