Unplug the dishwasher from the wall, or turn off the electricity to the dishwasher at the circuit breaker.
Remove the screws from the inside of the dishwasher door using a screwdriver or a Torx screwdriver, depending on the screws for your model.
Pull the front panel off the door.
Locate the back of the old detergent dispenser. Pull on the wire connectors using a pair of pliers to remove the old solenoid wires and the sensor wire.
Remove the screws from the soap dispenser assembly. Pull the old dispenser out.
Place the new soap dispenser into the unit in the same orientation as the old one. Plug in the wires as before.
Replace the door. Turn on the power to the dishwasher and test the unit.