Expand my Community achievements bar.

SOLVED

AEM integrated with Marketo?

Avatar

Level 1

Has anyone ever integrated AEM with Marketo before? We are considering the option but are wondering how much implementation work will go into it. Any feedback would be much appreciated. 

1 Accepted Solution

Avatar

Correct answer by
Level 10

AEM does not have a connector with this product. Like other products that expose a Java or Restful API, you need to write a custom service to integrate with this product. If any community members ahve done this - please provide more details. 

View solution in original post

3 Replies

Avatar

Correct answer by
Level 10

AEM does not have a connector with this product. Like other products that expose a Java or Restful API, you need to write a custom service to integrate with this product. If any community members ahve done this - please provide more details. 

Avatar

Administrator

There is no integration or connector component between these two products. You would have to create a custom AEM service and integrate with Marketo using its Rest API - which it supports. Here are community articles on how to hook a Restful service into AEM. To hook into a third-party service - you write an CQ OSGi bundle that contains operations that can invoke the third party service. In your custom OSGI service -- you can wrap a Java API that knows how to invoke operations of the third-party service. 

 

Option 1 :-

Creating Adobe Experience Manager bundles that invoke third party Restful web services

http://helpx.adobe.com/experience-manager/using/creating-cq-bundles-consume-web.html

http://helpx.adobe.com/experience-manager/using/integrating-livecycle-cq-applications.html

Marketo Web API :- http://developers.marketo.com/documentation/asset-api/

 

Create a OSGI service or Sling Servlets and write a code to send HTTP request GET/POST in it. 

Example Code :-

import org.apache.commons.httpclient.HttpClient;import org.apache.commons.httpclient.methods.PostMethod;
 
String url = "http://www.google.com";InputStream in = null;try {HttpClient client = new HttpClient();PostMethod method = new PostMethod(url);//Add any parameter if u want to send it with Post req.method.addParameter("p", "apple");int statusCode = client.executeMethod(method);if (statusCode != -1) {in = method.getResponseBodyAsStream();}


 

Option 2:-

Marketo can be programmed using SOAP.

Link:- http://developers.marketo.com/documentation/soap/

We have a community article to show how to Creating Adobe CQ bundles that consume web services (SOAP).

Link:- https://helpx.adobe.com/experience-manager/using/creating-cq-bundles-consume-web.html

 

 

I hope this would help you. 

 

Thanks and Regards

Kautuk Sahni



Kautuk Sahni