The valve is a chunk of metal with elastomer seals, no electronics, unless you mean this kind of valve:
There's nothing on a 'valve' to connect wires to.
A valve positioner or I/P (eye-to-pea) transducer, on the other hand, has (typically) a 4-20mA analog input.
4-20mA is a DC current, so it has polarity, (+) and (-).
Wire the analog output (+) to the positioner's (+).
Wire the analog output (-) to the positioner's (-).
Don't connect to an auxiliary switch or retransmitting analog output, connect to the positioner's analog input.
Positioners need to be configured for function (rotating or linear); action, direct or reverse; zero and span; characterization, linear or equal percentage; and a host of other factors. Smart positioners can self learn.
The plumbing (getting the right port connected where) determines how the valve drives and what happens when the air supply fails. Pay attention to that as well the electrical.
Have fun.