How to configure SFMC integration

This how-to explains how to insert a block of dynamic product recommendations into an SFMC (Salesforce Marketing Cloud) email by calling the Reco & Merch API from AB Tasty. This enables showing personalized products in real time, at the moment the email is opened.

The SFMC integration is done via API. There is currently no dedicated cartridge available.

Prerequisites

  • Access to Content Builder in SFMC.

  • A Reco & Merch template already configured on AB Tasty.

  • A valid Bearer Token provided by AB Tasty.

  • Required variables available in your Data Extension (e.g. EmailAddr, CodeEAN).

1

Connect SFMC to Reco & Merch

  1. Go to Settings > Integrations in your AB Tasty Reco & Merch interface.

  2. Click Connect SFMC.

  3. A pop-up window will open to authenticate your SFMC account.

  4. Once the connection is successful, your workspace will be linked to SFMC.

2

Deploy a recommendation in your email

Now you can deploy a recommendation in SFMC.

Notes on SFMC

Below are some notes on SFMC

Performance

  • Every email open triggers a live API call.

  • High-volume sends (500k+ subscribers) = high API traffic.

  • Ensure AB Tasty API quota is sufficient.

Fallback

  • If the API fails, the block may be empty.

  • Always define a static fallback (e.g. “Top Sellers” block).

Security

  • The Bearer Token is sensitive.

  • Rotate it regularly and avoid exposing it in shared snippets.

  • For extra safety, use a proxy to hide the token.

Data Extension alignment

  • Verify all fields (CodeEAN, EmailAddr) exist for every subscriber.

  • If missing, the API call URL will be invalid → “400 Bad Request” errors.

Rendering

  • Always test in Preview & Test with real subscriber profiles.

  • Validate rendering across multiple email clients (Gmail, Outlook, Mobile).

Last updated

Was this helpful?