I know that it is in pewter city but where and how do you get one?
You dont find them in Pewter city you take the Dome Fossil to Pewter city and get it revived into Kabuto. You can find the fossil by smashing rocks in the Ruin of Alphs.
You can find the dome fossil after randomly smashing rocks in the ruins of alph. Afterwards, just bring it to pewter city museum and restore it.