Put the water, xylitol, cocoa and salt in the saucepan and heat on low to medium temperature.Once it begin to simmer, lower heat.Cook until the xylitol is completely dissolved and then for 1-2 minutes more so the syrup thickens (if you aren’t using xanthan gum, cook a little bit longer, for about 5 minutes).
Remove from heat and let it cool down at room temperature.
Add the optional vanilla and/or xanthan gum.If using xanthan gum, blend everything together.
Notes
Feel free to switch the xylitol for allulose or for granulated sugar.
Avoid stirring the xylitol as it’s dissolving: stirring may cause some crystals to stick on the sides and not dissolve properly.