Adding YaCy to Firefox Search menue

I had some difficulty trying to figure out how to do this, then made the discovery by accident.

Once YaCy is running, well first add a separate search bar in Firefox preferences, then when you open the YaCy search page, the option to add YaCy will appear when typing into the search field.

I thought this might be helpful to anyone trying to implement a convenient way to use YaCy in Firefox. It took me several weeks before I discovered this so perhaps it will save someone else some unnecessary time and frustration.