What is the correct procedure to install and configure homekit

So, I am trying to set up HomeKit in Home Assistant, but from the instructions here, it’s not clear which method I should use to set it up.

Initially the instructions say:

Configuration >> Integrations in the UI, click the button with + sign and from the list of integrations select HomeKit Bridge.

Then, the instructions say I should add “homekit:” in configuration.yaml

I was under the impression that the new method of adding Integrations was the first one. Should I add “homekit:” in configuration.yaml after I’ve already added the homekit integration though the gui?

Also, when filtering which domains to include, what should I use? homekit.yaml? or the gui? Because there’s options ti filter domains in gui also. Should I allow everything in the gui and then limit them in the yaml file?

I guess the question here is, what is the correct procedure to install and configure homekit?