SAP Home Learn Build Integrate Model Operate Extend with AI ConnectTutorial navigator Knowledge Graph API Devtoberfest Developer Advocates App Space

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
โคข Open full site

Set Up Tools to Connect With and Operate SAP AI Core

Use SAP AI Launchpad, Postman or python to connect with SAP AI Core.

Overview

🎓 beginner 20 min. SAP Ai CoreBeginnerArtificial IntelligenceMachine LearningSAP Ai Launchpad

You will learn

  • โœ”How to create a connection between SAP AI Core and your tool of choice (SAP AI Launchpad, Postman, python)
  • โœ”How to look explore the tools for SAP AI Core
Dhrubajyoti Paul D Dhrubajyoti Paul August 23, 2024
Created by May 17, 2022
Contributors

Prerequisites

Prerequisites

  • A BTP global account If you are an SAP Developer or SAP employee, please refer to the following links ( for internal SAP stakeholders only ) - How to create a BTP Account (internal) SAP AI Core If you are an external developer or a customer or a partner kindly refer to this tutorial
  • You have created an SAP AI Core instance.

Steps

Intro

If you want to use SAP AI Core with python, select the tab for SAP AI Core SDK or AI API client SDK.

Please find downloadable sample notebooks for the tutorials : . Note that these tutorials are for demonstration purposes only and should not be used in production environments. To execute them properly, you’ll need to set up your own S3 bucket or provision services from BTP, including an AI Core with a standard plan for narrow AI and an extended plan for GenAI HUB. Ensure you input the service keys of these services into the relevant cells of the notebook. Link to notebook


Step 1 Get your SAP AI Core keys
โ€”

Using your SAP Business Technology Platform (BTP), to generate keys for the SAP AI Core instance, using Provision SAP AI Core

The following is a set of keys for example reference only. Please generate keys for your own SAP AI Core instance.

JSON
{
  "clientid": "ss-2222-aaa-4444-888-8555!bbb|aicore!bbb",
  "appname": "2222-aaa-4444-888-8555!bbb|aicore!bbb",
  "identityzone": "tutorial",
  "identityzoneid": "11111-dddd-444-888-888888",
  "clientsecret": "qwertyuiop",
  "serviceurls": {
  "AI_API_URL": "https://api.ai.prod.us-east-1.aws.ml.hana.ondemand.com"
  },
  "url": "https://tutorial.authentication.us10.hana.ondemand.com"
}
Step 2 Get tools to connect to SAP AI Core
+
Step 3 Set up tools for usage with SAP AI Core
+
Step 4 Connect with SAP AI Core
+
Step 5 Perform an action in SAP AI Core
+
Step 6 Discover tool specific nuances
+
Step 7 Find help provisions for your interface, and the SAP AI Core help page
+

Resources

Discussion

Share feedback on this tutorial or join the conversation in SAP Community.

Submit detailed feedback Discuss in Community
Steps
Step 1 of 7
1. Get your SAP AI Core keys 2. Get tools to connect to SAP AI Core 3. Set up tools for usage with SAP AI Core 4. Connect with SAP AI Core 5. Perform an action in SAP AI Core 6. Discover tool specific nuances 7. Find help provisions for your interface, and the SAP AI Core help page

Learn more →