Inductive proximity sensor selection

I'm working on a new project that will require some proximity sensors and I have a question about the voltage of the sensor. I'm using a Due to read the signals and want to make sure I understand the power requirements so as not to affect the Due. The sensor operates on 6 - 36V input and the output signal is 300mA per the ad I'm looking at. Powering it at the higher voltage than what the Due can provide is not a problem as I will have separate power supply for it but my confusion comes when the output signal from the sensor goes back to the Due. Do I concern myself with the higher supply voltage getting back to the Due? Will I need a level shifter or voltage divider to drop the voltage on the output signal to protect the Due? https://www.amazon.com/gp/product/B07NYD3CPK/ref=ox_sc_act_title_1?smid=AGOSLUO29ZUJ2&th=1

If the sensor output is open collector PNP, the output voltage will be near the same as the supply voltage and you WILL need a voltage divider to drop it to the 2.8 to 3V range. What is the sensor's supply voltage? If you haven't bought the sensor yet, choose the NPN version, no level shifting required, use :

pinMode(inPin, INPUT_PULLUP);

in setup(), the pin will will go from HIGH to LOW when the sensor is activated.

JCA34F:
If the sensor output is open collector PNP, the output voltage will be near the same as the supply voltage and you WILL need a voltage divider to drop it to the 2.8 to 3V range. What is the sensor’s supply voltage?
If you haven’t bought the sensor yet, choose the NPN version, no level shifting required, use :

pinMode(inPin, INPUT_PULLUP);

in setup(), the pin will will go from HIGH to LOW when the sensor is activated.

I haven’t bought the sensor, it comes in NPN and PNP, so that is why I’m asking if I have to add components to use. The supply voltage for both sensors is rated at 6v to 36V, I have a large power supply for the project ,48V 11A, and I’m using a buck converter to drop that to 12V to power some fans and thought I would power the sensors off of that.

Get the NPN version and you don't need any extra components - just connect Arduino input to sensor output and connect grounds together. Easiest. I love NPN aka open collector aka open drain outputs, they are the best for interfacing!