Bow at some places, like when you get into and out, wash your hands and mouth at the water place with bamboo ladle.
We usually bow twice , two craps and one bow at a shrine to worship, and usually bow once, put your hands together, without making any noise not like at a shrine, and pray what you want, then one bow at a temple. While you are worshiping,, sometimes small coins or money you can offer in the box,these manners you can see around and do the same things.
Shrine is the place to worship God, so don't walk the middle of the way, because that area is for God to walk.
Temple is the place where you worship Buddha.