Hmmm, where to put it? The closer to the sink the better; there’s less plumbing, and dish clean-up is easier, since you can rinse and load in one movement. Make sure there’s enough room in front of the dishwasher to open the door (at least two feet), and avoid placing it directly opposite or kitty corner to a stove, fridge, cabinet or drawer, so all doors have their own clearance.
If you have an exposed side, cover it with plywood to match your cabinets, or a side panel available from the dishwasher manufacturer.
Rough in the opening to manufacturer’s specs, which should also tell you where you can run wires, hoses and pipes without interfering with moving parts like automatic valves.
Drainage: Loop the rubber drain hose up behind and above the sink (preferably with an air gap) to prevent a clogged sink from allowing overflow to siphon back into the dishwasher. Connect this to a dishwasher waste fitting, installed above the trap.
Supply: Tap into your hot water line by installing a tee. Then, install a shutoff valve with a threaded outlet to fit a compression fitting the size of the dishwasher’s supply tubing (usually 3/8″ flexible copper or polybutylene).
Dishwashers should normally be on their own 20-amp circuit, and if the unit has a standard household cord, make sure it’s plugged into an outlet on a single circuit.
With everything hooked up, slide the dishwasher into position, and secure it to the countertop with screws and the floor with lag bolts.