xbee series 2 setup?

I finally managed to get them talking, turns out I had to flash one as a coordinator.