Set up the Optimizely PIM sync job in Optimizely B2B Commerce
As part of the onboarding process, your implementation team (whether Optimizely or your Partner) will need to set up the job that sends data into Optimizely PIM, like your websites, related product types, and languages, among other items. Your Partner will follow these steps to set up this connection.
This job should only be set up to point to the customer's environment, not to a Partner QA or test site. For more information on the additional PIM jobs and how to publish products from PIM, see the Publish PIM Updates to B2B Commerce article.
Set up the Optimizely PIM connection
- Obtain machine to machine credentials from the Operations team. This will include the Client ID and Client Secret.
- Log into the customer's sandbox Admin Console.
- Go to Administration > Jobs > Connections.
- Click Add Integration Connection.
- Set up the new connection as follows:
Field Name Field Properties Name PIM Type Name ApiClientCredentialsEndpoint Source Server Time Zone Central Time (US & Canada) Debugging Enabled No Token Endpoint https://login.microsoftonline.com/episerveridentity.onmicrosoft.com/oauth2/tokenhttps://auth.insitesoft.com (production)
API Address https://pim.B2B Commerce Cloud.net (production)
Client ID [enter the information you received from Operations]
Client Secret [enter the information you received from Operations]
- Click Save.
Enable the Optimizely PIM connector
- Go to Adminstration > System > Settings in the Admin Console.
- Search for "Enable Optimizely PIM."
- Toggle this setting to YES.
- For the Optimizely PIM API Connection setting, select PIM from the drop-down list.
- Click Save.
- You will then be prompted to set up job definitions. Click Yes.
Set up job definitions
- Go to Administration > Jobs > Job Definitions.
- Search for "PIM."
- Edit the job PIM: Synch Setup Data.
- Set the Connection to Internal.
- Click the More Options button and choose Schedule Job.
- Schedule the job to run immediately and click Schedule Job.
- Select the History tab.
- Validate that your job has run successfully. If it has not, check your settings and try the job again.
Validate in Optimizely PIM
- Log in to the customer's PIM instance.
- Go to Configure > Properties.
- Click Add Property.
- Enter test information to allow you to click Continue.
- On the Property Mapping step, validate that the Property Mappings to B2B Commerce drop-down menu is populated. If so, you have correctly set up the PIM Synch job.
- If Operations provided you with this information, you can also go to Configure > Settings and add the CDN Prefix.