If the app says the gateway is unavailable, contact support.
Step by step
Unplug the gateway and plug it back in.
While the light blinks red and blue, the gateway is ready to be set up.
During that time, set up the network: Wi-Fi (network name and password) or LAN (network cable to the router).
Add the gateway in the app, in Gateways → +, and follow the steps until it connects.
The locks in range start using the gateway by themselves: check in the app that they show as online.
If the light stops blinking before you finish, unplug and plug the gateway in again and repeat. On Wi-Fi, use a 2.4 GHz network.