You’ve just received an iTunes gift card or promo code and need to redeem it via your Mac—what’s next? Don’t know what to do? There’s a simple process behind getting your credit or free app.

All you need is your Mac computer, your code, or a gift card you need to load onto your account, and you can get started from there. You’ll have some extra cash to spend or a new app or game in no time. Just follow these straightforward steps.

First, open up the App Store. Click on the App Store icon in the Finder, the Task Bar at the bottom of the screen, or by heading into the Applications folder. Either method will work.

Click on the “Featured” section while in the Mac App Store, marked by the star on the menu at the top.¬†Choose “Redeem,” which is under the “Quick Links” section. You should see it on the far right of the screen.

You will see a prompt to enter your Apple ID and password. Enter this information, and then click “Sign In.”

Get your iTunes gift card or promotional code ready. You can scan the code on the back of your physical iTunes gift card, or you can enter the code manually. To use the camera instead, click the “Use Camera” button. Hold your gift card up to the camera on your Mac and the code will automatically be captured.¬†Note that if you have a promo code, such as one for a free game or app, you have to enter it manually; you can’t use the camera for those.

Whichever way you use, click “Redeem” when you’re done.

You should then see a prompt that confirms you’ve successfully redeemed your code. It will automatically begin downloading, based on your preferences, or add funding to your App Store account.