To activate your Gateway you need to register it with The Things Network and then configure it to connect to your local WiFi and global The Things Network.
The simplicity of this process is one of things that sets apart The Things Gateway. We don’t even need to document it! Just go to activate.thethingsnetwork.org
and follow the activation wizard: