GMI Software
Core areas
AI & Automation
From workflow and business case to production
Mobile Apps
iOS, Android, React Native
Headless & B2B commerce
Stores, sales platforms, ERP/PIM integrations
Complementary services
AI-gen developmentE-commerce mobile analyticsProduct Discovery & DesignBackend, API & IntegrationsMaintenance & AuditsDDT process
Don't know what to choose? Order a consultation
Our projects
Case studies and references
App Ideas Library
Use case examples
MobileCore Stack
React Native
E-commerceCore Stack
Service: commerce & B2BAdvanced commerceMedusaJS
Frontend & QA
Next.jsReactTypeScriptPlaywrightMaestro
Backend, DB & Cloud
Node.jsNestJSPostgreSQLDockerAWS
E-commerce Innovation
3D configurators (BabylonJS)AI agents & automationRAG & knowledge basesAI-native software companyView all AI services
View all technologies
About us
Our history and values
Careers
Join our team
Contact
Get in touch
Get in touch
AI Opportunity Sprint
Services
Mobile AppsHeadless & B2B commerceAll services
Projects and results
Technologies
Next.jsNode.jsAWSFull technology stack
Meet GMIGet in touch
Back to blog
Services
Updated: July 11, 2026· Originally published: March 11, 2026
20 min read

How do you build a manufacturing CPQ system that is not just Excel in disguise?

Mikołaj Lehman, CEO & Founder, GMI Software
Mikołaj Lehman
CEO & Founder, GMI Software

Mikołaj Lehman is the CEO and founder of GMI Software. On the blog, he covers decisions around mobile apps, ecommerce and digital product delivery.

  • Mobile apps and React Native
  • Headless and B2B ecommerce
  • MedusaJS
  • Digital product delivery

Short answer: manufacturing CPQ only works when product configuration, compatibility rules, BOM, prices, discounts, approvals, ERP and quote documents become one controlled process. A 3D configurator without a rules engine and ERP integration is mostly a polished frontend that still leaves sales teams with spreadsheets.

First definition: CPQ is a decision process, not only a configurator

CPQ means Configure, Price, Quote: configure the product, calculate the price and generate the offer. In simple ecommerce, a "color + size" variant is enough. In B2B manufacturing, configuration can mean hundreds of dependencies: motor, material, certification, dimensions, target market, voltage, delivery date, contract discount, component availability, allowed accessories and warranty terms.

That is why a good CPQ system does not start with a shiny 3D model. It starts with a question: which system owns the rules? If rules sit in spreadsheets, engineers heads and production emails, the configurator only helps create bad quotes faster. If rules become a product domain, CPQ can shorten the sales cycle without increasing production risk.

At GMI Software we treat CPQ as B2B commerce plus domain backend plus integrations. MedusaJS can handle commerce core, price lists, cart and sales channels. NestJS can own rules, validation, approvals, documents and ERP/PIM/CAD integrations. Next.js gives customers or sales teams a fast portal, while BabylonJS/WebGL makes sense when 3D helps the buyer decide, not when it is only decoration.

The biggest pitfall: building a nice form without a domain model

In many companies the first CPQ version is a rewritten spreadsheet: fields, dropdowns, a few conditions and a PDF at the end. For the first weeks it looks successful. Then exceptions arrive: a strategic customer has a different margin, the German market needs another certificate, frame A does not fit motor B, a component is available only in plant X, and finance must approve discounts above a threshold.

If the system has no clear domain model, each rule becomes another frontend if-statement or another spreadsheet column. After a year nobody knows why a configuration was blocked, who approved the exception and whether the quote PDF still matches what ERP can manufacture and invoice.

The winning model is different: product catalogue, compatibility rules, pricing, BOM, approval workflow, quote documents and integrations are separate concerns. The frontend guides the user through the decision. The backend must be able to explain "why not" and "what needs to change for this configuration to work".

CPQ architecture map: from rules to order

The best CPQ systems have several clear layers. Not every company needs all of them on day one, but every company should know where each responsibility will live. This reduces scope creep and lets CPQ roll out in stages: first the flagship product line, then more families, channels and integrations.

The map below shows a practical model: catalogue and product rules feed the configurator, pricing reads customer and region context, ERP/PIM/CAD/WMS remain systems of record, and quote workflow generates the document, approval and order. 3D is an experience layer, not the place where business logic should live.

Article graphic: CPQ for manufacturing and B2B ecommerce: pitfalls, architecture and cost
Article graphic: CPQ for manufacturing and B2B ecommerce: pitfalls, architecture and cost

Configuration rules: variants, constraints and exceptions

The first technical decision is whether the product can be described as simple variants or needs a constraint engine. Variants are enough when combinations are limited and stable. Constraints are needed when one component affects ten later choices and rules come from product physics, certification, manufacturing or warranty.

Salesforce describes modern CPQ configurators as supporting rules-based and constraint-based configuration. That distinction matters. "If the customer is gold partner, apply discount" is pricing. "A 20 kW motor cannot use the aluminium frame" is product compatibility. "Discount above 12% needs finance approval" is workflow. Mixing them in one place creates chaos.

During DDT we start with a decision tree and conflict matrix. For every rule we capture owner, source of truth, business consequence and test method. Rules without an owner should not enter the code because nobody will maintain them after the first sales season.

Pricing: B2B price lists, margin, currencies, regions and approval

CPQ without real-time pricing is only a catalogue. In B2B, price depends on customer, region, volume, currency, contract discount, component availability, material cost, minimum margin, service option and delivery date. Oracle emphasizes real-time pricing, multiple price books, channel pricing, promotions and approvals as core CPQ capabilities.

MedusaJS gives a useful base for custom B2B pricing: the Pricing Module supports multi-currency and region prices, price lists, tiers, custom rules and best-price calculation in context. The Product Module supports variants, bundled/multi-part products and tiered pricing. This is not a full enterprise CPQ after installation, but it has the right commerce domains to build on.

The most important rule: pricing must be auditable. Sales, CFO and the B2B customer should understand where the price came from: base list, contract discount, configuration surcharge, component cost, volume discount, currency, transport and margin. If the price is a magic result, the team will not trust the system and will return to Excel.

ERP, BOM, PIM and CAD: what should be the source of truth

CPQ should not replace ERP or CAD. ERP usually owns customers, contracts, stock, orders, invoices, material cost and production process. PIM owns descriptions, attributes and product content. CAD or PLM owns engineering data and models. CPQ should orchestrate these sources into a sales decision, not create another copy of truth.

The practical architecture depends on company maturity. If ERP has a stable API, CPQ can read availability, cost and customer status near real time. If ERP is slow or difficult, we build an integration layer and cache with a clear data freshness policy. If CAD/PLM has no API, we start with parameter exports and model version control.

The largest risk is lack of version control. A quote generated on Monday must be reproducible on Friday: which rules, prices, costs and models created it? Without a configuration and price snapshot, every complaint or renegotiation becomes an investigation.

3D configurator: when BabylonJS/WebGL makes sense

3D is valuable when it reduces buyer uncertainty or sales-support cost. For machinery, built-ins, modular furniture, devices, halls, vehicles and large products, visualization can show proportions, collisions, accessories, material variants and consequences of a choice. For simple products, 3D can become an expensive extra with little decision impact.

WebGL renders interactive 2D and 3D graphics in the browser without plug-ins, using hardware acceleration from the device. BabylonJS provides a useful layer for scenes, materials, cameras, lights, interactions and model imports. In CPQ, the key question is not "does the model rotate?", but whether the visualization matches rules and BOM.

That is why we separate the 3D model from the decision engine. The model shows the configuration result, but it does not decide compatibility. If a user chooses an invalid set, the backend blocks the configuration and explains why. 3D updates after validation; it does not become the source of truth.

Phased rollout: do not automate the whole factory in release one

The safest MVP scope is one product line, one sales channel and a limited set of rules that create the highest manual cost. Do not start with every product family, every market, full CAD, all discounts and complete production automation. That is a direct path to a year-long project without value on the way.

Release one should prove three things: the user can configure a product without sales support, the system blocks configurations that cannot be manufactured, and price/quote output matches ERP and margin rules. Only then should you add 3D, customer self-service, partner portal, automated approvals, BOM generation, CAD/PLM integrations and more channels.

During DDT we map scope as a tracer bullet: one path from configuration to quote, order and integration. Leadership sees a working process, while the technical team tests the hardest risks early: rules, pricing, ERP, documents and permissions.

CPQ cost: what really drives budget

CPQ cost is not mostly driven by screen count. It is driven by rule count, product-data quality, ERP/API readiness, number of price lists, approval requirements, quote documents, user roles, languages, currencies, 3D model and whether the system serves customers, sales teams or both.

In practice, a sensible first scope for a B2B manufacturer often starts around PLN 200,000-450,000: DDT, domain model, rules backend, B2B storefront, basic pricing, ERP/PIM integration, quote document, user roles and tests. 3D, CAD/PLM, advanced approvals, partner portal, multi-market support and automated BOM can increase scope meaningfully.

That is why we do not promise a price after one call. First we run DDT: product rules, integrations, data, UX, architecture, risks, MVP priorities and maintenance model. Only then does fixed price make sense because the budget comes from discovered scope, not a hopeful brief.

Pre-DDT checklist: questions that reveal real CPQ scope

If you are preparing CPQ, collect these answers before asking for an estimate. They shorten discovery and quickly show whether the project is a configuration, pricing, data, integration, UX or organizational-change problem.

  • Which product line has the highest manual quoting cost or the most errors?
  • Where do rules live today: ERP, Excel, CAD/PLM, PIM, documentation or engineers knowledge?
  • Which rules block production, and which only affect price or delivery date?
  • Does ERP expose APIs for customers, stock, price lists, orders and invoices?
  • Do you need customer self-service, sales console, partner portal or all of them?
  • Must the quote generate BOM, PDF, contract, proforma, order or production task?
  • Which roles approve discounts, technical exceptions and non-standard delivery dates?
  • Will 3D reduce questions and errors, or is it mainly a marketing layer?

How GMI designs CPQ for B2B manufacturers

GMI does not start CPQ by choosing a 3D library. We start with sales process, margin, product data, ERP, user roles and manufacturing risk. Only then do we choose technology: MedusaJS for commerce core, NestJS for rules and integrations, Next.js for the portal, PostgreSQL for data, BabylonJS/WebGL for 3D when it genuinely helps sales.

The most important DDT output is a responsibility map: what lives in ERP, CPQ, PIM, CAD/PLM and storefront, and how to reproduce a quote a month later. This map lets us move into fixed price after discovery instead of pretending that manufacturing complexity can be estimated from "3D configurator" alone.

For the client, that means less risk: source-code ownership, no vendor lock-in, integration-ready architecture and a CPQ product that can grow in stages. Release one should deliver a working path: configuration -> price -> quote -> order. Then we scale product lines, channels, markets and automation.

Sources and further reading

Salesforce Revenue Cloud CPQ - rules-based and constraint-based configuration, pricing and approvals: https://www.salesforce.com/sales/cpq/

Oracle CPQ - configuration, real-time pricing, approvals and document generation: https://www.oracle.com/cx/sales/cpq/

Medusa Pricing Module - multi-currency, regions, price lists, tiers, rules and best-price calculation: https://docs.medusajs.com/resources/commerce-modules/pricing

Medusa Product Module - variants, bundled/multi-part products and tiered pricing: https://docs.medusajs.com/resources/commerce-modules/product

MDN WebGL API - browser-based interactive 2D/3D graphics without plug-ins: https://developer.mozilla.org/en-US/docs/Web/API/WebGL_API

Related GMI MedusaJS B2B guide: https://gmi.software/blog/medusa-b2b-ecommerce-guide

Related GMI MACH B2B integrations guide: https://gmi.software/blog/mach-b2b-ecommerce-integrations-erp-pim

GMI MedusaJS development service: https://gmi.software/services/medusajs-development

GMI DDT process: https://gmi.software/discovery-design-technology

Frequently asked questions

What is a CPQ system in manufacturing and B2B?
CPQ means Configure, Price, Quote: a system that guides a customer or seller through product configuration, validates compatibility rules, calculates price and generates a quote. In B2B manufacturing it must connect engineering rules, BOM, ERP, price lists, discounts, approvals and documents.
Why must a CPQ configurator integrate with ERP?
Without ERP, CPQ often becomes a second spreadsheet. ERP usually owns customers, contracts, stock, costs, orders and invoices. CPQ should read or sync that data, and the generated quote must be reproducible and executable in the manufacturing process.
How do WebGL and BabylonJS help B2B sales?
WebGL and BabylonJS help when 3D reduces buyer uncertainty: dimensions, accessories, collisions, material variants or module layout. They should not store business logic. Compatibility belongs in the rules backend, while 3D shows the validated result.
Is MedusaJS suitable for building CPQ systems?
Yes, if you treat MedusaJS as the commerce core, not a finished CPQ after installation. Medusa provides product, pricing, price lists, pricing rules, cart and sales-channel domains. Constraint engine, approvals, BOM, ERP/CAD and quote documents are usually custom backend work, for example in NestJS.
How much does CPQ implementation cost for a B2B manufacturer?
A sensible first scope often starts around PLN 200,000-450,000: DDT, domain model, rules, B2B storefront, basic pricing, ERP/PIM integration, quote document and tests. 3D, CAD/PLM, partner portal, multi-market support and advanced approvals increase scope.
How long does CPQ implementation take?
An MVP for one product line usually takes 4-8 months after DDT, depending on data quality, rule count, ERP/API readiness and document scope. Covering many product families, markets and channels is best done in phases.

Content updated: July 11, 2026

Share article:

Related articles

Services

React Native app store launch checklist for App Store and Google Play

A practical React Native and Expo release checklist: developer accounts, EAS Build/Submit, TestFlight, Google Play closed testing, privacy, payments, reviewer access and rejection recovery.

Services

B2B marketplace split checkout: orders, payments, payouts and invoices

A practical guide for founders, CTOs and B2B marketplace operators: how to split one buying experience into vendor orders, payments, platform fees, invoices, refunds and ERP integrations.

Contact

Let's talk
about the project.

Have an app idea or need technological support? Write to us — we'll prepare a preliminary analysis and estimate within 48h. Projects that go through our DDT process (Discovery, Design & Technology) come with a price guarantee and a fixed-price agreement — a key differentiator for us.

Write to us[email protected]
Visit us
GD
gmi.software Sp. z o.o.ul. Jana Heweliusza 11 / 819
80-890 Gdansk, PolandNearshore product delivery across EU, UK and US time zones.
NIP: 5252816287KRS: 0000830003
gmi.
ServicesOur projectsBlogBrief assistantContact
LIFAINGI
Mobile Trends Awards 2025 nomination - SFD app
© 2026 gmi.software Sp. z o.o.
Privacy PolicyTerms