Xbee and input voltages

Question 1

I have an Xbee series 1 and a LM335A temperature sensor

I know I should use a level converter to connect the adc input but what about vref

Question 2

How to connect 120v 60hz as a digital input to an Xbee

Richard