Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
Install Unlocked Packages from a URL
If you create packages from the CLI, you can derive an installation URL for the package by adding the subscriber package ID to your Dev Hub URL. You can use this URL to test different deployment or installation scenarios.
For example, if the package version has the subscriber package ID, 04tB00000009oZ3JBI, add the ID as the value of apvId.
https://MyDomainName.lightning.force.com/packagingSetupUI/ipLanding.app?apvId=04tB00000009oZ3JBIAnyone with the URL and a valid login to a Salesforce org can install the package.
- In a browser, enter the installation URL.
- Enter your username and password for the Salesforce org in which you want to install the package, and then click Login.
- If the package is protected by an installation key, enter the installation key.
- For a default installation, click Install.
A message describes the progress. You receive a confirmation message when the installation is complete.