Connecting two feather Huzzahs over the internet (global)

Hi everyone!! I'm new to the forums, but I've been scouring for hours looking for a way to connect two feather Huzzah ESP82660s over different wi-fi networks. I'm very familiar with coding in Arduino IDE, however, I'm very new to trying to connect microcontrollers globally over wi-fi. I suppose I'm just unsure where to start. I'm sorry I can't provide any test code, just yet.

Using the arduino IDE, down load your ESP board info using tools > board > board manager, down load the libraries using tools > manage libraries, then go to file > examples and start working with and running the example code.