ingratiate

Definition

To bring oneself into favor with someone through deliberate effort, often using flattery.

Example

"He tried to ingratiate himself with the boss by praising his leadership."