[Integration]{class="badge positive"}

Integrate AEM Forms and Marketo

[AEM Forms 6.5]{class="badge informative"}

Marketo, part of Adobe provides Marketing Automation software focused on account-based marketing, including email, mobile, social, digital ads, web management, and analytics.

Using the Form Data Model of AEM Forms we can now integrate AEM Form with Marketo seamlessly.

Learn more about the Form Data Model

Marketo exposes a REST API which allows for remote execution of many of the system’s capabilities. From creating programs to bulk lead import, there are many options which allow fine-grained control of a Marketo instance. Using the Form Data Model it is quite simple to integrate AEM Forms with Marketo.

This tutorial will walk you through the steps involved in integrating AEM Forms with Marketo using Form Data Model. On completing the tutorial you will have an OSGi bundle that will do the custom authentication against Marketo. You will also have configured data source using the provided swagger file.

To get started it is highly recommended that you are familiar with the following topics listed in the Prerequisite section.

Prerequisite

  1. AEM server with AEM Forms Add on package installed
  2. Local AEM Development Environment
  3. Familiar with Form Data Model
  4. Basic knowledge of Swagger Files
  5. Creating Adaptive Forms

Client Secret ID and Client Secret Key

The first step in the integration of Marketo with AEM Forms is to obtain the API credentials that are needed to make the REST calls using API. You will need the following

  1. client_id
  2. client_secret
  3. identity_endpoint
  4. authentication URL

Please follow the official Marketo documentation to get the above-mentioned properties. Alternatively, you can also contact the administrator of your Marketo instance.

Before you begin

Download and unzip the assets related to this article. The zip file contains the following:

  1. BlankTemplatePackage.zip - This is the Adaptive Form template. Import this using the package manager.
  2. marketo.json - This is the swagger file that is used to configure the data source.
  3. MarketoAndForms.MarketoAndForms.core-1.0-SNAPSHOT.jar - This is the bundle that does the custom authentication. Feel free to use this if you are unable to complete the tutorial or your bundle is not working as expected.

Next Steps

Create custom authentication

recommendation-more-help
8de24117-1378-413c-a581-01e660b7163e