Licenses are attached to your account. You can find them and download them in the Licenses section of my.avast.com.
Your devices should appear in the Devices list once you register from Avast.
In the future we would like to introduce a simple way to to assign license to a device from the portal, but as of now, you have to download the license and insert it to your new installation manually.