To power the gate opener, simply connect a 12V AC power source to the AC power port or use 12V DC batteries with the battery port.
eBay