1.6.3 Scale Content Fragments with ChatGPT & MCP Server

IMPORTANT
In order to complete this exercise, you need to have access to a working AEM Sites and Assets CS with EDS environment and the various AEM Agents need to be enabled for the IMS Org you’re using.
If you don’t have such an environment yet, go to exercise Adobe Experience Manager Cloud Service & Edge Delivery Services. Follow the instructions there, and you’ll have access to such an environment.
IMPORTANT
If you have previously configured an AEM CS Program with an AEM Sites and Assets CS environment, it may be that your AEM CS sandbox was hibernated. Given that dehibernating such a sandbox takes 10-15 minutes, it would be a good idea to start the dehibernation process now so that you don’t have to wait for it at a later time.

1.6.3.1 Create Content Fragment Model

Go back to your Adobe Experience Manager Author environment, to Tools and then go to Configuration Browser.

AEM Agents

Click Create.

AEM Agents

Use Content Fragments for the fields Title and Name.

Make sure the options Content Fragment Models and GraphQL Persisted Queries are both enabled.

Click Create.

AEM Agents

Go back to your Adobe Experience Manager Author environment and then go to Content Fragments.

AEM Agents

Go to Content Fragment Models, select your configuration Content Fragments and then click Create.

AEM Agents

Use the name --aepUserLdap-- - CitiSignal CFM. Click Create and open.

AEM Agents

You should then see this. Drag and drop a Single line text field onto the canvas.

AEM Agents

Change the field Field label to Header.

AEM Agents

Go back to Data Types. Drag and drop a Single line text field onto the canvas.

AEM Agents

Change the field Field label to Subheader.

AEM Agents

Go back to Data Types. Drag and drop a Multi line text field onto the canvas.

AEM Agents

Change the field Field label to Detail Description.

AEM Agents

Go back to Data Types. Drag and drop a Single line text field onto the canvas.

AEM Agents

Change the field Field label to CTA Text.

AEM Agents

Go back to Data Types. Drag and drop a Single line text field onto the canvas.

AEM Agents

Change the field Field label to CTA Link. Click Save.

AEM Agents

You should then see this.

AEM Agents

Select your content fragment model and click Publish.

AEM Agents

Click Publish.

AEM Agents

1.6.3.2 Create Content Fragment

Go back to your Adobe Experience Manager Author environment and then go to Content Fragments.

AEM Agents

You should then see this. Click Create and then select Folder.

AEM Agents

Enter the title: --aepUserLdap-- - CF. Click Create.

AEM Agents

Go back to your Adobe Experience Manager Author environment and then go to Assets.

AEM Agents

Go to Files.

AEM Agents

Select the folder you just created, which should be named --aepUserLdap-- - CF and click Properties.

AEM Agents

Go to Cloud Services and then click the folder icon.

AEM Agents

Select the cloud configuration you created before, which should be named Content Fragments. Click Select.

AEM Agents

You shoudl then see this. Click Save & Close.

AEM Agents

Go back to your Adobe Experience Manager Author environment and then go to Content Fragments.

AEM Agents

You should then see this. Click Create and then select Content Fragment.

AEM Agents

Select the Content Fragment Model you created before, which should be named --aepUserLdap-- - CitiSignal CFM. Use the name --aepUserLdap-- CitiSignal Fiber Max.

Click Create and open.

AEM Agents

You should then see this.

AEM Agents

Fill out the fields like this:

  • Header: CitiSignal Fiber Max
  • Subheader: Experience high speed internet now
  • Detail Description:
Experience the future of connectivity with CitiSignal Fiber Max, the ultimate solution for high-speed internet. Designed for homes and businesses that demand performance, Fiber Max delivers blazing-fast fiber speeds, ensuring seamless streaming, ultra-responsive gaming, and crystal-clear video calls.

Key Features:

Unmatched Speed: Enjoy lightning-fast downloads and uploads powered by cutting-edge fiber technology.
Reliable Performance: Consistent connectivity for work, entertainment, and everything in between.
Future-Ready: Built to handle the growing demands of smart homes and digital lifestyles.
Unlimited Potential: No data caps, no throttling—just pure speed.
Why Choose CitiSignal Fiber Max? Stay ahead with internet that works as hard as you do. Whether you’re powering a remote office or streaming in 4K, Fiber Max ensures you never miss a beat.

CTA Text: Upgrade now by signing your new contract!
CTA Link: https://techinsiders68.adobedemosystem.com/

Click Publish and then select Now.

AEM Agents

Click Publish.

AEM Agents

1.6.3.3 Configure MCP server in ChatGPT

NOTE
Using Adobe Marketing Agent in ChatGPT requires the following:
  • a paid version of OpenAI’s ChatGPT Enterprise
  • using the ChatGPT Enterprise web client

Go to https://chatgpt.com/ and log in using your account details. Once you’re logged in, you should see this. Click your username and then select Settings.

ChatGPT

Go to Apps and then select Advanced settings.

ChatGPT

Turn on Developer mode and then click Back.

ChatGPT

Click Create app.

ChatGPT

Fill out the fields like this:

  • Name: aem
  • MCP Server URL: https://mcp.adobeaemcloud.com/adobe/mcp/content
  • Authentication: OAuth

Check the checkbox for I understand and want to continue.

Click Create.

ChatGPT

ChatGPT will now attempt to connect to your Adobe account. Select Allow Access and then you’ll have to log in with your Adobe account.

Once you’ve logged in successfully, you should see that your Adobe Marketing Agent is now connected successfully.

ChatGPT

1.6.3.4 Use AEM MCP server in ChatGPT

Close this window.

Agent Orchestrator

You should then see this. Click the + icon, go to More and then select aem.

Agent Orchestrator

Enter the following prompt and click Send.

I just created a new custom mcp server named 'aem'. what can I do with that?

Agent Orchestrator

You should then see something like this. Enter the following prompt and click Send.

use the author url https://author-pXXXXXX-eXXXXXXX.adobeaemcloud.com/ from now on

Agent Orchestrator

You should then see something like this. Enter the following prompt and click Send.

find the content fragment --aepUserLdap-- - CitiSignal Fiber Max and make a variation called --aepUserLdap-- - CitiSignal Fiber Max (FR), then translate all fields into french

Agent Orchestrator

Click CreateFragmentVariation.

Agent Orchestrator

Click UpdateFragment.

Agent Orchestrator

You should then see this. Your fragment variation has been created successfully.

Agent Orchestrator

You can now see your new variation in the AEM UI as well.

Agent Orchestrator

Next Steps

Go Back to AEM & Agents

Go Back to All Modules

recommendation-more-help
4bbf020c-24db-4a43-b239-88fab142f02d