---
schema_version: "1"
id: 273939351109092730d120e3e5fec43dc8aa61be67becfe2fe5911f25507fae8
title: Adding Aura Components to Managed Packages
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/platform/aura-platform/guides/aura/apps/apps-packaging-add-components.md
canonical_url: https://developer.salesforce.com/docs/platform/aura-platform/guide/apps-packaging-add-components.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 38fff021595f1d1fbb51423429da67a7c1652bea52d496abcece045dd4a22f5a
products:
  - Lightning Aura Components Developer Guide
  - Platform Developer Content
---

# Adding Aura Components to Managed Packages

Add an Aura component to a managed package from a package detail page in Setup.

When you add an application or component to a package, all definition bundles referenced by the application or component are automatically included, such as other components, events, and interfaces. Custom fields, custom objects, list views, page layouts, and Apex classes referenced by the application or component are also included.

However, when you add a custom object to a package, you must explicitly add the application and other definition bundles that reference that custom object to the package. Other dependencies that you must add to a package explicitly include the following.

-   Trusted URLs
-   Remote Site Settings

**See Also**  


-   [Second-Generation Managed Packaging Developer Guide](https://developer.salesforce.com/docs/atlas.en-us.pkg2_dev.meta/pkg2_dev/sfdx_dev_dev2gp.htm)
-   [First-Generation Managed Packaging Developer Guide](https://developer.salesforce.com/docs/atlas.en-us.pkg1_dev.meta/pkg1_dev/sharing_apps.htm)

