I am trying to connect AEM 6.4 with Hybris,
Steps I've followed :
1. I've installed package cq-hybris-content-6.3.2 via package manager,
2. I've added cq:commerceProvider as hybris in my page and component JCR content (example /content/aemtraining/en/login-page/jcr:content)
3. In the component servlet, I've tried to do req.getResource().adaptTo(HybrisService.class) and req.getResource().adaptTo(HybrisService.class)
4. Deployed my bundle, however, I am getting null always from the adaptTo method.
Can somebody explain to me what extra needs to be done?
Note: I don't want to install the demo package geometrixx
As per the documentation at , the following packages are required. Can you install these packages and let us know if this is still an issue?
To install eCommerce functionality you need:
Also, check if hybris server is running and AEM-Hybris connector is configured properly to find the hybris server.
If this is still an issue, setup a DEBUG level logger on "com.adobe.cq.commerce" to get more information about the null value.
 Developing with hybris