> 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/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="https://3057949906-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDSqHwwR8lD3JUWz3E9NH%2Fuploads%2Fgit-blob-f2a9f9061b32b5114abdcf336f611e11a0f4e248%2FScreenshot%202024-10-10%20121800.png?alt=media" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://3057949906-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FDSqHwwR8lD3JUWz3E9NH%2Fuploads%2Fgit-blob-a46a4eae48454768de20b69c0f68fa0e17c0538a%2FScreenshot%202024-10-10%20122003%20(1).png?alt=media" alt=""><figcaption></figcaption></figure>
