On the Ender 6 the filament sensor wires are all black. The 5V line is usually the one that has the "DET" label on it. If yours is on a different wire, use the plug locking tabs as a reference. Below is a picture of it connected on our Ender 6 as well as a video where we installed this board in our own machine.