# SAP BAPI authentication

> To create a connection, you need the following credentials:

## Prerequisites

To create a connection, you need the following credentials:

* Hostname – The hostname of the SAP application server.
* Client – The client in the SAP system into which to log in.
* Instance number – The SAP system's instance or system number.
* Username.
* Password.

The connection credentials are available in your SAP Logon:

* **Group/Server** field represents your Hostname.
* **Instance No.** represents your instance number.
* **SID** represents your username.
* **SID** Password represents your password.
* Select **Logon** to identify the **Client**.

![docs image](https://dev-assets.cms.uipath.com/assets/images/integration-service/integration-service-docs-image-516034-9b0d2a84.webp)

![docs image](https://dev-assets.cms.uipath.com/assets/images/integration-service/integration-service-docs-image-475660-02e37992.webp)

:::important
If your SAP is hosted within your private network, you must set up an [IP addresses allowlist](https://docs.uipath.com/automation-cloud/automation-cloud/latest/admin-guide/configuring-firewall#integration-service) in your firewall settings to enable network traffic.
:::

:::important
When establishing a connection through the SAP BAPI connector in Integration Service, the system calls the `BAPI_MONITOR_GETLIST` function to retrieve the list of available BAPIs from the target SAP system. This step ensures the required BAPIs are present
and accessible. The response should include a table, typically named `BAPILIST`, which lists the available operations. Successfully retrieving this list confirms that the necessary permissions are in place
and allows Integration Service to complete the connection setup.
:::

## Add the SAP BAPI connection

1. Select Orchestrator from the product launcher.
2. Select a folder, and then navigate to the **Connections** tab.
3. Select **Add connection**.
4. To open the connection creation page, select the connector from the list. You can use the search bar to find the connector.
5. Enter the required credentials and select **Connect**.

   For any secret-type field, you can select the menu next to the field and choose **Use credential asset** to reference an Orchestrator credential asset linked to an external vault instead of entering the value directly. For more information, see [Use credential assets for connections](credential-store-connections.md).
