I am working on a hobby project which will have a eTape Liquid Level sensor connected to an Arduino controller. Since it is highly inconvenient to attach the sensor directly to the board, I'm trying to find the best way to connect it via an extension wire. So far, I've been considering the 4-pin JST SM Receptacle Cable. The sensor comes with a small connector . What would be the best (i.e. clean and safe) way to attach this connector to the wire and have all wires isolated?
Alternatively, is there a better way to indirectly attach such sensors to a board?