> ## Documentation Index
> Fetch the complete documentation index at: https://help.emaillove.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Marketo

> Connect your Adobe Marketo Engage account and export templates directly to Marketo.

This guide will walk you through connecting your Adobe Marketo Engage account to Email Love Builder, enabling you to export email templates directly to Marketo.

## Prerequisites

Before connecting, you'll need:

* A Marketo (Adobe Marketo Engage) account with administrator access
* Your Marketo Munchkin ID
* Your Marketo API Client ID and Client Secret (from a LaunchPoint API service)

## Connecting Marketo

<Steps>
  <Step title="Get Your Munchkin ID">
    1. Log in to your Marketo dashboard
    2. Navigate to **Admin > Integration > Munchkin**
    3. Locate your Munchkin ID in the format: `XXX-XXX-XXX`
    4. Copy this value
  </Step>

  <Step title="Create or Retrieve API Credentials">
    1. In Marketo, go to **Admin > Integration > LaunchPoint**
    2. Find an existing API service with email template permissions, or create a new one
    3. Click the service to view its details
    4. Retrieve or generate the **Client ID** and **Client Secret**
    5. Copy both values

    <Note>
      The API service must have permissions to create and manage email templates. If creating a new service, ensure it's assigned a role with these permissions.
    </Note>
  </Step>

  <Step title="Connect in Email Love Builder">
    1. In Email Love Builder, go to **Settings > Integrations**
    2. Find **Marketo (Adobe Marketo Engage)** and click **Connect**
    3. Enter your Marketo Munchkin ID
    4. Enter your Client ID and Client Secret
    5. Click **Validate**

    Email Love Builder will validate your credentials against your Marketo account.
  </Step>

  <Step title="Select a Default Folder">
    After validation, you'll be prompted to select a default folder in Marketo where exported templates will be stored. This folder is where new email templates from Email Love Builder will be created.

    1. Select your preferred folder from the dropdown
    2. Click **Save**

    Your Marketo integration is now active.
  </Step>
</Steps>

## Exporting Templates to Marketo

Once connected, exporting a template to Marketo is simple:

1. Open a template in the Email Love Builder editor
2. Click the **Export** button in the toolbar
3. Select **Export to Marketo**
4. Your template is created as a new email template in Marketo
5. The template appears in your selected default folder
6. You can now use this template in your Marketo campaigns

## Handling Duplicate Template Names

If a template with the same name already exists in Marketo, Email Love Builder automatically appends a timestamp to the template name to ensure uniqueness. For example:

* Template name: `Welcome Email`
* If duplicate exists, Email Love Builder creates: `Welcome Email - 2024-01-15-143022`

This prevents accidental overwrites and allows you to manage multiple versions of templates as needed.

## Template Details

When you export a template to Marketo:

* The template name matches the template name in Email Love Builder (with timestamp appended if a duplicate exists)
* The template includes all HTML, styling, and content from your Email Love Builder template
* The template is created in the default folder you selected during setup
* The template is created as a draft, allowing you to review it before use
* Images and assets are included based on Email Love Builder's export settings

## Disconnecting Marketo

To remove the Marketo integration:

1. Go to **Settings > Integrations**
2. Find **Marketo (Adobe Marketo Engage)** in the list
3. Click **Disconnect**

Your Marketo account and any previously exported templates remain unchanged. You can reconnect at any time.

## Troubleshooting

### "Invalid Munchkin ID" Error

* Verify that your Munchkin ID is correct and in the format `XXX-XXX-XXX`
* Confirm that it matches the ID shown in **Admin > Integration > Munchkin**

### "Invalid Client ID or Client Secret" Error

* Double-check that both values are copied correctly from your LaunchPoint service
* Verify that the API service is active and has not been revoked
* Ensure the API service has email template permissions

### "Validation Failed" Error

* Verify all credentials are correct
* Confirm that your Marketo account is active and accessible
* Check that the API service has sufficient permissions
* Try disconnecting and reconnecting your Marketo account

### Export Fails

* Verify that your Marketo integration is still active in Settings > Integrations
* Check that your credentials still have the necessary permissions
* Ensure your Marketo account has space to create new templates
* Try selecting a different default folder during reconnection

## Need Help?

For additional support:

* Consult [Adobe Marketo's API documentation](https://developers.marketo.com/)
* Review [Marketo's LaunchPoint setup guide](https://docs.marketo.com/display/public/DOCS/LaunchPoint)
* Contact Adobe Marketo support for account-specific issues
* Reach out to the Email Love Builder team for integration questions
