SFDX Install CPQ in Scratch org

Hi Guys,

To install the CPQ package in Devhub : 

2) Scroll down to Package Installation Link
3) Click on Recent Package Release link depending on Org you want to install CPQ - Production / Sandbox
4) Do the org authentication, it would then redirect to org where the CPQ package would be installed.
5) The status could be monitored under Setup->installed packages
6) You would receive an email when the package is successfully installed. 


To install the CPQ package in Scratch org : 

1) Goto terminal and run the following command ->


sfdx force:package:install --package [packageId] -w 30

  • use the package id from the CPQ Installation Page as [packageId]

    • the -w 30 denotes that installation will wait 30 minutes for the installation to complete after the package is available.
    • the -u [Scratch Org Name] denotes scratch org name where you want installation.
    • for ex: 



    sfdx force:package:install --package 04t61000000xAgoAAE -w 30 -u CPQScratchOrg


    here, you can retrieve package id by going to https://steelbrick2.force.com/apex/installPremium and fetch the id from URL, it would start from 04t

    Running the above command should install CPQ Package in scratch org. If you encounter any problem feel free to reach out over email or comment below.

    Comments

    Popular posts from this blog

    List of Key Prefixes in Salesforce