In a small mixing bowl, whisk together 1/4 cup of the water along with the xanthan gum. Let it sit for several minutes, for it to thicken.
In a small saucepan, add the rest of the water, salt, and granulated sweetener. On low heat, bring it to a simmer. Once simmering, remove from the heat.
Add the xanthan gum mixed water and whisk into the warm liquid. Add the flavor extracts until combined. Let the syrup cool completely, and it will continue to thicken.
Notes
Sweetener: Allulose or keto brown sugar can be used. I used keto brown sugar, which gave the dish its gorgeous amber color. Leftovers: Keep at room temperature away from direct light for up to 4 weeks or in the fridge for 6 months.