XBee Pro S3B/900HP

Does anyone know how to exactly program an XBee Pro 900HP in API mode and how to connect them to an Arduino Uno? I am currently trying to get the two XBees to communicate GPS coordinates to each other. Let me know if you need more information.