> For the complete documentation index, see [llms.txt](https://howto.erpbridge.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://howto.erpbridge.io/readme/companies/synchronization-from-erp-to-hubspot/operation-configuration-in-erp-bridge.md).

# Operation Configuration in ERP Bridge

[Please refer to this section](https://docs.erpbridge.io/the-operation) for technical details on how to configure ERP Bridge.

## Database Mapping

In the Database Mapping section you decide which fields to connect from the SQL view to HubSpot.

On the left-hand column select the data from SQL that you want to synchronize and link it with the related property on HubSpot. For more information about which properties to synchronize, please refer to the [synchronization section](/readme/companies/synchronization-from-erp-to-hubspot/sql-recommended-synchronization.md).

<figure><img src="/files/qdDjJBw5lAFRMl2t9OSV" alt=""><figcaption><p>On the left-hand column select the data from SQL, on the right-hand column select the properties on HubSpot</p></figcaption></figure>

{% hint style="info" %}
We recommend to create custom section for the new properties:

* Create a property group called ERP Information for all custom company properties
* Create a custom section called ERP Information on the left sidebar of the companies record, where insert all the created custom properties
  {% endhint %}

## Decision rules

The following section is Decisions rules, where you set all the actions that the agent will perform once the synchronization will be on. For general guidelines, please refer to the [specific section](https://docs.erpbridge.io/the-operation/3-decision-rules).

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

If you set ERP Code as primary key:

* Insert =0 in the first line means that if the ERP code does not exist, the agent will update the record,
* With several records with the same ERP code (=1), the agent will update the record,
* if there are several identical records (>1), the agent will skip the record.

{% hint style="danger" %}
It's fundamental to choose a field as 'primary key' that will always be uniquely populated, otherwise records will be duplicated in the next synchronization.
{% endhint %}

## Associations

In the [Associations section](https://docs.erpbridge.io/the-operation/4-db-greater-than-hs-associations) for the Companies object, the advice is to leave the fields empty and click on Done.

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

Now the new operation Company will appear on the Homepage, to activate the synchronization make sure the button is on.

<figure><img src="/files/KgLB82peYKax1Bou3Sai" alt="" width="375"><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://howto.erpbridge.io/readme/companies/synchronization-from-erp-to-hubspot/operation-configuration-in-erp-bridge.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
