In Grand Ages: Rome, cheat codes are typed into the in-game chat box while a mission is running. There is no separate console to open.
The effect applies immediately to the current session, which means codes generally do not carry over when you load a different save. If something does not appear to work, check that the mission is actually running rather than paused at a menu, and that you typed the code exactly as listed.
Cheating in a single-player city builder costs you nothing but the challenge. It is worth deciding in advance whether you want to build a functioning economy yourself, because that is genuinely the interesting part of the game — the resource chains and settlement layout are where the design work went.