Marketing Tools >Promotions> Select the Create New Promotion tab and fill the required fields: (Name, Description, Promo Code, Issue to, Redemption Limit, etc)
Choose "Multiple and random Promo-codes".
Enter a number for "No. of codes generated".
Provide the desired date range and discount criteria.