---
schema_version: "1"
id: 9f57e5ae9bd3ea423f69749382900d3f693e59131b993db2110458e2fb16778c
title: Use a URL to Install a Second-Generation Managed Package
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/platform-pkg-exchange/managed_packaging/guides/second-generation/sfdx-dev-dev2gp-install-pkg-ui.md
canonical_url: https://developer.salesforce.com/docs/platform/pkg2-dev/guide/sfdx-dev-dev2gp-install-pkg-ui.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: bebb3cb468a273102b8878799fd4ac383a81729c438dfc0e4adf46559fcf0768
products:
  - Second-Generation Managed Packaging Developer Guide
  - merged-docs
---

# Use a URL to Install a Second-Generation Managed Package

Install a second-generation managed package from a browser.

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=04tB00000009oZ3JBI`

Anyone with the URL and a valid login to a Salesforce org can install the package.

To install the package:

1.  In a browser, enter the installation URL.
2.  Enter your username and password for the Salesforce org in which you want to install the package, and then click **Login**.
3.  If the package is protected by an installation key, enter the installation key.
4.  For a default installation, click **Install**.

    A message describes the progress. You receive a confirmation message when the installation is complete.

**See Also**

- [_Salesforce Help:_ Determine Which Users Can Access a Package](https://help.salesforce.com/s/articleView?id=xcloud.pkg_subscriber_determine_access.htm&type=5)
