get on one's good side

[get on one's good side] {v. phr.} To gain the favor of someone;flatter or please another.

A clever lobbyist knows how to get onthe good side of both the House of Representatives and the Senate.