The best way to attach a dishwasher is to have mounting brackets on the side that attach to the base cabinets. For older models, we can epoxy the top mount bracket to the bottom of the granite or silicone a small strip of wood under the counter. Once dry, the dishwasher can be screwed into the wood. You may also use dishwasher straps and attach them to the back wall or to the cabinets. This option will make the dishwasher more difficult to service.