3D printer with wifi

I have a Formcot T-Rex 3D printer that already has WiFi built in. I want Octoprint to control the printer via WiFi not USB. How do I set this up?