# How to connect Digibee to SAP

## **What is SAP?**

SAP is a software platform used for business and ERP (Enterprise Resource Planning) solutions. It helps manage business processes, such as inventory management, payroll processing, purchase orders, and invoicing. To learn more about SAP solutions, visit the [SAP website](https://www.sap.com/about/what-is-sap.html#overview).

## **Connecting SAP to Digibee**

The connection between the SAP system and the Digibee Integration Platform is typically established via a Virtual Private Network (VPN). This connection enables communication between Digibee and the network where the SAP service resides.

Once the VPN is configured, you'll need to map the SAP server so that it is accessible by the pipeline using the established VPN.

### **Step 1: SAP server mapping**

To map the SAP server, follow these steps:

1. Contact [Digibee Support](/documentation/troubleshooting/help-and-faq/support.md) for assistance.
2. Provide the following information:

   * **IP address** of the SAP server
   * **TCP port** of the SAP service
   * **Hostname** of the SAP installation

   Example:

   * **IP:** 10.1.10.111
   * **Port:** 3300
   * **Hostname:** sydshel.est.sabali.com
3. The Digibee Support team will confirm when the connection is successfully established.

Below is a diagram illustrating the connection process:

<figure><img src="/files/PUrb6dOXVJPJTtK7CsHD" alt=""><figcaption></figcaption></figure>

​**Step 2: Connection test**

To test the connection, follow these steps:

1. In your pipeline, add the [**SAP RFC - Connectivity Test**](/documentation/developer-guide/development-cycle/build-overview/capsulas/public-capsules/sap-collection.md#sap-rfc-connectivity-test) capsule to the flow.
2. Enter the **Hostname** of the SAP server.
3. Fill in the remaining fields with your SAP server details, as shown below:

<figure><img src="/files/b3sVT7opZ2wCd5r3iNmW" alt=""><figcaption></figcaption></figure>

4. Execute the test in your pipeline to confirm the connection.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.digibee.com/documentation/troubleshooting/connectivity-guides/digibee-sap.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
