Skip Navigation
Show nav
Dev Center
  • Get Started
  • Documentation
  • Changelog
  • Search
  • Get Started
    • Node.js
    • Ruby on Rails
    • Ruby
    • Python
    • Java
    • PHP
    • Go
    • Scala
    • Clojure
    • .NET
  • Documentation
  • Changelog
  • More
    Additional Resources
    • Home
    • Elements
    • Products
    • Pricing
    • Careers
    • Help
    • Status
    • Events
    • Podcasts
    • Compliance Center
    Heroku Blog

    Heroku Blog

    Find out what's new with Heroku on our blog.

    Visit Blog
  • Log inorSign up
Hide categories

Categories

  • Heroku Architecture
    • Compute (Dynos)
      • Dyno Management
      • Dyno Concepts
      • Dyno Behavior
      • Dyno Reference
      • Dyno Troubleshooting
    • Stacks (operating system images)
    • Networking & DNS
    • Platform Policies
    • Platform Principles
  • Developer Tools
    • Command Line
    • Heroku VS Code Extension
  • Deployment
    • Deploying with Git
    • Deploying with Docker
    • Deployment Integrations
  • Continuous Delivery & Integration (Heroku Flow)
    • Continuous Integration
  • Language Support
    • Node.js
      • Troubleshooting Node.js Apps
      • Working with Node.js
      • Node.js Behavior in Heroku
    • Ruby
      • Rails Support
      • Working with Bundler
      • Working with Ruby
      • Ruby Behavior in Heroku
      • Troubleshooting Ruby Apps
    • Python
      • Working with Python
      • Background Jobs in Python
      • Python Behavior in Heroku
      • Working with Django
    • Java
      • Java Behavior in Heroku
      • Working with Java
      • Working with Maven
      • Working with Spring Boot
      • Troubleshooting Java Apps
    • PHP
      • PHP Behavior in Heroku
      • Working with PHP
    • Go
      • Go Dependency Management
    • Scala
    • Clojure
    • .NET
      • Working with .NET
  • Databases & Data Management
    • Heroku Postgres
      • Postgres Basics
      • Postgres Getting Started
      • Postgres Performance
      • Postgres Data Transfer & Preservation
      • Postgres Availability
      • Postgres Special Topics
      • Migrating to Heroku Postgres
    • Heroku Key-Value Store
    • Apache Kafka on Heroku
    • Other Data Stores
  • AI
    • Vector Database
    • Working with AI
    • Heroku Inference
      • AI Models
      • Inference Essentials
      • Inference API
      • Quick Start Guides
    • Model Context Protocol
  • Monitoring & Metrics
    • Logging
  • App Performance
  • Add-ons
    • All Add-ons
  • Collaboration
  • Security
    • App Security
    • Identities & Authentication
      • Single Sign-on (SSO)
    • Private Spaces
      • Infrastructure Networking
    • Compliance
  • Heroku Enterprise
    • Enterprise Accounts
    • Enterprise Teams
    • Heroku Connect (Salesforce sync)
      • Heroku Connect Administration
      • Heroku Connect Reference
      • Heroku Connect Troubleshooting
  • Patterns & Best Practices
  • Extending Heroku
    • Platform API
    • App Webhooks
    • Heroku Labs
    • Building Add-ons
      • Add-on Development Tasks
      • Add-on APIs
      • Add-on Guidelines & Requirements
    • Building CLI Plugins
    • Developing Buildpacks
    • Dev Center
  • Accounts & Billing
  • Troubleshooting & Support
  • Integrating with Salesforce
  • Add-ons
  • All Add-ons
  • Knapsack Pro
Knapsack Pro

This add-on is operated by Knapsack Sp. z o.o.

Run your 1-hour test suite in 2 minutes with optimal parallelization.

Knapsack Pro

Last updated January 26, 2024

Table of Contents

  • Provisioning the add-on
  • Knapsack Pro dashboard
  • Plans
  • Attaching the add-on to another app
  • Support
  • Removing the add-on

Knapsack Pro wraps your current test runner(s) and works with your existing CI infrastructure to parallelize tests optimally:

  • Dynamically splits your tests based on up-to-date test execution data
  • Is designed from the ground up for CI and supports all of them
  • Tracks your CI builds to detect bottlenecks
  • Does not have access to your source code and collects minimal test data (with opt-in encryption)
  • Enables you to export historical metrics about your CI builds
  • Supports out-of-the-box any Ruby test runners, Cypress, Jest (and provides both SDK and API to integrate with any other language)
  • Replaces local dependencies like Redis with an API and runs your tests regardless of network problems

Provisioning the add-on

Knapsack Pro can be attached to a Heroku application using the Heroku CLI:

$ heroku addons:create knapsack-pro --app YOUR_HEROKU_APP_NAME

Once Knapsack Pro has been added, sign into the Knapsack Pro dashboard to get an API token for your test suite, and find the installation guide for your test runner and CI provider.

Knapsack Pro dashboard

The Knapsack Pro dashboard can be accessed via the CLI:

$ heroku addons:open knapsack-pro --app YOUR_HEROKU_APP_NAME

or by visiting the Heroku dashboard, selecting the application, and then selecting Knapsack Pro from the add-ons menu.

Plans

The list of all plans can be found here.

Migrating between plans

Plans migration is easy and instant: it requires no code change and does not affect your existing collected test timing data.

You can use the command below to migrate to a new plan:

# Upgrade to a parallel-10 plan
$ heroku addons:upgrade knapsack-pro:parallel-10 --app YOUR_HEROKU_APP_NAME

Attaching the add-on to another app

The Knapsack Pro add-on is shareable across Heroku apps. This can be useful, for instance, when you have staging and production Heroku apps.

You can provision the Knapsack Pro add-on for the production application and later attach it to the staging application, so all developers can easily access the add-on from the Heroku dashboard.

Remember to generate a new API token for each project in the Knapsack Pro dashboard.

# Copy the add-on name for Knapsack Pro
$ heroku addons --app YOUR_HEROKU_APP_NAME

# Replace knapsack-pro-production-infinite-32142 with the name copied above
$ heroku addons:attach knapsack-pro-production-infinite-32142 --app YOUR_HEROKU_APP_NAME

Support

All Knapsack Pro Heroku add-on support and runtime issues should be submitted via the Heroku Support channels.

Also, you can send us your suggestions and feedback at knapsackpro.com.

Removing the add-on

Knapsack Pro can be removed using the Heroku CLI.

Removing the add-on will mark your organization account in Knapsack Pro as de-provisioned (you will not be able to use the API tokens to split tests). Within 30 days your collected test timing data will be destroyed.

$ heroku addons:destroy knapsack-pro --app YOUR_HEROKU_APP_NAME

Keep reading

  • All Add-ons

Feedback

Log in to submit feedback.

Zara 4 LaunchPad

Information & Support

  • Getting Started
  • Documentation
  • Changelog
  • Compliance Center
  • Training & Education
  • Blog
  • Support Channels
  • Status

Language Reference

  • Node.js
  • Ruby
  • Java
  • PHP
  • Python
  • Go
  • Scala
  • Clojure
  • .NET

Other Resources

  • Careers
  • Elements
  • Products
  • Pricing
  • RSS
    • Dev Center Articles
    • Dev Center Changelog
    • Heroku Blog
    • Heroku News Blog
    • Heroku Engineering Blog
  • Twitter
    • Dev Center Articles
    • Dev Center Changelog
    • Heroku
    • Heroku Status
  • Github
  • LinkedIn
  • © 2025 Salesforce, Inc. All rights reserved. Various trademarks held by their respective owners. Salesforce Tower, 415 Mission Street, 3rd Floor, San Francisco, CA 94105, United States
  • heroku.com
  • Legal
  • Terms of Service
  • Privacy Information
  • Responsible Disclosure
  • Trust
  • Contact
  • Cookie Preferences
  • Your Privacy Choices