Click on the top left of the main Avast! panel (arrow)>Settings>About Avast! tab.
You should get the licence registration panel link - once you have got a registration key by e-mail (best to download latest version), you copy and paste it into the panel and OK.
By the way make sure you indicate when registering that it's for personal use, otherwise you won't be sent a key.