# 4. Encryption

### HubSpot and ERP Bridge API

The connection between the ERP Bridge agent and HubSpot API is secured by using an encrypted HTTPS connection with a trusted SSL certificate.

The same thing is valid for the connection between the ERP Bridge agent and the ERP Bridge API hosted by us.

Both the connections are secured by trusted certificates that maintain data encrypted using AES 256-bit encryption.

### Database connection

The connection between the customer database and the ERP Bridge agent is performed using official supported and first party libraries.

The ERP Bridge software support both encrypted and unencrypted connections with the database so it's up to the customer to setup and use one or another.

### Data Storage

We do not store your data. ERP Bridge is not a middle layer. It provides direct sync between your ERP and HubSpot.

We just retained your logs for 3 days for support pourposes.

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


---

# 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.erpbridge.io/security/4.-encryption.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.
