Sentence:  A smart , shrewd and ambitious young man , well connected , and with a knack for <WSD>getting</WSD> in the good graces of important people , he was bound to go far . 
Meaning of the word marked with <WSD> tags:  receive a specified treatment (abstract)