Same way. You can send RCI request(query_state) from device cloud and you can parse the response for the address of the xbee (search for zigbee_state in the response)
Or
You can telnet to the device and issue the command #>display xbee to get the device information which includes the address of the local xbee.