To calculate the usage-based pricing for Salto, Salto needs to count the number of metadata records in your org.
The easiest and most accurate way is to sign up for Salto and let Salto do the calculation. This is the recommended option. Learn how
If you want to calculate the number of records before signing up to Salto, ask someone from your Salesforce team to follow these instructions:
Custom Metadata Types and Custom Objects can easily be counted manually:
Custom Metadata Type
To access the Custom Metadata Types page, from Setup, enter Custom Metadata Types in the Quick Find box, then select Custom Metadata Types
Count the number of custom metadata types
Open the Object Manager
Scroll down to the bottom of the table
The label at the top displays the precise count of items:
Counting with the Developer Console
For the rest of the metadata types, Salto recommends counting them by using the following pre-built script in the developer console.
Click the Setup menu and open the Developer Console:
Once opened, click the Debug menu and then Open Execute Anonymous Window:
Enter the following code in the new window: https://github.com/salto-io/salesforce-element-count/blob/main/CountMetadata.cls
Check Open Log and then click Execute:
Click the Debug Only checkbox:
You should now see the count of your metadata records:
Counting CPQ elements
If you want to use Salto for CPQ, you also need to count the number of CPQ elements. For this, we have an additional script, which you can run using the same steps described above: https://github.com/salto-io/salesforce-element-count/blob/main/CountCPQRecords.cls
The script will give a breakdown of how many records per CPQ object you have, and a total.