WARNING: This page is about a different car, the 2003 Cadillac CTS. However, it is still accessible from the selected car via links, so may be relevant.
Install the sensor (1) in the motor and rotate it clockwise until it locks in to place.
Connect the electrical connector (2) to the sensor.