Installation on Heroku

Protect your applications on Heroku with Sqreen

The Sqreen Python agent and Heroku

Heroku is a PaaS (Platform as a Service) hosting web applications. Sqreen supports Heroku for Python applications.

Refer to our Heroku page for more information.

Installation for Heroku apps

First, add Sqreen in your requirements.txt file:


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' requirements.txt
git push heroku master

Then, add a SQREEN_TOKEN environment variable with the Sqreen token as value. 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: