using xbee to build a very simple interface circuit

Hi,

I just want to use a xbee as a transimitter to design an interface circuit which will utilize the ADC on an xbee. And the receiver will be linked to a computer via a development board.

Just a few questions:
What pins should I use on the transmitter. For example, if I enable pin 17 as my analogue input which is AD3, should I enable another digital output to connect to pin 3 which is the UART data input to communicate with the receiver? I know that the pins on the receiver should be paired with the transmitter, and I should enable pin 17 on the receiver as a digital output, right?

I still have a load of questions. But this one should be quite critical.

Thanks!