you should connect the power (3.3 VDC) and the ground, if you need to transmit the data of a xbee's input pin you need to configure the xbee device, if you are gonna transmit using TX,RX inputs, you need to connect something to them (like a microcontroller), in the last case the default factory configuration should work.