Here is a simple recipe for home made root beer.
1 cup sparkling mineral water
1 tsp. root beer extract
1 TBS. xylitol or sweetener to taste
2-3 filtered water ice cubes
Fill a glass with the water. Add the root beer extract and sweetener. Stir and add ice cubes. Let sit for a minute or two to cool.