Last month, I had the chance to participate in the Sitecore Hackathon 2025 as part of the Go Horse Team. During the event, I worked on integrating ChatGPT with Sitecore CM by combining Sitecore PowerShell Extensions (SPE) and a frontend built with HTML, JavaScript, and CSS. In this blog post, I’ll walk you through how we did it.
As shown in the animated GIF below, our implementation streams ChatGPT responses in real time, just like the native ChatGPT interface.
The integration kicks off with a pop-up triggered via SPE. This pop-up grabs configuration parameters from the Sitecore CM items and passes them to JavaScript variables.
Sitecore then renders an iframe containing our frontend code. From here, it’s a fairly standard ChatGPT-style frontend with live streaming responses.
Below, you’ll find the base HTML, JavaScript, and CSS code used in our Hackathon project:
HTML
JS
CSS