You don’t necessarily need to use xanthan gum with almond flour, but a small amount of xanthan gum can help even out the gritty texture of almond flour and hold together baked items, especially if they are made with 100% almond flour or totally gluten free.