Testing data providers

How to test a data provider.

If a provider renders a UI, the UI can be tested the same as any other app:

  1. Navigate to an app via the Developer Portal.
  2. Click Preview.

If you want to test how a provider interacts with a consumer though, the only option is to test it via Canva's Bulk Create feature. In the future, as other consumers are released, more options for testing will become available.

This guide explains how to test a data provider via the Bulk Create feature.

Step 1: Select a data provider

  1. Create (or open) a design in Canva.
  2. In the side panel, click Apps.
  3. Select Bulk Create.
  4. Click More data sources.
  5. Select a provider.

Step 2: Generate a design with the data

  1. Add a text element to the design.
  2. Right-click the element.
  3. Select Assign data.
  4. In the dropdown that appears, select one or more columns from the data table.
  5. In the side panel, click Continue.
  6. Select one or more rows of data.
  7. Click Generate.