I think you missed something important. First add a header to the page.
This is can either be done by clicking blue “+ Header” button when you place your mouse over the place where header goes or enabling header from Format → Page → Header. Then place the cursor inside the header and pick Insert → Fields → Page number. Voila!