Taking Magnesium and Sertraline at the same time

Is it possible to take magnesium supplements such as Magnesium Citrate or Chelated Magnesium alongside Sertraline?

I’ve been taking Magnesium Bisglycinate the whole time I’ve been on Sertraline. I haven’t noticed problems