Safe to use Epsom Salt?

Jonna • Wife & first time mommy❤️
Just wanting to know if it's safe to soak in pure Epsom Salt while pregnant? My back is aching and I really want to soak but I'm not sure I should while pregnant. Let me know please😊