# Package the Connected App for Canvas

After you created the canvas app, tested it in the Canvas App Previewer, and deployed it to Heroku, you’re ready to package and distribute it.

Packaging is the first step in making your canvas app available for installation in another org. For more information about packaging a connected app for your canvas integration, see [Use Managed Packages to Develop Your AppExchange Solution](https://developer.salesforce.com/docs/atlas.en-us.packagingGuide.meta/packagingGuide/managed_packaging_intro.htm).

1. In Salesforce, from Setup, enter `Packaging` in the `Quick Find` box, then select **Package Manager** and click **New**.

   :::tip
   To package your canvas app for installation in other orgs, you must create a namespace prefix. A namespace prefix can be defined only in a Developer Edition org. For more information, see [Register a Namespace for a First-Generation Managed Package](https://developer.salesforce.com/docs/atlas.en-us.pkg1\_dev.meta/pkg1\_dev/register_namespace_prefix.htm).
   :::

2. Set the `Package Name` to Hello World Package and accept the defaults for the other fields.

3. Select `Managed` to make the package the managed package for the org.

4. A prompt appears stating you’re allowed only one managed package. Click **OK**.

5. Click **Save**.

6. The package is empty, so click **Add**.

7. In the `Component Type` field, select Connected App.

8. Select the checkbox next to the Hello World app and click **Add To Package**. The Package Detail screen appears. From Setup, enter `Packages` in the `Quick Find` box, then select **Packages** to see the new managed package.

Now you’re ready to upload the package you created and get the installation link. Use the installation link to install your canvas app in another org.

**See Also**

- [Package an External Client App](https://help.salesforce.com/s/articleView?id=xcloud.configure_packageable_external_client_apps.htm)
- [Upload the Canvas Connected App Package](/docs/platform/canvas-framework/guide/quick-start-publish-canvas-app.md)
- [Distributing Your CanvasLifecycleHandler Class](/docs/platform/canvas-framework/guide/canvas-distributing-your-canvaslifecyclehandler.md)
