This study provides a new understanding of the critical underlying mechanism of ATF4 leading to the proliferation, invasion, and migration of gastric cancer cells through transcriptionally activating SHH. Here, ATF4 is linked to gastric cancer.