Attach the wire to the socket. Strip both ends of the socket wires. Connect the neutral wire — the one with the ridge in its insulation — to the silver socket terminal and the other wire to the brass socket terminal. Place the socket in the lamp, feeding the wire through the socket cap. Reinstall the socket's insulating sleeve and shell, pushing on the shell until it snaps in place. Once the socket is in, place the switch near the edge of the bed on the wire. Follow instructions on the switch package to install.