Gummy candy is one of the main snacks for children, and conventional samples with high calorie illustrate no nutritional value; therefore, the aim of present research was to develop functional product on priority. Celery (Apium graveolens) puree (25%–50%), boswellia gum (10%–20%), lemon essential oil (0.25%–0.50%), and sugar (10%–20%) in two levels were considered for vegan gummy candy production. Based on central composite design, the 30 types of gummy candies were prepared; afterward, response surface methodology was applied to optimize results determined by texture (hardness, springiness, adhesiveness, gumminess, chewiness, and elasticity characteristics), physicochemical attributes (pH, sugar content, water activity, antioxidant function, and calorie restriction), and also sensory evaluation. In general, elevated concentration of celery puree and boswellia gum‐enhanced hardness, chewiness, and also gumminess for treated products. On the other hand, higher sugar with lemon essential oil improved adhesion, springiness, and elasticity features. More boswellia gum, celery, lemon essential oil, and reduction in sugar elevated water activity and also declined pH for treated samples. The celery puree, boswellia gum, and lemon essential oil significantly enhanced antioxidant function of treated gummy candies. According to attained results, sugar had a remarkable influence on acceptability and in treated samples calorie decreased. Based on all investigated factors, optimal formulation was achieved including 25% celery puree, 20% boswellia gum, 0.450% lemon essential oil, and 13.55% sugar. Regarding the results, obtained gummy candy with high nutritional value and low calorie demonstrated the potential to produce extensively in food sector.