Before March 4, 2022 redeem your product code on GOG.com.
Copy/Paste your code into the entry box and click "Continue" Stellaris will be automatically added to your account If you do not have a GOG.com account, follow the Sign-up instructions to create an account and receive your content.