If you bought FoV through the
Larian Vault, you just need to log into your account again to download D2:DC. If not, email the activation code to support@larian.com. You don't really need both, but for the retail release you can either provide the registration key (possibly printed on the case under the DVD), if included, or a personalized picture of the back of the box/case (clearly showing the bar code); see below.
Divinity 2: Developer's Cut and Anthology on Steam