Help xbee pro s2b

Dear: Please help, I have 2 Xbee Pro modules S2B, I need to make a basic link RS232 (9600.8 bit, np, 1stop) between two Pic microcontrollers, the transmitter pic Pin_A0 state change in the pic … a LED light receptor. state change pic … … Pin_A0 transmitter turns off the LED on receiver pic.
How do I configure the modules pro xbbe S2B?
¿At-end router device? Coordinator ¿at-router? How?
is my first time working with these modules and the first time I make a wireless communication.
Greetings, and Help.