Get autocompletejs working with Hugo

I’m trying to get autocomplete js and algolia working on my website, but I just can’t seem to figure it out.
All the information just seems to be scattered everywhere. I’ve been to the autocomplete js github repo, I’ve read the documentation, etc.
Can someone give me a link to a blog post, youtube video, reddit post, whatever that goes through the process step-by-step?

Thanks a ton!!!