How to create a Scratch Org Pool

Salesforce Scratch Orgs are designed to be isolated, self-contained environments that can be created and discarded once they are no longer needed.

  • Published 20 Jan 2024
  • 5 mins read
How to create a Scratch Org Pool
Table of contents

Hutte expert panel

Harald Mayer
Harald Mayer
Hutte CEO & Founder
Harald is the Co-Founder of Hutte, bringing his vision of no-code DevOps to life. His passion enables teams and individuals to focus on what matters most – bringing value to the users they build for.
Samantha Spiro
Samantha Spiro
Senior Content Manager & Editor-In-Chief
Samantha is Hutte's Content Manager and Chief Editor. She has over six years of experience as both a content writer and a copywriter. Bringing the written word to life is the name of her game.
Article highlights
  • The article explains that creating a Salesforce scratch org can be time-consuming due to the need for allocating server resources, deploying metadata, and provisioning dependencies.
  • Hutte offers a scratch org pool that prepares a flexible amount of ready-made scratch orgs, eliminating the waiting times associated with their creation and providing them instantly for use.
  • With Hutte, users can easily manage their environments, load data, implement features, and commit changes to Git, streamlining the development process and collaboration among team members.

Watch our demo🎬

Scratch Orgs are created using a Scratch Org definition file, which specifies the org's configuration, features, and duration. They can be used by Developers and admins to build and test customizations before deploying them to production environments.

But there are limitations to creating Scratch Orgs, which include the following:

  1. Scratch Orgs have limited storage space compared to regular Salesforce orgs. This means you may be unable to store as much data or metadata in a Scratch Org.
  2. Scratch Orgs have limited customization capability, making it challenging to develop against intricate customizations.
  3. You can only create a certain number of Scratch Orgs in a given period of time.
  4. Setting up a Scratch Org can take from a few minutes to even hours for highly complex projects, depending on the nature of the configuration and the amount of metadata of your project. This setup time can be a disadvantage if you need to create many Scratch Orgs regularly.
✂️
To address the main con of Scratch Org creation time, Hutte cuts through the time it takes to spin up a Scratch Org by having a ready-to-use Scratch Org Pool.

Hutte saves time by managing a pool of ready-to-use Scratch Orgs

If your team can take one from the pool, they do not need to wait for another Scratch Org to spin up. Hutte has a ready-to-use Scratch Org Pool that you can tap into anytime.

Taking a ready-to-use org from the pool can be accomplished on Hutte’s Web UI. Alternatively, for the Developer-minded users, from Hutte’s SFDX plugin.

We were able to create this feature as Hutte is a web-based user interface that enables you to easily leverage the benefits of Git-based development without the need for a command-line interface (CLI).

Hutte is truly one of the best tools that we use. Product owners, Salesforce solution architects, business analysts — anyone on our team can easily and visually accomplish the tasks that would otherwise take a lot of clicks, time, and coding.
Sebastian Lechner
Sebastian Lechner
Product Management Director of IPfolio

Hutte offers access to Salesforce's full capabilities, providing custom buttons on our web interface to execute complex multi-line commands, such as using our YAML push script to define the behavior of Scratch Orgs and development environments. Native SFDX can also be used, for example, to push data or metadata within the script.

The benefit of using Hutte is that there is no need to install or learn Git, as our UI has integrated recipes for Git hosting tools, such as GitHub and Azure.

Additionally, changes made on these hosting providers can be viewed in a line-by-line comparison format.

Demo it yourself

Collaborate on your Scratch Org creation

By utilizing the "New Scratch Org" button, numerous users can generate individual Scratch Orgs, which can be accessed collaboratively by the entire team.

Hutte allows you to select a Git branch from which you can create your environment and name it, consolidating all of your Scratch Orgs in one place.

🗒️
This feature lets you view a historical overview or snapshot of your projects, apps, and codebases created in Git, which is especially beneficial for teams collaborating on projects.

Without Hutte, relying solely on CLI can be challenging. However, Hutte simplifies the process of making changes to the latest state of your source, implementing new features, and shipping them to Git.

Once integrated with Hutte, Developers can load data on the Scratch Orgs dashboard, and the team can access and create a Scratch Org from the desired branch by clicking "New Scratch Orgs."

Running the code locally is no longer a concern, as Hutte's infrastructure allows for asynchronous code running without blocking your machine.

🖥️
After your Scratch Org is ready, you can log in and test it without affecting other users' data. Hutte essentially streamlines the process of managing and selecting your environments, simplifying the Scratch Org process.

Take from the pool

  1. Hutte offers a pool of pre-configured orgs that can be quickly and easily accessed without waiting. When you require an environment from the latest state of your source, you can further expedite the process by selecting a Scratch Org from the pool.
  2. To claim a pool, simply choose "Take from pool" and enter the desired pool name. Additionally, you can customize your pool by adjusting the size and duration of the pool in the "Settings" section.
  3. This functionality allows you to customize your pool according to your requirements, offering you more flexibility and control over your resources and data.

Hutte’s Jira plugin

Using Jira will create corresponding work items. Hutte's Jira plugin can then identify Scratch Orgs that match the name of your work item or issue.

As a product manager, you can leave a comment for the Developer who worked on the selected Scratch Org. This functionality encourages collaboration without compromising or overriding the Developer's work.

Spin up Hutte’s ready-made pool

Although Scratch Orgs and Scratch Org Pools are designed to be independent workspaces for exploring and testing features in isolation, working collaboratively can help resolve various challenges.

Collaboration streamlines issues, such as configuration management, data management, and managing multiple Scratch Org Pools. It also enables code sharing, dependency management, and workflow optimization.

Having access to a pre-configured pool eliminates the risk of not being able to continue with your work, which can cause unnecessary delays and production lags.

⬇️
Teaming up with others using Hutte's Scratch Org Pool enhances the development process, making it more efficient and streamlined.

Sign up for Hutte

Last updated: 23 Aug 2024