How do I provision and set up Asset Management in the Agent Browser UI?
Provisioning for Asset Management in the Agent Browser User Interface (Agent Browser UI)
This feature uses Oracle Content Management (OCM) as the backend store for digital assets. To leverage the asset management feature, you need to provision your Oracle Cloud account for OCM, and you need to configure your OCM account to work with Oracle B2C Service. Oracle B2C Service accounts need to be registered in Oracle Identity Cloud Service (IDCS) for this feature to work.
Note: Ensure that traffic to the domain,*.oraclecloud.com, is unrestricted by adding the domain to the allowed-domains list as mentioned in Answer ID 9527: Supported browsers for the Agent Browser User Interface
This document describes how to manually provision OCM. For more information on OCM, see Administering Oracle Content Management.
Create Oracle Cloud and OCM Accounts
- Create and activate an Oracle Cloud account.
See Create and Activate an Oracle Cloud Account.
Provision Your OCM Accounts
- Create an OCM instance.
You’ll need your OCM instance details later when the configuration settings are updated.
See Create an Instance from the Infrastructure Console.
- Create a user group of Oracle B2C Service users in the IDCS, providing access to your new OCM instance, and then assign the application roles recommended for the ‘Content Contributor’ organizational role.
The Oracle B2C Service user accounts need to be in IDCS so that they can log into OCM when provisioning is complete.
You will need your IDCS instance details later when the configuration settings are updated.
See Typical Organizational Roles, Application Roles & Set Up Users and Groups.
- Create a 2-legged OAuth authentication.
You will need your Client ID, Client Secret and Client Scope details later when the configuration settings are updated.
See Access Using 2-Legged OAuth.
- Set the application roles for the OAuth client to match the same roles as your Oracle B2C Service user group.
See Application Roles & Grant the Required Oracle Content Management Roles to the Client.
Configure OCM for Oracle B2C Service Integration
Do the following:
- Create a publishing channel for your assets.
This creates a channel ID and a channel token in OCM. You’ll need these later when you update your configuration settings.
See Create a Publishing Channel.
- Grant ‘Contributor’ role access to users and the OAuth client for the publishing channel.
See Share a Publishing Channel.
- Create a repository for your assets in OCM.
See Create an Asset Repository.
- Grant ‘Contributor’ role access to users and the OAuth client for the asset repository.
See Share a Repository.
- Add asset types to the asset repository, specifically Image, Video, and File asset types.
See Associate an Asset Type with a Repository.
- Update your domain to enable Cross-Origin Resource Sharing (CORS) for the embedded content.
See Embed Content in Other Domains, Understand Cross-Origin Resource Sharing (CORS) and Enable Cross-Origin Resource Sharing (CORS).
Update Your Oracle B2C Service Configuration Settings
Contact Oracle customer support to update your configuration settings. You need to provide the following information:
- OCM instance. For example: myocm000.ocp.oraclecloud.com
- IDCS instance. For example: idcs-g56yh5s1w23s2563tasaf030e7a6dh2l39.identity.oraclecloud.com
- Client ID. For example: r0rf6k07c600426f8fffd265ec76f2a9
- Client Secret. For example: a90fcaf5-54f3-27c6-g5fe-287fb9a2fd17
- Client Scope. For example: https://40A88714C5A54127H9E274D957ADD8.myocm.ocp.oraclecloud.com:443/urn:opc:cec:all
- Channel ID. For example: RCHANNELC5CCD2798B413A0BAA4A3A93C3A6BDPT
- Channel Token. For example: 45ada256e7ed435d48bdaf922e6c6051
Enable the Asset Management Feature
Contact Oracle customer support to enable the asset management feature in the Agent Browser UI for your Oracle B2C Service site.