ingratiate (verb) – to establish oneself in another’s favor or good graces; to flatter
BREAKDOWN: IN- (in) + GRAT- (favor) + -ATE (to make)
— ingratiating means attempting to flatter oneself into another’s favor
This word is built on the root GRAT-, which means thanks, favor, or pleasing.
Common GRAT- words include include agree, grateful, gratitude, greet, and greeting.
More esoteric GRAT- words include gratuitous.