How to include the option to star/favorite search results?

Hi there, noob to algolia here :sweat_smile:!

We have a docs site that uses Algolia search and I wanted to know how to include the option to star or favorite search results like the screenshot below? i have tried using the docs but it’s a little confusing for me. thank you!