The ‘Software Licensing’ add-on allows you to generate license keys automatically when a product is purchased.
Users’ license keys appear under ‘License Keys’ in the Account Management block.

Setup
See the Generate license keys how-to for a walkthrough of the setup process..