To apply an iHerb code, you need to add the items to your shopping cart. Once you have done that, you will see a "Promo Code" field. Paste the code into this field and press the "Apply" button to receive the discount. The order summary will be updated with the discounted price. After that, you can proceed to checkout to place your order.