in order to get someone toFollows a verb in the て-form and indicates doing something in order to receive that person's help or have them do something. The subject benefits from the action.
JA: 先生に推薦状を書いてもらうために、必要な書類を準備した。
EN: I prepared the necessary documents in order to get my teacher to write me a recommendation letter.