Calcemy for Salesforce
Calcemy brings asset finance pricing into Salesforce. Your team can work out finance figures straight from an Opportunity, so there's no jumping into a separate calculator and no re-keying numbers back into the CRM.
What you get
The Calcemy Calculator is a Lightning component you place on your Opportunity page. It adds to the standard Opportunity instead of changing it, so you carry on using it the way you do now.
- Pick a contract type, enter an amount and get the payment, term, APR, a full amortisation schedule and settlement figures.
- Results save to the Opportunity automatically, and a saved deal reloads whenever you reopen it.
- Enter your API key once and it applies to everyone in your org.
What's in the package
- Calcemy Calculator — the Lightning Web Component you place on Opportunity pages.
- Calcemy Finance app — with a stand-alone Calcemy Calculator tab and a Calcemy Setup tab for your API key.
- Custom fields on Opportunity — Advance, Term, APR, Rental, Balloon, Cost of Funds, Margin, Advanced Payments, Remaining Payments, Contract Type and the full deal JSON. They stay hidden until you add them to a page layout.
- Calcemy Setting — a small custom object that holds your organisation's API key.
- CSP Trusted Site — lets the calculator contact
https://api.calcemy.com.
- Permission set — Calcemy Finance User.
Detailed instructions
Open any section for the full step-by-step. The links in the getting-started steps above open the matching section for you.
Before you start
Allow about 15 minutes. Check these before you install:
| Requirement | Details |
| Salesforce edition | Professional, Enterprise, Unlimited, Performance or Developer Edition. Tested on Professional and Enterprise. Not supported: Free Suite and Starter Suite, because the app needs custom fields and a custom object that those editions don't allow. |
| Lightning Experience | The calculator is a Lightning Web Component. Orgs still on Salesforce Classic are not supported. |
| User licence | Users need a licence that can see Opportunities, i.e. a full Salesforce user licence. Salesforce Platform and Force.com licences don't include Opportunities, so those users can't use the calculator. |
| Permissions to install | A System Administrator, or a user who can install packages. |
| Access to the Calcemy API | Users' browsers must be able to reach https://api.calcemy.com. If your company filters web traffic, ask IT to allow it. |
| A Calcemy API key | Your Calcemy API subscription key. Get an API key if you haven't got one. |
Install the package
Click the install link, or paste it into your browser while logged into your org. Use the link that matches your org type:
- Log in with your Salesforce admin credentials.
- Salesforce shows a notice that this package is not authorized for distribution on the AppExchange. That's expected: Calcemy is distributed directly, not through the AppExchange. Tick the box to confirm you understand, then continue.
- Choose Install for Admins Only or Install for All Users. (On Professional Edition the package is installed with access for all profiles.) Access to the calculator itself is controlled by a permission set, which you assign next.
- Click Install and wait for it to finish. You may receive a confirmation email.
What it doesn't change
- It does not change your Opportunity stages, sales process, page layouts, flows or automation.
- It does not replace your Opportunity page. You add the calculator to it yourself.
- When a calculation is saved it updates the Opportunity's standard Amount field. You choose whether that is the Advance or the Sale Price in the calculator's Settings. Make sure that suits how your team uses Amount.
Assign the permission set
Assign the Calcemy Finance User permission set to each user who needs the calculator, including yourself:
- In Setup, use Quick Find to search for Permission Sets, then click Permission Sets.
- Click Calcemy Finance User.
- Click Manage Assignments, then Add Assignment.
- Select the users, then Next, then Assign.
Enter your Calcemy API key
The calculator calls the Calcemy pricing API with your organisation's key. Enter it once and it applies to every user in the org.
- Open the App Launcher (the 9-dot grid, top left), open Calcemy Finance, then click the Calcemy Setup tab.
- Paste your API key and click Save API Key.
- You'll see a "Saved" message and a green note that a key is saved.
- Reload the page, and any calculator pages already open, so they pick up the key.
Who can see the key? The key is stored in the Calcemy Setting record, and the browser needs it to call the API. Anyone with the Calcemy Finance User permission set can read it and can also replace it, so only give that permission set to people you trust with the key. To change the key later, save a new one on the same tab.
Add the calculator to the Opportunity page
- Open any Opportunity record.
- Click the gear icon, then Edit Page. This opens the Lightning App Builder.
- In the Components panel on the left, search for Calcemy Calculator.
- Drag it onto the page. The main column works best for the full-width layout.
- Click Save. If prompted, click Activate, then Assign as Org Default, then Save.
- Click the back arrow to return to the record.
The calculator now appears on every Opportunity record page. If you use several Opportunity pages, for example per record type or per app, add it to each one.
Use it
- Open an Opportunity.
- In the Calcemy Calculator, select a Contract Type (Loan, Hire Purchase and so on), enter an amount (Advance or Sale Price), and press Enter.
- The calculator calls the Calcemy API and shows the result: payment, term, APR, a full amortisation schedule, settlement figures and more.
- Results auto-save to the Opportunity, including the standard Amount field, plus detailed figures stored for reporting.
- Reopen the Opportunity later and the saved deal reloads automatically.
Tips
- Enter recalculates; blur (clicking away) just stores. You can tab between fields without triggering a recalculation on every click.
- Settings (top right) lets you configure VAT rate, compounding method and frequency, days in year, pause mode, which figure goes into the Opportunity Amount (Advance or Sale Price), default contract type, rates and payment structure. Settings are saved in each person's own browser, so each user sets their own.
- Initial pause and the first regular payment date default from the payment frequency and can be overridden per deal.
- The calculator supports payment profiles (Seasonal, Variable, Retention) for advanced deal structures. Seasonal applies to monthly payments.
- On a phone the calculator shows the input form only. Calculation and auto-save still happen.
Upgrading and removing
- Upgrading from version 2.x. Open the new install link while logged into the org. Your saved key and deals are kept.
- Early test versions (1.x). These can't be upgraded in place. Uninstall the old version first (Setup → Installed Packages → Calcemy → Uninstall), then install the new one. Uninstalling deletes the saved calculator data held in the package's fields. Remove the calculator from any Lightning page before you uninstall.
Troubleshooting
| Problem | Likely cause and fix |
| "No Calcemy API key is configured" | No key saved yet, the page wasn't reloaded after saving it, or the user doesn't have the permission set. Save the key, reload the page, and check the user has Calcemy Finance User. |
| "Invalid or expired API key" | The key is wrong or old. Save a valid key on the Calcemy Setup tab. |
| "Monthly calculation limit reached" | Your API subscription quota is used up. Contact Calcemy. |
| "Unable to reach the Calcemy API" | A network, firewall or browser extension is blocking api.calcemy.com. Allow https://api.calcemy.com, and check Setup → CSP Trusted Sites lists Calcemy_API as active. |
| Calculator not visible on the Opportunity | The component hasn't been added to the page. Follow "Add the calculator to the Opportunity page". |
| Fields not visible, or "Insufficient Permissions" | The permission set isn't assigned, or the user's licence has no access to Opportunities. Follow "Assign the permission set" and check the user has a full Salesforce licence. |
| No "Calcemy Setup" tab | The permission set isn't assigned. Follow "Assign the permission set". |
| Install fails with a "feature" or "component" error | The edition isn't supported. Free Suite and Starter Suite are not supported; see "Before you start". |
Need help?
Email hello@calcemy.com and we'll help you get set up.