Configure the Watson Content Hub transport method
Configure the Watson Content Hub Integration transport in the WebSphere Commerce Administration Console so that messages can be sent between WebSphere Commerce and Watson Content Hub.
Procedure
- Open the Administration Console.
- Select Site on the Administration Console Site/Store Selection page.
- Click...
Configuration | Transports | Add | Watson Content Hub Integration transport | Add
The Watson Content Hub transport is added and placed in active state.
- Configure the Watson Content Hub transport method.
Select the check box beside the Watson Content Hub Integration transport method and click Configure. The Transport Configuration Parameters dialog opens.
- Enter the values to be used by the transport method:
Parameter Value Password IBMid password that we use to log in to Watson Content Hub. Tenant ID Watson Content Hub tenant ID. To view the tenant information:
- In the Watson Content Hub header, expand the menu by clicking user name.
- Click Hub information.
- Note the value of Content hub ID. This is your tenant ID.
User Name IBMid or email address that we use to log in to Watson Content Hub.
- Click OK to accept the changes, or click Cancel to return to the Transport Configuration page.
- Work with URL redirect filtering so that Watson Content Hub can be properly accessed.
- The following web modules are enabled for URL redirect filtering by default:
- LobTools
- Store
- Preview
If you have disabled URL redirect filtering for any of those web modules, enable it.
- Add the following allowed domain:
<URLRedirectFilter enable="true"> <AllowedDomain name="digitalexperience.ibm.com"/> </URLRedirectFilter>
- (Oracle) Update the STORECONF table to include your tenant ID to ensure that Watson Content Hub is reachable.
- Run the following SQL statement:
update storeconf set value='TenantID' where name = 'wc.externalContent.tenant-id';
Where TenantID is the Tenant ID value entered in the transport method configuration parameters in the preceding steps.
- Update the STORECONF table to include your Watson Content Hub host name to ensure that Watson Content Hub is reachable at the correct address.
- In the Watson Content Hub header, expand the menu by clicking your user name.
- Click Hub information.
- Note the value of Hostname. The value will be in the following format:
https://myX.digitalexperience.ibm.com
Where X is a number value associated with your host name. For example...
https://my1.digitalexperience.ibm.com
- Run the following SQL statement, using the hostname value obtained in the preceding step:
update storeconf set value='ENABLED' where name='wc.externalContent.enablementMode'
update storeconf set value='$tenantId' where name='wc.externalContent.tenant-id';
update storeconf set value='https://myX.digitalexperience.ibm.com' where name='wc.externalContent.hostName';
- Restart the WebSphere Commerce server.
- Restart the WebSphere Commerce search server.
Next topic: Enable SSL for Watson Content Hub integration