this was the hardest part of the dismantling for me. it's not super obvious in the pictures that there is a hinge and the metal piece, attached with tape, swings over and towards the DC-in.
getting the cable back in was leaps and bounds more difficult than this entire replacement job! be very very careful and note that it goes alllll the way in. i bent the ribbon like crazy, but the keyboard still seems to work fine!