$ heroku addons:add zencoderThen add the Zencoder gem to your Gemfile:
gem 'zencoder'When you install the add-on it will automatically store your API key in the Heroku config variable called ZENCODER_API_KEY. The Zencoder gem is pre-configured to look for that config variable. You can read slightly more detailed instructions at http://zencoder.com/docs/heroku-add-on/. That's it. Heroku handles billing and account management, our Ruby gem makes for easy integration, and Zencoder gives you the highest performance video transcoding available today. ** The add-on is currently in private beta, but the Zencoder service is fully production-ready. In order to use the add-on you either need to be part of the Heroku beta program or contact us directly to gain access. All we ask is that you provide feedback on the Heroku-based integration process.