I'm going to have to say that if you aren't sure how to wire the switch up that you should ask someone to show you. You're dealing with electricity and could hurt yourself pretty good. All that aside, remove the coffee maker switch, use a GFCI outlet, and then wire the element and dimmer switch...