If you are using a Programmable XBee kit for S2B XBee module (P/N: XBP24BZ7B-DK), the way to create a prototype is to use an intermediate board between the development board and the through-hole module as the one shown below.
This board is not currently available for sale, you will need to have your own manufactured from these Kicad board files.
Here we show you an adaptor board for that module:
Happy prototyping! Questions or comments? Let us know!