the key is embedded in the BIOS. the old fashioned product keys won't work.
you need to do an UPGRADE install over 8.1 first. this registers the device as a W10 authorized device with Microsoft. After that, if you really want to do a clean install from USB you can do so and "skip this step". you can NOT do a clean install without upgrading.