Get a Unifi Dream Machine Pro into checkmk monitoring

Beginners question here, how do I use this custom plugin to register the new unifi devices in the CheckMK dashboard? I have so far added all of my things through hosts, but not sure where to start on this. If I did this through SNMP I would go after the IP of the Unifi devices, but here the plugin is the source of the information?