How do I add Root Motion to my character?

Hi, I have my character working with all his animations already. But it doesn’t have the root bone. How can I add it to my character preserving the animations?