Newer Version Available

This content describes an older version of this product. View Latest

Package the Canvas App

Now that you’ve 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 organization. For more information about packaging, see the Use Managed Packages to Develop Your AppExchange Solution.

  1. In Salesforce, from Setup, enter Packages in the Quick Find box, then select Packages and click New.

    To package your canvas app for installation in other organizations, you must create a namespace prefix. A namespace prefix can only be defined in a Developer Edition organization. For more information, see the topic “Registering a Namespace Prefix” in the online help.

    Tip

  2. Set the Package Name field to Hello World Package and accept the defaults for the other fields.
  3. Select the Managed field to make the package the managed package for the organization.
  4. A prompt appears stating you’re only allowed 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 organization.