The wires go into the car body at the top of the hatch opening on the passenger side. Right up in the corner of the opening. I pulled the rubber boot loose and it looks like the wires go towards the front of the car, but I can only see about an inch or two of the wires.
The hatch harness plugs in near the right seat belt, in the “B” pillar.
You will need to pull the trim off the “B” pillar. This includes taking the upper seat belt bolt out and letting it hang. Then the trim. The harness goes above the quarter glass. You will need to drop the upper part of the quarter trim to drop the headliner to access the ground bolt.
Unbolt the hatch from the hinges, not the hinges from the body.
I appreciate the info. The hatch is now in, but I need to attach the wires and put the trim back on. Replacing the hatch brings up a new question. I didn't really examine how well the original hatch fit before I took it off. The replacement hatch doesn't really seal as well as I would have thought it should. There is about a 1/8" gap between the leading edge of the rubber and the roof edge of the hatch opening. And down the sides the rubber doesn't really rest on the hatch opening edge. I is floating above the body work by about 1/16" to 1/8". Could some of you please look at your cars and see how it is on yours.
I shifted the hatch around a little as I tightened the bolts to get it into position. I really don't see how it can be adjusted to fix this.