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.
-
In Salesforce, from Setup, enter
Packagingin theQuick Findbox, then select Package Manager and click New.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.
-
Set the
Package Nameto Hello World Package and accept the defaults for the other fields. -
Select
Managedto make the package the managed package for the org. -
A prompt appears stating you’re allowed only one managed package. Click OK.
-
Click Save.
-
The package is empty, so click Add.
-
In the
Component Typefield, select Connected App. -
Select the checkbox next to the Hello World app and click Add To Package. The Package Detail screen appears. From Setup, enter
Packagesin theQuick Findbox, 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