to say nice things to sb so that they will help you or give you sth
butter sb up
Definitions from the Oxford Advanced Learner's Dictionary, 9th edition