The Canva Apps SDK, Connect APIs, and MCP are now unified in the Canva Developers SDK. Learn more⁠(opens in a new tab or window).
Canva Developers SDK
The Canva Apps SDK, Connect APIs, and MCP are now unified in the Canva Developers SDK. Learn more⁠(opens in a new tab or window).
Apps inside Canva

Bundling apps

How to generate a JavaScript bundle for an app.

When you're ready to submit an app for review, you need to upload the app to the Developer Portal⁠(opens in a new tab or window) as a standalone JavaScript bundle. The starter kit includes a build script that handles this for you.

How to generate a bundle

  1. Navigate into the starter kit:

    cd canva-apps-sdk-starter-kit
    BASH
  2. Run the following command:

    canva apps build
    BASH

    An app.js file will appear in the dist directory.

How to upload a bundle

  1. Log in to the Developer Portal.
  2. Navigate to an app via the Your apps⁠(opens in a new tab or window) page.
  3. Go to Inside Canva > Code upload and, under App source, select JavaScript bundle.
  4. Upload the app.js file.

Known limitations

  • Canva doesn't support code-splitting, so all code and dependencies must be bundled in a single file. (You can still organize your code into separate files. @canva/app-scripts takes care of the bundling for you.)
  • The size of the app bundle must not exceed 5 MB.