Turn off power to the circuit. Find the two leads of the LED in a circuit. De-solder and disconnect one lead of the LED from the circuit.
Prepare rosin-core solder. Solder one end of a 6-inch wire to the connection in the circuit where the LED's lead was disconnected.
Solder the free end of the 6-inch wire to the middle lead connection of a 100-1000 ohm potentiometer. A potentiometer has three leads. The center lead is negative side circuit lead. The left and right lead connections are the positive side circuit leads.
Solder a 6-inch wire to either the left or right lead connection of the potentiometer. A right-side connection will increase the potentiometer's resistance when the knob is turned clockwise. A left-side connection will increase the potentiometer's resistance when the knob is turned counterclockwise. It's a matter of preference by the user.
Solder the free end of the second wire to the free end of the LED. The circuit is now complete. Turn on power to the circuit. Turn the potentiometer knob clockwise and counterclockwise to adjust the LED to the level of dimness desired.