Orchestration(V2) with Grounding Capabilities in SAP AI Core
- How to set up orchestration pipelines, enable document grounding, and perform vector retrieval using SAP AI Core’s grounding capabilities
Prerequisites
- BTP Account
If you do not already have a commerical SAP Business Technology Platform (BTP) account, you can use BTP Advanced Trial.
Create a BTP Account - For SAP Developers or Employees
Internal SAP stakeholders should refer to the following documentation: How to create BTP Account For Internal SAP Employee, SAP AI Core Internal Documentation - For External Developers, Customers, or Partners
Follow this tutorial to set up your environment and entitlements: External Developer Setup Tutorial, SAP AI Core External Documentation - Create BTP Instance and Service Key for SAP AI Core
Follow the steps to create an instance and generate a service key for SAP AI Core. Ensure to use service plan extended:
Create Service Key and Instance - AI Core Setup Guide
Step-by-step guide to set up and get started with SAP AI Core:
AI Core Setup Tutorial - An Extended SAP AI Core service plan is required, as the Generative AI Hub is not available in the Free or Standard plans. For more details, refer to
SAP AI Core Service Plans - AI Launchpad Setup Guide
Step-by-step guide to set up AI Launchpad:
AI Launchpad Tutorial
Pre-read
In this tutorial, we explore how to extend orchestration capabilities in SAP AI Core by incorporating grounding — the process of enriching GenAI outputs with domain-relevant context to ensure accurate and reliable responses. Grounding addresses key challenges such as hallucinations and lack of specificity by connecting the model to external knowledge sources during inference.
In this tutorial we are covering:
- How to create the Data Injestion Pipeline(pipeline API and vectore API options). You can choose either of these options based on the requirements
- How to use Amazon S3 or Microsoft SharePoint as document repository.
- How to retrieve and verify the content dynamically from uploaded documents.
- How to configure and use grounding in orchestration. We are focusing on the grounding module usage, but in the consumption request you will also find optional modules such as data masking and content filtering and templating, model configuration are the mandatory modules in orchestration.
- how to use the solution using SAP AI Launchpad, Python SDK, JavaScript, and API(Bruno Client).
Use Case: In our scenario, we use facility management emails uploaded to Microsoft SharePoint or Amazon S3 as grounding documents. The orchestration pipeline retrieves relevant content from these documents and enables context-aware question answering using retrieval-augmented generation (RAG).
For additional context, refer to:
🔗 Grounding in SAP AI Core (Help Portal)
Video links:
Overview of the tutorial steps:

