Skip to Content

Set Up Tools to Connect With and Operate SAP AI Core

Use SAP AI Launchpad, Postman or python to connect with SAP AI Core.
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

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.

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

    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
    Copy
    {
      "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
  • Step 3
  • Step 4
  • Step 5
  • Step 6

    Where would you find help regarding API usage of SAP AI Core?

  • Step 7

    For support, look at the Troubleshooting Guide for SAP AI Core. If this does not help resolve your issue, please raise a ticket.

    Which modules/functions are missing from the dir function on the AI API client SDK but present on SAP AI Core SDK? (HINT: Use the screenshots from this step to find out, these are SAP AI Core specific components)

Back to top