> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stackone.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect SAP S/4HANA with SAP Business Accelerator Hub — API Key – StackOne Hub

> Link a SAP S/4HANA account in the StackOne Hub using SAP Business Accelerator Hub — API Key. End-user guide to authorize the integration and start using SAP S/4HANA actions.

> [!WARNING]
>
> Testing only. This connects to SAP's public demo sandbox, not to your SAP S/4HANA system, and only read actions are available. To use your own data, connect with Basic Auth, Client Certificate or OAuth instead.

## Get your API key

Every SAP Business Accelerator Hub user has one personal API key that works for all Hub sandboxes.

**1. Copy the key**

Sign in to the [SAP Business Accelerator Hub](https://api.sap.com) with a free SAP account (SAP Universal ID), then open any SAP S/4HANA Cloud Public Edition API, for example **Business Partner (A2X)**, and click **Show API Key** at the top of the page. Copy the **API Key** across.

## Link the Account

**1. Connect**

<ul>
  <li>Click **Connect**.</li>
  <li>If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider's authorization flow.</li>
  <li>Once authorization is successful, you will see a confirmation popup.</li>
</ul>

**2. Use Actions**

Connect an AI platform to the linked account's actions. See [AI Platforms](https://docs.stackone.com/connect/ai-platforms/overview.md).

Other ways to call actions are listed in [Protocols & SDKs](https://docs.stackone.com/connect/protocols-and-sdks.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.