Skip to Content
Technical Articles
Author's profile photo Rohit Chouhan (Deloitte)

ChatGPT Custom Widget: Enhance Your SAP Analytics Cloud Experience with the ChatGPT Custom Widget

SAC Custom Widget for ChatGptWidget is a valuable resource for SAP Analytics Cloud users looking to integrate into their analytics workflow. Its integration with the GPT language model, along with its customizable features, makes it a sophisticated and effective solution for natural language processing within the SAC environment.



To use this widget in your SAP application, follow these steps:

  • Download the ChatGptWidget.json file from the URLs specified in the webcomponents property of the JSON.
  • Go to your SAC Portal, select Analytic Application from the left side bar, and then go to the Custom Widget tab.
  • Click on the + icon on the right side and select the ChatGptWidget.json file that you downloaded.
  • You’re done! You can now use it in your app.

How to get ChatGPT apiKey?

  • Log into your OpenAI account on the OpenAI website.
  • Click on the “View API Keys” button in the top-right corner of the page, or Click Here
  • Click on the “Create an API Key” button to generate a new API key.
  • Done, Now use it to Custom Widget


The SAC Custom Widget for ChatGptWidget is an open-source project on GitHub that provides a fully customizable chatbot widget for SAP Analytics Cloud (SAC). The ChatGptWidget utilizes the powerful GPT (Generative Pre-trained Transformer) language model from OpenAI to provide natural language processing capabilities.

Assigned Tags

      You must be Logged on to comment or reply to a post.
      Author's profile photo Paul PINARD
      Paul PINARD

      Hi Rohit,

      Nice integration, thanks for sharing!

      Would you be able to add "Artificial Intelligence" as an "SAP Managed Tag" of your article so our community of AI enthusiasts can easily find it through search and pages?

      Author's profile photo Rohit Chouhan (Deloitte)
      Rohit Chouhan (Deloitte)
      Blog Post Author

      Hey Paul,

      Updated, thanks for sharing!

      Author's profile photo Yamit Alejandro Huertas Parra
      Yamit Alejandro Huertas Parra

      Hello Rohit, I have tried to test the widget but it doesn't work only appears the following message "Finding result..." I changed the API-KEY several times.



      Author's profile photo Antoine CHABERT
      Antoine CHABERT

      Hi Rohit Chouhan nice blog! you could be interested by this influence request too



      Author's profile photo Jayaraman Seshan
      Jayaraman Seshan

      Hi Rohit Chouhan ,

      Thank you for posting. This is very helpful.

      I am getting the following message "Finding result..." and nothing moves ahead in SAC.

      I checked your web component URL link of JSON file. It is throwing error "Failed to fetch version info for gh"

      After research "" it seems this error shows for fetching new files from GitHub.

      Note that this issue mostly affects @branch links, as they are only cached for a short time by the CDN and need to be updated from GitHub frequently. If you use @release links, after the first successful fetch they are stored on our servers permanently and do not need to be checked again with GitHub.

      EDIT: Also, @commitHash links don't have this issue at all since they are static.

      Could you check on the URL and commit. Thank you.