When you buy Warcraft III, the CD key is usually printed on the package or disc holder. Enter that code when the game asks for it during installation.