How can I successfully add augmented reality to my online store?

i’ve tried adding glb models to my product but it always fails, the model can’t be validated, is there like extra steps i should do? can’t find good tutorials and the documentation isn’t clear at all, thanks.