This is probably going to be the most useful thread for you to look through: 
        
 
         
        http://www.xt660.com/showthread.php?t=13756 
         
         You are going to have to source some connectors though (unless you're prepared to chop the bike's loom about and do some soldering!)