Creating Generator for License automation generation
The generator helps you predefined some configuration to allowing you to bulk license generation and selling your design sets with WooCommerce or Easy Digital Downloads without manually creating the license for each purchase.
This documentation will walk you through creating a generator for license automation generation.
Creating a generator
Navigate to the Asura menu on the sidebar of your WordPress admin dashboard.

Go to the “Generators” page on your dashboard sidebar. Click the Add New button. A new form will show up, and please fill in all required fields.
Name: fill the name field with anything that describes the generator usage or purpose and easily distinguished it from another generator. E.g., you can fill it with “My WooCommerce – Wedding design set."
# of chunks: fill in the # of chunks field. A higher number of chunks will generate a longer license key, which will produce a higher chance of creating a unique license key.
Chunk length: fill in the chunk length field. A longer chunk will generate a longer license key, which will produce a higher chance of creating a unique license key.
Character map: fill the character map field with a string. The best practice is alphanumeric characters. The generated license key will use this character map to produce random keys. A longer set of characters will produce a higher chance of creating a unique key, and a number of the license key can be generated.
Expire in (days): If you sell your design set as a subscription base, you can fill the expire in (days) field with the subscription’s duration. Each generated license key will have an expiration time that will be calculated when the license is generated. If you sell your design set in a lifetime deal scheme, you can leave the field blank.
Max Activation: You can restrict the number of client sites that can use your design sets per license by filling in the maximum activation field. Leave it blank if you allow unlimited license activation.
Separator: if you wish to separate each chunk, fill in the separator field. The common separator is - (hyphen).
Prefix: if you wish to prefix your license, fill in the prefix with a string (the best practice is alphanumeric characters and your agency name) and a separator at the end of the string. E.g., “THELOST-”.
Suffix: if you wish to suffix your license, fill in the suffix with a string (the best practice is alphanumeric characters and your product name) and a separator at the beginning of the string. E.g., “-ASURA”.
Terms: choose the design sets assigned to the license that will be generated.
Then click the Save button.

🎉 Congratulations, the new generator was created successfully.

Learn by watching a brand new screencast on YouTube!