Products > Settings > Vouchers > Actions > Codes > Add codes (copy and paste list or individually) > Save Changes