Open the dishwasher door. Hold the trim up to the sides of the dishwasher to determine how long they need to be. If the trim is too long, cut it to size with a utility knife.
Locate the ridge on each side of the dishwasher. Slip the trim into the ridge on the side of the dishwasher. Repeat for the other side.
Find the ridge on top of the dishwasher. Measure the trim so it’s the same width as the top of the dishwasher and cut it to size if necessary. Slip the top trim into the ridge on top of the dishwasher.