Installation on Heroku

Protect your applications on Heroku with Sqreen


The Sqreen Ruby agent and Heroku

Heroku is a PaaS (Platform as a Service) hosting web applications.

Sqreen supports Heroku for Rails applications. With Sqreen, you can protect your Rails apps running on Heroku.

See our Heroku page for more information.

Installation for Heroku apps

After deploying your Ruby app on Heroku, install the Sqreen agent by adding the gem to the Gemfile:

gem 'sqreen'

Then, install the gem from your application root directory:

bundle install

From your terminal, in your application root directory commit your changes and push them to Heroku to trigger the deploy of your changes:

git commit -m 'Add Sqreen to my application' Gemfile Gemfile.lock
git push heroku master

Then add a SQREEN_TOKEN environment variable with your Sqreen tokens.

For more information on this process, refer to the Heroku documentation.

More information on Heroku

Learn more about using Sqreen with Heroku on the Heroku Marketplace: