Raspbee to HA on separate devices

Hi
I’m unclear as to how to connect a PI running HA to another Pi with a RaspBee II board.

Is this where I delve into MQTT?

Thanks in advance.