You don't, pay someone who knows what they're doing. L
follow the instructions given with the washer or get a plumber (just ask him to pull his pants up)
Instead of writing it all out here again, try this. If that doesn't fill it all in google "how to install a dishwasher" and lots of links come up even videos on youtube.
Just like a washing machine! They usually need (electric) mains, cold water in, waste water out, and sometimes hot water in too.