Can I take melatonin in keto?

I just recently started keto 3 days ago and I take melatonin everynight because I have difficulties sleeping. But I read the back of it and says Contains: Wheat and Soy. And other ingredients but it's too long but I'll put it in because I have no idea wtf these are. Xylitol, Cellulose Gum, Soy... show more I just recently started keto 3 days ago and I take melatonin everynight because I have difficulties sleeping.
But I read the back of it and says Contains: Wheat and Soy.

And other ingredients but it's too long but I'll put it in because I have no idea wtf these are.

Xylitol, Cellulose Gum, Soy Pollysaccharides, Maltodextrin, Dextrose, Crospovidone, Modified Food Starch, Silicon Dioxide, Malic Acid, Natural Flavor, Stearic Acid, Beet Root Extract, Magnesium Stearate, Citric Acid.

Please and Thank You~! <3 <3 ; w ; huhuhu