Most dishwashers are hardwired, though a not insignificant minority use regular 120-volt plugs. If your dishwasher uses a plug, then you will need a nearby outlet under the cabinets.