They have four screw terminals - two for 3VDC to control and two for 24V - 380V AC for the load. They have the CE certification.
I bolt them down inside a NEMA enclosure and use standard residential wiring techniques (buy a book or two!) to wire them to standard outlets, where I plug in the load.
The controller (Arduino etc.) is typically mounted in a small plastic box outside the NEMA enclosure with a terminal strip to attach sensors and so forth. It's powered by a wall wart.
This approach meets code and is perfectly safe. For level of competence needed - you should be capable of doing residential electrical wiring. That's a useful skill to learn.
- learn how to and design a PCB with relays or FETs or whatever, following all the best practices for it to not catch fire.
- buy off-the-shelf rail-mounted relays/contactors, then design a driving circuit that will be all low voltage.
Assembling it all on a breadboard won't cut it (as in will blow up sooner or later), that's for sure.