We had the electrician wire these directly with a light switch which we found wasn't needed as there is a switch on the faceplate.  That info should have been included in the description.  Wish there was a knob or cover for the hole for the lamp cord as we had it direct wired.