The wai that comes with it
The greeting usually comes with a wai — palms together at chest height, a small bow of the head. The more senior or respected the person, the higher the hands and the deeper the bow.
As a visitor nobody expects you to get it exactly right. Returning a wai with a smile reads as polite and is plenty.
One thing worth knowing: you do not need to return a wai from a child, a server or anyone in a service role — a nod and a smile is the norm.