actor Snap to position

Hello friends, I’m looking for a way to make it so that when the actor is created it automatically aligns with the ground, for example, if there is a curve in a mountain it will rotate, I don’t know if I explain myself, making the static mesh and the actor not go through the ground, here are some photos