# Mautic bi-directional w/Hubspot

**URL:** <https://forum.mautic.org/t/mautic-bi-directional-w-hubspot/6883>\
**Category:** General Discussion\
**Created:** [December 17, 2016, 5:32pm UTC](https://forum.mautic.org/t/mautic-bi-directional-w-hubspot/6883 "2016-12-17T17:32:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![melaby](https://avatars.discourse-cdn.com/v4/letter/m/73ab20/32.png) [@melaby](https://forum.mautic.org/u/melaby)\
**Post date:** [December 17, 2016, 5:32pm UTC](https://forum.mautic.org/t/mautic-bi-directional-w-hubspot/6883/1 "2016-12-17T17:32:11Z")

</div>

Hey CroDragon,  
  
  
  
I’ve tried to setup 2way sync with Mautic 2.4 and hubspot and I can’t get it to work. I got as far as pushing contacts to Hubspot but can’t get any contacts or companies to go back to Mautic. I think I’m having an issue with setting up the custom fields correctly can you tell me how exactly you set the fields?  
  
  
  
Much appreciate any help  
  
Thanks in advance  
  
Melaby

---

<div class="post-metadata">

**Author:** ![melaby](https://avatars.discourse-cdn.com/v4/letter/m/73ab20/32.png) [@melaby](https://forum.mautic.org/u/melaby)\
**Post date:** [December 17, 2016, 5:32pm UTC](https://forum.mautic.org/t/mautic-bi-directional-w-hubspot/6883/2 "2016-12-17T17:32:11Z")

</div>

Hey CroDragon,

I’ve tried to setup 2way sync with Mautic 2.4 and hubspot and I can’t get it to work. I got as far as pushing contacts to Hubspot but can’t get any contacts or companies to go back to Mautic. I think I’m having an issue with setting up the custom fields correctly can you tell me how exactly you set the fields?

Much appreciate any help  
Thanks in advance  
Melaby

---

<div class="post-metadata">

**Author:** ![CroDragon](https://avatars.discourse-cdn.com/v4/letter/c/ea666f/32.png) [@CroDragon](https://forum.mautic.org/u/CroDragon)\
**Post date:** [December 17, 2016, 5:36pm UTC](https://forum.mautic.org/t/mautic-bi-directional-w-hubspot/6883/3 "2016-12-17T17:36:40Z")

</div>

Are you sure your additional Cron job is working properly that pushes HubSpot records to Mautic?  
That would be my first guess. I mapped only a few basic standard fields at this point just to test the integration and it works but pushed contacts and companies from HubSpot are not linked in Mautic.

---

<div class="post-metadata">

**Author:** ![melaby](https://avatars.discourse-cdn.com/v4/letter/m/73ab20/32.png) [@melaby](https://forum.mautic.org/u/melaby)\
**Post date:** [December 17, 2016, 6:10pm UTC](https://forum.mautic.org/t/mautic-bi-directional-w-hubspot/6883/4 "2016-12-17T18:10:38Z")

</div>

Here is my cron job setting

/usr/local/bin/php-cli -q /public\_html/bookings/app/console mautic:integration:fetchleads --integration=Hubspot -e prod

I’m not sure if its working.
