Taken together, these data suggest that KLF4 plays an important role in regulating melanoma resistance to ER stress and facilitating cell metastasis. Here, KLF4 is linked to melanoma.