Entering cheats in SPORE is straightforward. During gameplay, press Ctrl+Shift+C to open the cheat box. Type "help" (without the quotation marks) and you'll see a list of most, if not all, the available cheat codes and commands.
A word of warning: using cheats in SPORE will lock you out of earning certain achievements. Interestingly, there's even an achievement in the Space Stage specifically for cheating, so it's not entirely without its rewards.