On the third step of checkout, hover your mouse over the “Cart” icon and click the button that says “Have a gift or promo code?.” Enter your promo or referral code in the field and click “Apply” to add it to your order. If the code is valid, you will see the updated price reflected immediately.
If you have a gift code, you can apply it from your account settings under Store Credit.