How to apply earthquake loads on foundation? If its applied as prescribed displacement what procedure do we need to follow? And what are the boundary conditions to be set?

I applied as prescribed displacement with x direction prescribed other two fixed and gave ux=0.5m since it is bed rock and i dont know what are boundary conditions to be given in model explorer under deformations and dynamics.