If you get "Invalid activation key," check for trailing spaces, confusing zeros vs. letter O, or that you are using a key for your exact version (e.g., Stata 17 key won't activate Stata 18).
Note: Keep this document secure. If you lose your activation codes, you will need to contact your institutional IT department or StataCorp support with proof of purchase to recover them. Step-by-Step Guide to Activating Stata