> ## Documentation Index > Fetch the complete documentation index at: https://www.canva.dev/docs/apps/llms.txt > Use this file to discover all available pages before exploring further. # Migrate a content extension How to migrate your content extension to use the Canva Developers SDK. [Content extensions](https://www.canva.dev/docs/extensions/extensions/content-extensions/) are being deprecated in favor of the [Canva Developers SDK](https://www.canva.dev/docs/apps/apps-inside-canva/). To help you migrate to the Developers SDK, Canva has created [a template](https://github.com/canva-sdks/canva-apps-sdk-starter-kit/tree/main/examples/assets_and_media/digital_asset_management) that demonstrates how to build a digital asset management (DAM) app. As part of the migration process, you’ll need to configure CORS, remove signature verification, and add support for user authentication, among other steps. To see how you can customize the app's UI, see the [SearchableListView](https://www.canva.dev/docs/apps/app-templates/storybook/?path=/docs/app-components-searchable-list-view-searchablelistview--docs) component. ## Step 1: Create a new app Create a new app in the [Developer Portal](https://www.canva.com/developers/apps). You'll use this app ID to configure your settings in the next steps. For more information, see [Quickstart](https://www.canva.dev/docs/apps/quickstart/). ## Step 2: Clone the repo and install dependencies This step explains how to clone the example repository and install the npm dependencies. 1. Clone the [canva-sdks/canva-apps-sdk-starter-kit](https://github.com/canva-sdks/canva-apps-sdk-starter-kit) repo. ```bash git clone git@github.com:canva-sdks/canva-apps-sdk-starter-kit.git ``` 2. Install the npm dependencies. ```bash npm install ``` ## Step 3: Configure the environment Open the `.env` file and add your backend server’s details. For more information, see [Previewing apps](https://www.canva.dev/docs/apps/previewing-apps/#automatic). ``` CANVA_FRONTEND_PORT=8080 CANVA_BACKEND_PORT=3001 CANVA_BACKEND_HOST=https://my-backend/ CANVA_APP_ID= CANVA_HMR_ENABLED=FALSE ``` * `CANVA_BACKEND_HOST`: The URL of your backend server. * `CANVA_APP_ID`: To find this value, open [Your apps](https://www.canva.com/developers/apps), find the app you created in step 1, and copy the ID from the **App ID** column. * `CANVA_HMR_ENABLED`: You can optionally enable Hot Module Replacement (HMR). For more information, see [Previewing apps](https://www.canva.dev/docs/apps/previewing-apps/) ## Step 4: Preview your app Run the app locally to preview your changes. For more information, see [Previewing apps](https://www.canva.dev/docs/apps/previewing-apps/). If you haven’t already created an app, see [Quickstart](https://www.canva.dev/docs/apps/quickstart/) to create one. 1. Start the local preview: ```bash npm start:example digital_asset_management ``` Then preview the app from the Developer Portal, which opens the Canva editor in a new tab with a preview of your app in the sidebar. In [Your apps](https://www.canva.com/developers/apps), select your app, then: 1. On the app's **Inside Canva** page, set **Code upload > App source > Development URL** to the address of your local development server. The URL must point directly to a standalone JavaScript file. This field exists only for development: you can't submit an app for review while it holds a value. 2. Click **Preview**. The app opens in a new tab. Apps use the [Design Editor](/docs/apps/intents/design-editor) intent by default; if your app implements another intent, or more than one, choose which to preview under **Preview options > Choose an intent**, beside **Preview**. 3. The first time you open an app you have to connect it. Click **Open**, and the app loads in the iframe. **Note:** You only need to connect the app once. To preview your app with Safari, see [Using HTTPS](https://www.canva.dev/docs/apps/previewing-apps/#using-https). ## Step 5: Configure CORS Configure your CORS header by applying the configuration at [Cross-Origin Resource Sharing](https://www.canva.dev/docs/apps/cross-origin-resource-sharing/). ## Step 6: Add user authentication Update your app to add [user authentication](https://www.canva.dev/docs/apps/authenticating-users/). Frictionless authentication is not available for this type of app, so you’ll need to use [manual authentication](https://www.canva.dev/docs/apps/authenticating-users/manual/) with a third-party platform. ## Step 7: Remove signature verification Update your legacy extension to remove the signature verification code. You can do this by removing the `isValidPostRequest` and `isValidGetRequest` steps. For more information, see [Signature verification](https://www.canva.dev/docs/extensions/backend-development/verify-request/). ```diff app.post("/content/resources/find", async (request, response) => { - if (!isValidPostRequest(process.env.CLIENT_SECRET, request)) { - response.sendStatus(401); - return; - } response.send({ type: "SUCCESS", resources: [], }); }); ``` ## Step 8: Update config.ts Edit your [config.ts](https://github.com/canva-sdks/canva-apps-sdk-starter-kit/blob/main/examples/digital_asset_management/config.ts) to remove any configuration settings that you don't need. For more information, see the `config` settings in [SearchableListView](https://www.canva.dev/docs/apps/app-templates/storybook/?path=/docs/app-components-searchable-list-view-searchablelistview--docs). ## Next steps * To organize your content for a Digital Asset Management (DAM) app, see the [example app](https://www.canva.dev/docs/apps/app-templates/digital-asset-management/#step-3-customize-the-dam-app). * The DAM app template uses the [SearchableListView](https://www.canva.dev/docs/apps/app-components/searchable-list-view/) component in the background to let users navigate your content using filters and search. You might want to use this component in your app directly. * To learn about the capabilities, see the [SearchableListView](https://www.canva.dev/docs/apps/app-templates/storybook/?path=/story/app-components-searchable-list-view-searchablelistview--searchable-list-view) storybook. * When your app is ready, submit it on the Developer Portal. For more information, see [Submitting apps](https://www.canva.dev/docs/apps/submitting-apps/).