if its a factory o2 sensor then lambda is white, +12v is red and black is ground.
Black hook up to a ground.
Red connects to pin 102 - EAI control solenoid output - Orange Black
White connects to pin 19 - Lambda - White
Pin 102 is connected to the ignition switch so its switched +12v with IGN
edit: youll need this too