Is the ingredient Xanthan gum that are in foods and protein shakes safe to consume? Thanks

IN general yes. In general xanthan gum is safe, however, different people react to food additives differently. Avoid processed foods as much as you can and eat real, whole foods to avoid additives. For example, eat meat, cheese, eggs, beans, or nuts instead of drinking protein shakes.