I"m not up to snuff on wire guage, but if you don't want to buy that regular ribbon cable you can purchase something that would work. For that short distance I mean.
Wire is expensive , so it may be smart to check prices of ribbon cable before you try buying 100' of 12guage stranded wire, you'll need the thicker wire for the DC to the motor. I have used
sprinkler wire for the sensor wiring, some actuators work with just 2 wires for the sensor, and others need 3 (sensor, 5volt and a ground). Building supply stores usually have plenty of sprinkler wire and it will be much smaller guage than the DC wires.