About
This article explains how administrators can set up a media sharing workflow for Adobe Experience Manager (AEM).
The workflow allows Content Creators to publish media to a Shared Repository in Content Hubs and make it available to AEM Authors for embedding.

Before you start
Before setting up the workflow, make sure:
- The Kaltura Connector for AEM is deployed and configured.
- A KAF instance has been provisioned for the AEM connector.
- A Shared Repository is enabled in Content Hubs. See Sharedrepositories module for instructions.
- A Shared Repository is enabled for the AEM site. See Configure Kaltura settings for an AEM site.
Step 1: Create a Shared Repository in Content Hubs
Watch a quick tutorial
- Select Channel from the +Create menu.
- Enter a name for the channel, for example, AEM Global Content.
- Under Privacy, select Shared Repository.
- Click Create.

The Create Channel window opens.


The Shared Repository is created in Content Hubs.

Step 2: Set up automated media routing
Automatically route media from the Content Hubs Shared Repository to the AEM Shared Repository using an Agentic Workflow.
To learn more about Kaltura's Agentic Workflows, see Introduction to Agentic Workflows.
Watch a quick tutorial
- In the Rich Media CMS, click Agentic Workflows in the top navigation.
- Click +Create new workflow.
- Under Step 1 - Set a trigger, select When media is added to a category.
- Select the Shared Repository you created in Content Hubs.
- Click Done.
- Under Step 2 - Add actions, click Publish Media.
- Select the AEM Shared Repository. This is where the workflow publishes the media so it's available to AEM authors.
- Click Done.
- Click Create Workflow.
- Click Activate at the top left.

The Agentic Workflows page opens.


The Setup trigger window opens.

The trigger is added to the workflow. When media is published to this Shared Repository, the workflow starts automatically.


The Publish Media window opens.
This is the destination repository and is different from the Content Hubs Shared Repository you selected for the trigger.

The new action is created and displays on the right.
The new workflow page opens.

The workflow is active.
Media published to the Content Hubs Shared Repository is automatically routed to the KAF Shared Repository and becomes available to AEM authors.
Media may take a few moments to become available in the AEM Shared Repository while the Agentic Workflow processes it.
Verify the workflow
After media is published to the Content Hubs Shared Repository, you can check that it was successfully routed to the AEM Shared Repository.
Watch a quick tutorial
- In the Rich Media CMS, click Agentic Workflows in the top navigation.
- Select the workflow you created for the AEM Shared Repository.
- Click the Activity tab.
- Locate the media in the activity list.


The workflow page opens.

A Running status means that the workflow is still processing. If needed, click the Refresh icon.
A Success status means that the workflow completed successfully. The media is now available in the AEM Shared Repository for AEM Authors.

Content creators can now upload media in Content Hubs and publish it to the Shared Repository. For instructions, see AEM Content Creator's guide to uploading media.