If you’re a complete beginner regarding installations of these kinds of machines, the best way is to hire a plumber to help you out.
If there is already a dishwasher installed that is being changed, it’s, of course, easier than installing a dishwasher from scratch because all the wires and water are already correctly installed. In that case, just pull out the old machine and disconnect it, fit the drain hose, check that the drip tray is installed, connect the water inlet, connect the electricity, and insert the new machine back in place of the old one.
In other cases, you will need to hire a plumber. In a rented property, you should check with your landlord first.