You can earn Cog suits at all four of the HQs in Toontown, though each requires a different task.
Sellbot HQ: defeat the Sellbot Factory 10 times.
Cashbot HQ: complete the Toontask you receive in Dollar Doodles (DDL).
The other two HQs also require you to finish specific Toontasks.
Work through those and you'll be sporting your Cog suit in no time. Have fun!