SAP Connector Configuration

Info: This feature in Bloomreach Content requires a standard or premium license. Contact Bloomreach for licensing details.

Overview

The SAP connector uses environment variables defined in the .env file to configure integration with SAP. For general information about configuring the brX GraphQL Service, see Configure brX GraphQL Service.

Configuration Options

Set the following environment variables in your .env file to connect the brX GraphQL Service to SAP:

Property NameDescriptionExample Value(s)Default Value
SAP_API_BASE_URLSAP API base URL.'https://api.<instance_ID>.cc.commerce.ondemand.com/rest/v2'
SAP_AUTH_BASE_URLSAP OAuth2 server URL.'https://api.<instance_ID>.cc.commerce.ondemand.com/authorizationserver'
SAP_BASE_SITE_IDSAP site or project instance name.'mysite'
SAP_CLIENT_IDOAuth2 client ID for SAP requests.'myApollo'
SAP_CLIENT_SECRETOAuth2 client secret for SAP requests.'changeIt'
SAP_SCOPEOAuth2 scope(s) for SAP requests.'basic'
SAP_MEDIA_BASE_URLBase URL for product image resources.'https://api.<instance_ID>.cc.commerce.ondemand.com'
SAP_DEFAULT_CATALOG_IDENTIFIERDefault product catalog identifier.'myProductCatalog'
SAP_DEFAULT_CATALOG_VERSION_IDDefault product catalog version name.'Online'
SAP_CATEGORY_SELECTOR_NAMESelector name to filter products by category. Use 'category' for B2C or 'allCategories' for B2B.'category', 'allCategories'

Configure these properties according to your SAP environment and project requirements. The .env file must be updated and the service restarted for changes to take effect.

Share Feedback
Page: /frontend/commerce-accelerator/brx-graphql-service/sap-connector-configuration
Section: Frontend
Category *
SAP Connector Configuration | Bloomreach Content Documentation