# Uninstall

{% hint style="danger" %}

#### User Impact

Before uninstalling any Managed Package, always make sure that your business and users are not actively depending on it. Uninstalling a package requires removing all components, custom code, and custom objects associated with that package. Proceed at your own risk.
{% endhint %}

If it becomes necessary to remove the second-generation Managed Package from your Salesforce org, manual effort may be required. Due to the customization that happens after a package is installed (like adding components to page layouts), it's almost always more difficult to unwind and uninstall a package than add one.

The steps below walk through the process of uninstalling this package. If you become stuck or encounter unexpected issues while following these steps, feel free to [contact our Support team](https://app.gitbook.com/s/Ujmw35eIn7K36mAY2dSt/get-support) for assistance.

{% stepper %}
{% step %}

### Log in to Salesforce

Log in to your Salesforce org via your standard login process as a user with the permissions to uninstall Managed Packages. The standard "System Admin" profile is sufficient.
{% endstep %}

{% step %}

### Try Uninstalling the Package

Open the "Setup" menu, then open "Installed Packages" via the Quickfind search.

<figure><img src="https://4150568565-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwHKnqFEg4DROpG3KCq3D%2Fuploads%2F9mDzKtQbtAMT65CFPWI3%2FScreenshot%202025-04-10%20at%204.36.30%E2%80%AFPM.png?alt=media&#x26;token=075c6bd7-afb0-497d-847a-ba6d1d9e0a3d" alt=""><figcaption></figcaption></figure>

Find "GRAX Lightning Web Components" in the packages list, and click "Uninstall."

<figure><img src="https://4150568565-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwHKnqFEg4DROpG3KCq3D%2Fuploads%2FmXtV5VTeHo0kvRREMN9u%2FScreenshot%202025-04-10%20at%201.56.29%E2%80%AFPM.png?alt=media&#x26;token=0de36317-aa73-4377-87d1-a1307175006f" alt=""><figcaption></figcaption></figure>

Check the confirmation checkbox on the next page, and click "Uninstall."

<figure><img src="https://4150568565-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwHKnqFEg4DROpG3KCq3D%2Fuploads%2FL6QqFZ2lFq3PF6op15TY%2FScreenshot%202025-04-10%20at%201.57.10%E2%80%AFPM.png?alt=media&#x26;token=8ce3fff5-0396-4004-905a-cc45be3bdc1c" alt=""><figcaption></figcaption></figure>

If the uninstall is successful, you will receive a confirmation email. If you receive this email, you are done with this guide and do not need to continue reading. If your uninstall failed, keep reading.

<figure><img src="https://4150568565-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwHKnqFEg4DROpG3KCq3D%2Fuploads%2FgsPJpK0H0m0me3kI6Sp3%2FScreenshot%202025-04-10%20at%202.05.51%E2%80%AFPM.png?alt=media&#x26;token=0cc0cc2d-4273-4d5b-b76d-f832b8dd5415" alt=""><figcaption></figcaption></figure>

On the first attempt, it is likely that you will receive errors about components or other resources in the package still being used somewhere. Usually, these just mean that you have page layouts that still contain the component. The error page should list the page layouts and resources impacted.

<figure><img src="https://4150568565-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwHKnqFEg4DROpG3KCq3D%2Fuploads%2Fjslxr9AvNrHUpoenU7cU%2FScreenshot%202025-04-10%20at%201.57.36%E2%80%AFPM.png?alt=media&#x26;token=ab972e13-32d0-40a3-9598-3a4458835746" alt=""><figcaption></figcaption></figure>

It is your responsibility to update these page layouts to no longer include the GRAX components (or otherwise resolve any errors during installation). Do your best to resolve all possible issues, then continue.
{% endstep %}

{% step %}

### Try Uninstalling the Package Again

Now that you've resolved all possible issues that appeared during the previous attempt, try uninstalling the package again using the original steps.

If you encounter more issues, resolve them and repeat this process until the uninstall is successful. If you come across a reported issue that you cannot resolve, feel free to [reach out to our Support team](https://app.gitbook.com/s/Ujmw35eIn7K36mAY2dSt/get-support) for assistance.

{% endstep %}
{% endstepper %}
