AEM EDS integration with mailchimp API for email subscription | Community
Skip to main content
tapasa4aem
May 12, 2025
Solved

AEM EDS integration with mailchimp API for email subscription

  • May 12, 2025
  • 2 replies
  • 1083 views

Hi Team,

 

Good day.

Currently we are trying to migration project into AEM EDS using on Universal Editor.

In the existing legacy site we have an integration with mailchimp API. Where the end user is supposed to enter his/her email address for newsletter subscription. It has only an email field and a submit button.

I am new to EDS implementation. 

I need your thoughts about following queries. If possible share few useful/related links for reference.

Queries

========

1. What are the options do we have for consuming mailchimp in our EDS application?

2. Where and how to store/use the API keys securely?

3. Can we leverage Node.js to create server site extension for consuming mailchimp API, because we don't have to use any Java/Sling/OSGi code so if we try to use? If Yes than the node.js code should be part of boilerlate-code?

 

Thanks & regards,

Tapas

 

@jeevan4007 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by arunpatidar

@arunpatidar ,

 

Thanks a lot for your response.

Now I am trying to have an open mind about most of the options available.

 

I was wondering whether creating a separate node.js app for consuming the mailchimp api and accessing the same via my EDS block js code will impact lighthouse score. Assuming the app will take care of storing API keys securely.

 

Is it possible to use any connectors which can be used and configured to authenticate with mailchimpAPI and the same can be leveraged from my EDS custom block js code for fetching the end point to mailchimp.

 

Thanks & best regards,

Tapas

 


Hi @tapasa4aem 

The Lighthouse score is calculated during the page load, so sending an email on form submission won’t affect it.

However, if you're using a connector or another solution like EDS, it will likely trigger an API call to submit the form.

I'm not certain whether the backend system receiving the data can handle email sending. If there's no existing system for that, you'll need to build a custom backend application—such as a Node.js app—as we discussed earlier.

I would suggest to check this directly with Adobe EDS team as well at https://discord.com/channels/1131492224371277874/1148893229316587550 

2 replies

arunpatidar
Community Advisor
Community Advisor
May 12, 2025

Hi @tapasa4aem 

You need a BFF or Middleware to perform any backend logic like sending an email etc.

Arun Patidar
tapasa4aem
May 13, 2025

Hi @arunpatidar ,

 

Can you please share/suggest few related articles which explaining such BFF/middleware integration with EDS.

Else kindly share your thoughts about how to do so?

 

Thanks & best regards,

Tapas

arunpatidar
Community Advisor
Community Advisor
May 13, 2025

Hi @tapasa4aem 

If you already have an API then you don't need middleware/BFF.

you can call API from clientside(fetch/ajax using javascript).

In case you want to protect endpoints with secret, you can use CDN as proxy pattern.

Arun Patidar