How to make this in solidworks?

Hi. I want to fix a gear in space but let it to rotate. In Inventor I can make assembly level axis in the center of a gear and fix axis in space. And then mate gear to it.

In Solidworks I see no "fix" option for axis. So how would you do this?

SolidworksAssemblies