First, KLF4 ablation dramatically reduced melanoma adaption to ER stress and inhibited cell metastasis in vitro and in vivo. Here, KLF4 is linked to melanoma.