Head into the Sellbot Factory, the Mint or the Golf Course — the latter two require membership. Clear roughly ten to fifteen of those buildings and you will earn a cog suit.
With the suit equipped, you can enter the "cells" and take on the boss. That fight is brutal. You will want level 6 gags and a full elevator of about eight toons with strong point totals to stand a chance.
Win, and your cog level is upgraded — then you start the whole process over for the next rank. Tedious on paper, genuinely fun in practice.