To attach a dishwasher under the countertop, use epoxy or silicone adhesive to secure mounting brackets to the underside of the stone, since you can’t screw directly into granite. Alternatively, you can side-mount the dishwasher to the adjacent cabinets if they’re available and compatible.