If you bought a used physical copy, the retail code might already be linked to another user's Steam or Relic account. In these cases, the physical disc is essentially a collector's item, and a new digital key will be required. Conclusion
: For online purchases outside of Steam, the key is typically included in your emailed receipt. How to Use the Retail Code If you bought a used physical copy, the