Pendant lights are normally two-wire affairs that simply connect to the wires in the ceiling with wire nuts. Therefore, making the transformation from pendant to plug-in is very simple, and requires almost no electrical knowledge to perform. Using conventional parts available at a hardware store, converting the pendant to plug-in is simple and safe.
Disconnect the power at the main panel to the light.
Unscrew the cap by hand, holding the cosmetic cover over the in-ceiling junction box. Pull the wires down to reveal the wire nuts splicing the ceiling and pendant wiring.
Unscrew the wire nuts, and separate the two sets of wires. Re-attach the nuts over the wiring in the ceiling, if a new light will not be installed in its stead.
Unscrew the back of the new plug. Pop off the top of the plug, exposing the wire clamps.
Strip 1/2 inch of insulation from the pendant wires, using the wire strippers.
Slide a length of shrink tubing over the length of the pendant's wiring, up to the point where the end of the tubing will disappear into the new AC plug.
Turn on the heat gun to its low setting. Move the activated tool over the length of the heat shrink, 4 to 6 inches from the surface. Stop after the tubing forms over the wiring.
Unscrew the backing cap of the plug. Slide it over and down the pendant's wiring.
Slip the black, white and bare or green wires into their respective clamp openings. The black and white can be either side; the green wire goes under the green anodised screw.
Tighten each plug clamp with the Philips screwdriver.
Snap the top cap on the plug. Slide the back of the plug up the wire, mating to the back of the plug's housing. Tighten the Philips screws to secure the backing cap.