Amazon announced last week that it has entered into an agreement with JetBlue to deliver access to Amazon Instant Video and Prime Music to travelers while they’re flying high above the ground.

So long as they have an Amazon Prime membership, travelers will be able to use JetBlue’s Fly-Fi wireless for free access to “tens of thousands of movies and TV episodes, including exclusive Amazon Original series” shows. Amazon said customers will also be able to access more than one million tunes from Amazon Prime Music.

If you don’t have Amazon Prime, you’ll still be able to access music and video content from Amazon Instant Video and Prime Music, but you’ll be required to “rent or purchase” whatever you want to watch or listen to. The good news? Purchases will earn you JetBlue points. The airline said Amazon’s library will be built into its Fly-Fi Hub, where customers can access the content from their laptops, Fire devices, iPhones, iPads, and Android phones and tablets.

JetBlue said the technology will be built into its Airbus A321 and Airbus A320 aircraft later this year, and will be deployed to its Embraer E190 aircraft next year.