Dr. Eggman is available from the start in Sonic & All-Stars Racing Transformed. No unlocking required—no challenges, progression, or cheats.
Simply select him on the character selection screen. He comes with his unique vehicle (the Eggmobile) and All-Star move (Death Egg Robot strike).