This guide walks a Salesforce administrator through:
- Installing ScaleXP Invoicing
- Configuring the Tenant Token so the package can authenticate with ScaleXP.
- Adding the ScaleXP Widget to your Opportunity Lightening page
Part 1 — Install ScaleXP Invoicing
1. Open the install link
- Make sure you are logged into the correct Salesforce organization in your browser (the same one where you want ScaleXP installed).
- Open a new browser tab.
- Paste the install URL into the address bar: https://login.salesforce.com/packaging/installPackage.apexp?p0=04tgL000000G2YvQAK
- Press Enter. Salesforce redirects you to the installation wizard.
2. Choose install options
- Select Install for All Users (recommended — this lets all users in your organization use the widget).
- Tick the acknowledgment checkbox if Salesforce shows a prompt about the third-party domain api.scalexp.com. This is required for the widget to communicate with the ScaleXP backend.
- Click Install.
3. Wait for installation to complete
Installation usually finishes in 1–3 minutes. You may see a "This app is taking a long time to install" message — that's normal. Either:
- Wait on the page until you see "Installation Complete", or
- Click Done — Salesforce will email you when it finishes.
4. Verify the installation
- Setup → Quick Find → Installed Packages.
- Confirm ScaleXP Invoicing is listed, with Namespace Prefix = scalexp_invoice.
Part 2 — Add the ScaleXP Tenant Token
This step tells the package which ScaleXP customer account this Salesforce organization belongs to. Without it, the widget will load but all backend calls will fail with an authentication error.
1. Open the ScaleXP Config custom setting
- Setup → Quick Find → Custom Settings → click it.
- Find ScaleXP Config in the list (you may need to scroll).
- Click Manage next to ScaleXP Config.
2. Create the Default Organization Level Value
- On the Manage page, click New in the "Default Organization Level Value" section.
- In the Tenant Token field, paste the token ScaleXP sent you. It is a long string with no spaces — copy and paste it exactly as received, without quotation marks.
- Click Save.

Part 3 — Add the ScaleXP widget to your Opportunity Lightning Page
1. Open an Opportunity record
Open any Opportunity record in Salesforce.
2. Edit the Lightning Page
- Click the gear icon in the top-right → Edit Page.
- The Lightning App Builder opens with the Opportunity layout.
3. Add the ScaleXP component
- In the Components panel on the left, type scaleXP in the search box.
- Find the component named ScaleXP Invoicing (NOT ScaleXP Canvas) (the icon shows c:scaleXPInvoicing or scalexp_invoice:scaleXPInvoicing).
- Drag the component onto the page in the location you want it — typically the right-hand column, below the Activity feed.
- Click Save in the top-right.
- If prompted "Activate this page", click Activate → choose "Assign as Org Default" → Save.
- Close the Lightning App Builder tab.
4. Test the widget
- Reload the Opportunity record page (Cmd+R / Ctrl+R).
- The ScaleXP Invoicing card should appear with the invoice summary (count, total, status, etc.).
- Click "View and amend invoices" — a modal should open with the invoice editor inside.
If the modal loads and shows the invoice editor, the installation is complete and ready to use.