Marketo Connector Guide > Marketo connections overview > Using a Marketo connection in a process
  

Using a Marketo connection in a process

After you create a Marketo connection, you can use it in a Service step in a process.
  1. 1Add a Service step to the process.
  2. 2Click the Service tab.
  3. 3From the Service Type list, select Connection.
  4. 4From the Connection list, browse and select the Marketo connection that you created.
  5. 5From the Action list, select the action that you want to perform. For example, select the Get Access Token action to return an access token to authorize the Marketo connection requests as shown in the following image:
  6. The image shows the Get Access Token action that is used in a process to return an access token to authorize the Marketo connection requests.
    In this case, Application Integration populates the accessToken object under the output fields. Similar to the Get Access Token step, you can configure more service steps as required.
  7. 6Configure further steps as needed.
  8. 7Validate, save, and publish the process.
Note: To use fields with data types, such as array, boolean, double, or integer, you must use annotation to set variable types as shown in the following sample code:
<root xmlns:m="urn:informatica:ae:xquery:json2xml:meta-data">
<field_array m:isArray="true">
<property_1> ...</property_1>
</field_array>
<field_boolean m:type="xs:boolean">true</field_boolean>
<field_double m:type="xs:double">10.3</field_double>
<field_integer m:type="xs:int">5</field_integer>
</root>