Hi Nicolas
if you can see the LED built into the proximity switch
just connect the battery to the Blue & Brown wires and insulate the Black wire to avoid contact with the positive supply
for a remote indicator how about this for a simple tester -
you can use either a LED plus 2200 ohm resistor
or
a ready made "12V LED" with its built in resistor
John