This lesson introduces you to the process of how building code is used in the USA to develop ground motions for seismic building design. In particular, I go over the risk-targeted and site-specific geotechnical changes that were introduced in ASCE 7-16 and IBC 2018. Special thanks to Dr. Zia Zafir from Kleinfelder (in Sacramento) for his flowchart.