Connecting XStick and Xbee Module

My idea is to use mozilla iot gateway with Digi XStick XU-Z11. I want to create DIY zigbee relay insert with Digi Xbee modules. Later this has to be discoverable by gateway.

Is that possible XBee modules? Is there any documentaions on how create such a relay module?