Easy .., just look under your front brake master cylinder you will see a black plastic switch held on with one small cross head screw.
Unscrew it , pull your brake lever in a little then pull it down , there will be two wires attached , pull them off then reassemble using your new switch.