How to do the wiring of this capacitor
This is not a capacitor but a mains input filter/Power line filter (which, as shown on the little schematic that is printed on top of it contains two capacitors and a common-mode choke) It's placed in series with the input - one side has the power line, other side has the device being powerd. If you are still not sure, I suggest googleing the topic.