This question already has an answer here:
I had to clear my MacBook air as i had created an account with a password I couldn't remember, and I had an old apple ID linked to it that couldn't be logged out of unless I remembered the laptop password. So I cleared the MacBook, completely reset it up , and logged into my new, current apple ID. Now it says pages and numbers cost €19.99 ? I could probably live without these, but I had pages saved to my initial pages iCloud account.. so i really need it back.. Anyone know how I can re download these apps for free, and then will I be able to get the previous pages back? Any help much appreciated. - I also have completely updated the laptop so it has sierra, and all software is update.And I have tried logging out and logging back in in the different apple Ids . I don't think I made a computer back up.. Everything is on my initial apple Id.