How do I connect tuya smart plugs to openhab?

Before you start connecting the devices to IFTTT, it is required to register them in the SmartLife App. That will connect your new smart switches to the Tuya