There is no guaranteed way to get the shiny version of Slugma, like every other shiny thing in the game. There will be events related to certain Pokemon that guarantee a shiny edition, but they are few and far between.