> For the complete documentation index, see [llms.txt](https://docs.stacksync.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.stacksync.com/two-way-sync/connectors/hubspot/hubdb.md).

# HubDB

Stacksync supports both syncing existing HubDB tables and generating new HubDB tables. Choose whether to sync the Published or Draft versions.

{% hint style="info" %}
Syncing published HubDB tables will cause draft changes to be published.
{% endhint %}

If you're syncing an existing HubDB table, you can choose the version when linking tables.

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

If you're generating a new table in HubDB, choose the version when mapping fields.

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