Connecting 3rd party antennas to XBee Pro SX U.FL

I want to use a 3rd party high gain omnidirectional antenna with the XBee Pro SX. It comes with an N-connector at 50ohm impedance. Can i just use a U.FL to N-connector adapter directly with this type of antenna?

Sure you can.

Thanks for the response. My doubt was regarding the Yagi antennas that come with a cable terminated with an N-connector. If this cable is 50ohms, and I connect another 50ohm N to U.FL cable, won’t I have a major impedance mismatch?