Diplomacy is never an easy business. World leaders must constantly learn the ins and out of other cultures in order to communicate effectively, and especially so that they won’t accidentally insult one another during diplomatic visits. But Saudi Arabia’s King Salman bin Abdulaziz knows exactly how to deal with Donald Trump, using a tactic that’s been employed by leaders of various countries ever since the businessman took office: flattery.

King Salman greeted Trump at the airport Sunday, per Politico, in a ceremony accompanied by a military flyover, cannons, an elaborate cardamom coffee service, and the presentation of a gold medal. Though Barack Obama received the same medal when he traveled to Saudi Arabia in 2009, this level of adulation was not extended to the last American president during his visit—and is an indicator that Salman has been well schooled in the intricacies of dealing with Trump.

The New York Times recently gathered a checklist of dos and don’ts that world leaders have been using during their meetings with 45. The gist: stay concise, and give him lots of compliments.

Keep it short—no 30-minute monologue for a 30-second attention span. Do not assume he knows the history of the country or its major points of contention. Compliment him on his Electoral College victory. Contrast him favorably with President Barack Obama. Do not get hung up on whatever was said during the campaign. Stay in regular touch. Do not go in with a shopping list but bring some sort of deal he can call a victory.

Clearly, world leaders have gotten the memo: during her January visit, British Prime Minister Theresa May called Trump’s election win “stunning.” Israel’s Prime Minister Benjamin Netanyahu name-dropped Trump’s book The Art of the Deal. Japanese Prime Minister Shinzo Abe complimented his golf swing.

On the other hand, Trump’s efforts at statecraft on his first day in Saudi Arabia were not quite as overt. Ivanka and Melania, who accompanied the president on his trip, opted not to wear headscarves—despite Trump’s own deep knowledge of Middle Eastern manners.

But he did thank King Salman for the medal by dipping what appeared to be a tiny curtsey.