1.5.1 CJA & ChatGPT with MCP server

[Alpha]{class="badge informative"}

Alpha Details
By using the CJA & Claude.ai with MCP server Alpha, You hereby acknowledge that the Alpha is provided “as is” without warranty of any kind. Adobe shall have no obligation to maintain, correct, update, change, modify or otherwise support the Alpha. You are advised to use caution and not to rely in any way on the correct functioning or performance of such Alpha and/or accompanying materials. The Alpha is considered Confidential Information of Adobe. Any “Feedback” (information regarding the Alpha including but not limited to problems or defects you encounter while using the Alpha, suggestions, improvements, and recommendations) provided by You to Adobe is hereby assigned to Adobe including all rights, title, and interest in and to such Feedback.
NOTE
This exercise on setting up and using an MCP Server with ChatGPT to connect to CJA is related to this exercise 1.1 Customer Journey Analytics: Build a dashboard using Analysis Workspace on top of Adobe Experience Platform. The CJA dataview and connection that is being used in the below exercise is the dataview and connection that was set up in that exercise. If you want to replicate the below results, you should follow those instructions first.

Video

In this video, you’ll get an explanation and demonstration of all the steps involved in this exercise.

1.5.1.1 Create custom app in ChatGPT for CJA

NOTE
Using CJA in ChatGPT requires the following:
  • a paid version of OpenAI’s ChatGPT
  • using the ChatGPT 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.

ChatGPT

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: CJA
  • MCP Server URL: check with your Adobe representative
  • Authentication: OAuth

Check the checkbox for I understand and want to continue.

Click Create.

ChatGPT

Once you’ve logged in successfully, you should see that your CJA app is now connected successfully.

ChatGPT

1.5.1.2 Set context in CJA

Close this window.

ChatGPT & CJA

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

ChatGPT & CJA

Before interacting further with CJA through ChatGPT, the context needs to be set.

For this exercise, the context needs to be set to use:

  • Dataview: –aepUserLdap-- - Omnichannel Data View

The Dataview setting helps to identify which dataview ChatGPT should look at when asking questions.

Enter the following Prompt and click the send button.

list dataviews

ChatGPT & CJA

You should then see a similar list of available dataviews.

ChatGPT & CJA

To change that to the dataview that needs to be used, enter the following Prompt and click the send button.

switch to dataview --aepUserLdap-- - Omnichannel Data View

ChatGPT & CJA

You should then see this.

ChatGPT & CJA

Your context is now properly set, so you can start sending specific prompts next.

1.5.1.3 Explore the dataview

NOTE
The dataview being used here has been set up as part of exercise Create a dataview.

Enter the following Prompt and click the send button to explore which metrics and dimensions are available to you.

list the available metrics and dimensions

ChatGPT & CJA

You should then see this response, which includes the metrics and dimensions that were set up as part of the exercise Create a dataview.

ChatGPT & CJA

1.5.1.4 Freeform Table - Product Views

You can now start exploring the data. Start by entering the below prompt and click send to submit your report request.

how many product views happened on January 21?

ChatGPT & CJA

Select RunReport.

ChatGPT & CJA

You should then see a response like this.

ChatGPT & CJA

You can now break down the response by adding a dimension. Enter the following prompt and click the send button.

break down product views by product name

ChatGPT & CJA

You should then see a response like this.

ChatGPT & CJA

You can now also create a visualization. Enter the following prompt and click the send button.

create a line visualization by hour for product views on January 21

ChatGPT & CJA

Select UpsertProject.

ChatGPT & CJA

Select RunReport.

ChatGPT & CJA

You should then see this.

ChatGPT & CJA

Scroll down.

ChatGPT & CJA

You can now also download this line graph. Enter the following prompt and click the send button.

export this chart to PNG

ChatGPT & CJA

You should then see this. Click Download the PNG.

ChatGPT & CJA

Enter the following prompt and click the send button.

can you breakdown product views by user agent?

ChatGPT & CJA

Select RunReport.

ChatGPT & CJA

You should then see this.

ChatGPT & CJA

1.5.1.5 Fallout Visualization

Enter the following prompt and click the send button.

can you create a fallout visualization for the product interaction funnel, starting with all traffic and then in the next steps add Product Views, Add to Cart and purchases?

ChatGPT & CJA

Select UpsertProject.

ChatGPT & CJA

Select RunReport.

ChatGPT & CJA

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

can you show me a visualization of the above fallout analysis?

ChatGPT & CJA

Click Download the PNG.

ChatGPT & CJA

You now see the visualization of your fallout analysis.

ChatGPT & CJA

Next Step: CJA & Claude.ai with MCP server

Go Back to Analytics & Agents

Go Back to All Modules

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