Skip to content

πŸš€ The Future of D2X: Implementing Salesforce Well-Architected DevOps

D2X Logo

🎯 The Vision

The Salesforce Well-Architected Framework establishes that a truly adaptable solution "evolves with the business" through resilient and composable architecture. As the framework states:

"Composable solutions adjust quickly and with greater stability. Composable architectures are built in units that operate gracefully with one another, and can be swapped in and out of service."

GitHub has built the platform capabilities needed to bring this vision to life. D2X serves as the catalyst that transforms these principles and capabilities into practical, accessible DevOps practices for every Salesforce org.

πŸ—οΈ Why GitHub-Native?

Development teams today are drowning in platforms, credentials, and complexity. As explored in our series on Securing Salesforce DevOps: Least Privilege Access Control, traditional approaches to credential management introduce significant security risks. By building directly on GitHub's platform features, we can eliminate entire categories of security and maintenance concerns while providing a more integrated, intuitive experience.

πŸ” Rethinking Security

The challenge of securely splitting GitHub Actions workflows showcases why we need a new approach to credential management. The heart of D2X's vision is bringing enterprise-grade security practices to every Salesforce org through GitHub's platform features, aligning with both the Trusted principle and the Application Lifecycle Management guidance of Well-Architected.

πŸ” Learn more about our security architecture πŸ”‘ Learn more about our credential management approach

🧩 Composable Automation

Following the Well-Architected Composable principle, we're reimagining how automation should work in the Salesforce ecosystem. As outlined in our vision for The Composable Delivery Model, we're breaking everything down into composable pieces that can be mixed and matched to suit any development pattern.

⚑ The beauty of composable automation is that it scales both up and down:

  • 🏒 Large enterprises can implement complex deployment strategies
  • πŸ“¦ ISVs can manage package development and customer deployments
  • πŸ‘₯ Small teams can start simple and grow
  • 🀝 Nonprofits get pre-built automation for common needs

πŸ› οΈ Learn more about our automation architecture πŸ“‹ Learn more about our workflow patterns

🌟 For Everyone

Whether you're a Fortune 500 company, a growing ISV, a small business, or one of the 40,000+ nonprofits running on Salesforce (who can now access all of this for free through GitHub for Nonprofits), D2X is evolving to be your perfect DevOps companion.

🀝 Let's Build Together

This democratization of Salesforce DevOps is ambitious, but it's the right path forward. By building on GitHub's platform and maintaining our commitment to open source, we can make the Well-Architected vision a reality for everyone.

Join us in the GitHub Discussions to help shape this future. Whether you're managing a single org or hundreds, your experience and needs matter in building a DevOps solution that truly works for everyone.

πŸ—ΊοΈ Explore the Vision

Previous Docs: Retained for now... Introducing D2X

D2X is an open source collection of tools and configurations to quickly launch and easily maintain Salesforce development projects on GitHub. D2X combines the best of CumulusCI, Salesforce CLI, GitHub Actions, and GitHub Codespaces. D2X projects are set up to align with the Salesforce Well-Architected principle of Adaptable (Resilient and Composable).

D2X is made up of:

D2X is a project of MuseLab and was created to support our consulting services with Salesforce partners and customers. We proudly share D2X as open source with the Salesforce community as part of our goal to revolutionize and democratize Salesforce DevOps.

Starting a D2X Project

The easiest way to get started is with D2X Launchpad which provides a simple web interface to launching new GitHub repositories fully configured for D2X.

Post-Launch Tutorial

You've created your own GitHub repository using D2X Launchpad, now what?

Head over to the D2X Project Tutorial for next steps on finalizing your project's setup and getting started building.

D2X cumulusci-next

Learn more about advance features of CumulusCI contained in Muselab's preview cumulusci-next branch of d2x and the corresponding Docker image tag to try out new features like Scratch Org Snapshot management, additional yaml loadable from the command line, a simple plugin framework, and more.

Check out D2X cumulusci-next for more details.

Troubleshooting

Need help troubleshooting an error? Check out the Troubleshooting section for common error messages and tips on debugging issues.

Resources

D2X itself doesn't require a lot of documentation. It's really about stitching together some amazingly powerful tools. Learning those tools is an important part of learning to work with D2X. The following documentation provides resouces to learn about those tools: