The OCP database is not included in the free version of OCP. The free version syncs data in real-time without using the OCP database, letting you access public apps and data syncs.
Contact your Customer Success Manager if you have any questions.
The Commercetools app syncs your Commercetools catalog to Optimizely Graph.
This app imports the Commercetools product catalogue data to OCP, where you can then use the Sync Manager to sync this data to your other Optimizely products.
Install and configure the app
- Go to Data Setup > App Directory.
- Select the Commercetools app.
- Click Install App. The Settings tab displays.
- Expand the Commercetools Connection section, complete the following settings, and then click Connect.
- Project Key – Enter the unique identifier for your Commercetools project.
- API Region – Select the geographic region of your Commercetools project.
- Client ID – Enter the client ID of your Commercetools API client.
- Client Secret – Enter the client secret of your Commercetools API client.
- Expand the Optimizely Graph Connection section, complete the following settings, and then click Connect to Optimizely Graph.
- App Key – Enter the app key for your Optimizely Graph account.
- App Secret – Enter the app secret for your Optimizely Graph account.
- Languages to Sync – Select the languages you want to sync to Optimizely Graph. The app will create products for each language.
- Custom Attributes to Sync – Select custom attributes from your Commercetools products that you want to include in the Optimizely Graph data schema. The app will sync these attributes along with standard product data.
- Expand the Data Synchronization section and toggle Enable Realtime Updates via Webhooks on if you want the app to create webhooks in Commercetools to receive real-time updates.
- Click Fetch All Products Now and Fetch All Categories Now to immediately sync all your Commercetools products and categories to Optimizely Graph.
- Click Save. The app will start syncing your Commercetools data to Optimizely Graph.
Sync Commercetools data to other Optimizely products
- Go to Data Setup > Sync Manager.
- Click New Sync.
- Enter a Sync Name, like Commercetools Products to Optimizely Graph.
- Complete the following for the sync source:
- Source – Select OCP database.
- Object – Select the data type that you want to sync from Bynder, like Commercetools.
- Complete the selections for your sync destination:
- If you select Content Graph (now called Optimizely Graph) as the product to which you want to sync your Commercetools data, you must also select the Instance, Object, Status, and Language.
- If you select OCP App as the product to which you want to sync your Commercetools data, you must then select the App and Object.
-
Connect specific Commercetools fields with your chosen destination fields in the Field Mapping section.
To autopopulate the field mappings based on your chosen source object, select Inherit Source Object in the Object drop-down list of the Destination section, and then click Apply.
- Toggle off any field mappings that you do not want to sync (all are on by default).
- Select the Sync Schedule cadence. For example, select Every 1 hour to sync Commercetools data to your chosen destination once per hour.
- Click Save. Your Commercetools data now syncs to your chosen destination on your chosen schedule.
- Repeat these steps if you want to sync different Commercetools data to different destinations.
Article is closed for comments.