How to link to searched result in a page?

I’m using Algolia to search in my website, which is a online version of a book. So there’s a few very long pages, with many words on them. I’ve indexed each paragraph into its own Algolia entry, and I can search through them in the dashboard. I need help now:
I want to be able to 1. have a search bar in my website, and 2. have a user be able to click on a result and be taken to that location in the book.

You can see the website at joyceproject.com.