The first thing you will need is a dishwasher drain line adapter. Typically this is installed under the kitchen sink. The dishwasher drain line will need to discharge in to a p-trap
Read more:
How to Install a Drain for a Dishwasher | Plumbing How To