wiring for flush mounts is easy, remember this on any bike.
ground wire
positive wire
running wire **(should be blueish)
most come with two wires, positive, negitive, hook them up and leave the running wire taped up.
** I just pasted this and added the one edit from the YZF forums, should be the same for your R6.