On Which ide create code for programmable Xbee Module

http://www.digi.com/products/xbee-rf-solutions/rf-modules/xbee-zigbee#productsupport

Look under the Software heading for the IDE and Programmable XBee SDK which adds support to the IDE.