Induction

I will be getting induced in 2 weeks. Am i aloud to eat during the induction if i'm not in active labor? Or if i can't eat, can i have candy to suck on?