WARNING: This page is about a different car, the 2004 Cadillac CTS. However, it is still accessible from the selected car via links, so may be relevant.
Fig 1: Removing & Installing Front Power Recliner Sensor
Courtesy of GENERAL MOTORS CORP.
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.