Installing HB to HA or viceversa Installing HA to HB what is the difference?

I am really confused after reading many topics in this forum.
Some people installed Homebridge plugin to Hass.io and some people installed Home Assistant plugin to Homebridge. Is there any difference? Which one is more convenient for a newbie who don’t know much about linux commands and coding?

Currently my setup is hass.io and I installed Home Bridge plugin on top of it.
Still trying to figure out how to add my devices such as Lifx Lamps, Netatmo Thermostat, Yamaha AV Receiver, Apple TV, Kodi etc… from a UI with a simple selection and configuration.