How to enable predictive search API for Brooklyn theme?

4 0 1

I'm trying to figure out how to implement and enable the Shopify predictive search on a Brooklyn theme. I am trying to follow the instructions found at and I'm having a hard time understanding it.

I have some knowledge of basic coding with HTML & CSS but JS and API implementation is out of my depth. I would greatly appreciate it if someone could assist with implementing the predictive search API.