2 Before You Install the Recipe

You must perform the following configuration tasks on your Oracle ERP Cloud and Magento Commerce Cloud instances in order to successfully connect to these external systems using Oracle Integration and create customers in Magento Commerce Cloud for Oracle ERP Cloud accounts.

Configure Oracle ERP Cloud

To access the Oracle ERP Cloud instance from Oracle Integration, you’ll require a separate user account on Oracle ERP Cloud.

Log in to your Oracle ERP Cloud instance as an Administrator and perform the following tasks.

  1. Create a user account for Oracle Integration. Make a note of the user name and password you set for the account. You’ll use the credentials of this user account to connect to Oracle ERP Cloud from Oracle Integration.
  2. Assign the following roles to the user account. For more information on these roles, see Assign Required Roles to an Integration User.
    • Integration Specialist
    • Oracle ERP Cloud-specific data access to the integration user
  3. Create custom fields in Application Composer.
    1. In the top-left corner of the Oracle ERP Cloud home page, click Menu, expand Configuration, and select Sandboxes.
    2. In the Sandboxes page, click Create Sandbox.
    3. In the Create Sandbox page, specify the name of the Sandbox, and from the All Tools section, select Application Composer. Further, click Create and Enter.
    4. In the top-left corner of the Oracle ERP Cloud home page, click Menu, expand Tools, and select Application Composer.
    5. In the Application Composer page, expand Standard Objects, and expand Account, and then select Fields.
    6. In the Fields page, click Create a custom field.
    7. In the Select Field Type pop-up, select Text, and click OK.
    8. In the Create Text Field page, specify the name of the field as MagentoCustomerId, and click Save and Close.
    Similarly, repeat steps 3d. to 3h. to create custom fields for MagentoEmailId, MagentoAccountLastName, and MagentoPhoneNumber.
  4. Add the custom fields to the page layouts.
    1. In the Application Composer page, select Pages, and select Creation Page Layouts. Further, select Default Custom Layouts.
    2. Click Edit and add all the custom fields created in the previous step.
    3. Click Save.
    Similarly, repeat step 4 to add all the custom fields created in the previous step to the Details Page Layouts.
  5. Publish the changes.
    In the top-left corner, select MagentoFields, and select Publish.

Configure Magento Commerce Cloud

To access the Magento Commerce Cloud instance from Oracle Integration and create customers, you’ll need to create a user account for Oracle Integration on Magento Commerce Cloud and make a few other configurations. See Prerequisites for Creating a Connection.