Probably the simplest, easiest, and cheapest method is to put a staple where you want to attach the wire(s) to the wood (leave a little bit of the staple sticking up) and that gives you a point to attach the wires to the staple with a wire tie. That's how it was done from the factory in my Dynamo cabinets.