How can I use substance painter to create material variants for studio?

well as the title reads I was wondering how to use substance painter to create material variants, if anyone can reply with a youtube tutorial or describe it would mean a lot, thanks!