you'll need two wiring harnesses.. I had a heck of a time finding one of them since most places don't sell kenwood anymore.
One will be kenwood to plug.. the other will be from mazda to plug.. then you plug the 2 ends together. No cutting, crimping, wiring needed. It was really easy after I found the harnesses. I can get the numbers of them when I get home if you want..