NR+XBee Conection

In this topic there is a comments.

I just want to know the algorithm:

  1. First, I need to install the RPI XBee connection library?
  2. Then install XBee MQTT Gateway project?
  3. Finally, to obtain data in NR through Xbee nodes and / or zigbee2mqtt nodes?

Am I on the right way or not?