I usually attach the end that goes on the door first and then push the other end up onto the bottom mount. If you have a slotted mount with a locking nut make sure it is loose and the door is extended as much as possible, this will result in less distance to collapse the strut.
Simple answer >>> Brut Force