This tutorial shows how you can connect GoPro Hero 5, Hero 6, and Hero 2018 cameras over Wifi. First power on your GoPro camera. Then swipe down the touch screen from the top as indicated here:
Then select Connections:
Next select Connect New Device:
Then select GoPro App:
You will now see the Wifi network (CAMERA NAME label) and password:
Now use the Camera Remote app to pair the device. This step is required only once per device.