# Has anyone here successfully integrated SugarCRM?

**URL:** <https://forum.mautic.org/t/has-anyone-here-successfully-integrated-sugarcrm/4964>\
**Category:** Product Support\
**Created:** [August 19, 2016, 3:14am UTC](https://forum.mautic.org/t/has-anyone-here-successfully-integrated-sugarcrm/4964 "2016-08-19T03:14:50Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![lead2crm](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/lead2crm/32/1634_2.png) [@lead2crm](https://forum.mautic.org/u/lead2crm)\
**Post date:** [August 19, 2016, 3:14am UTC](https://forum.mautic.org/t/has-anyone-here-successfully-integrated-sugarcrm/4964/1 "2016-08-19T03:14:50Z")

</div>

By that, I mean installed the plugin and are actually transferring records. In sugarcrm, I defined my own access key and secret key (it doesnt autogenerate) and included that in the mautic sugarcrm plugin configuration; however, I’ve yet to get a lead to transfer into the crm, even though I have created a point trigger for anything with a point value over zero and a point system to add +5 to contacts.  
  
  
  
Any help here would be appreciated. @caleb.hurd

---

<div class="post-metadata">

**Author:** ![lead2crm](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/lead2crm/32/1634_2.png) [@lead2crm](https://forum.mautic.org/u/lead2crm)\
**Post date:** [August 19, 2016, 3:14am UTC](https://forum.mautic.org/t/has-anyone-here-successfully-integrated-sugarcrm/4964/2 "2016-08-19T03:14:50Z")

</div>

By that, I mean installed the plugin and are actually transferring records. In sugarcrm, I defined my own access key and secret key (it doesnt autogenerate) and included that in the mautic sugarcrm plugin configuration; however, I’ve yet to get a lead to transfer into the crm, even though I have created a point trigger for anything with a point value over zero and a point system to add +5 to contacts.

Any help here would be appreciated. @caleb.hurd

---

<div class="post-metadata">

**Author:** ![ninjoan](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ninjoan/32/1005_2.png) [@ninjoan](https://forum.mautic.org/u/ninjoan)\
**Post date:** [August 19, 2016, 11:59am UTC](https://forum.mautic.org/t/has-anyone-here-successfully-integrated-sugarcrm/4964/3 "2016-08-19T11:59:08Z")

</div>

strange i have Mautic with SuiteCRM that is a SugarCRM fork. and i just use the plugin.

---

<div class="post-metadata">

**Author:** ![ard](https://avatars.discourse-cdn.com/v4/letter/a/6f9a4e/32.png) [@ard](https://forum.mautic.org/u/ard)\
**Post date:** [August 19, 2016, 12:11pm UTC](https://forum.mautic.org/t/has-anyone-here-successfully-integrated-sugarcrm/4964/4 "2016-08-19T12:11:28Z")

</div>

We have integrated SugarCRM with Mautic using the standard plugin method and it creates Leads in CRM after a contact has earned more then 10 points. This integration it currently not suitable to support all the our customer usecases, thats why we have planned to build a more extensive integration for Opportunities, Contacts, Accounts and Campaigns.

Which Sugar version do you use?

---

<div class="post-metadata">

**Author:** ![lead2crm](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/lead2crm/32/1634_2.png) [@lead2crm](https://forum.mautic.org/u/lead2crm)\
**Post date:** [August 19, 2016, 5:02pm UTC](https://forum.mautic.org/t/has-anyone-here-successfully-integrated-sugarcrm/4964/5 "2016-08-19T17:02:13Z")

</div>

CE Version 6.5.24 (Build 509)

---

<div class="post-metadata">

**Author:** ![lead2crm](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/lead2crm/32/1634_2.png) [@lead2crm](https://forum.mautic.org/u/lead2crm)\
**Post date:** [August 20, 2016, 5:21pm UTC](https://forum.mautic.org/t/has-anyone-here-successfully-integrated-sugarcrm/4964/6 "2016-08-20T17:21:58Z")

</div>

[quote=14767:@ard]We have integrated SugarCRM with Mautic using the standard plugin method and it creates Leads in CRM after a contact has earned more then 10 points. This integration it currently not suitable to support all the our customer usecases, thats why we have planned to build a more extensive integration for Opportunities, Contacts, Accounts and Campaigns.

Which Sugar version do you use?[/quote]

Where did you find the proper secret key and access key for the integration?

---

<div class="post-metadata">

**Author:** ![stephensonjon](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/stephensonjon/32/690_2.png) [@stephensonjon](https://forum.mautic.org/u/stephensonjon)\
**Post date:** [August 21, 2016, 11:21pm UTC](https://forum.mautic.org/t/has-anyone-here-successfully-integrated-sugarcrm/4964/7 "2016-08-21T23:21:04Z")

</div>

@ard , are you going to contribute the additional integration capabilities to the community? It would be a great help if you would, I was really looking for a way to bypass leads and go straight to Accounts and Contacts rather than through leads.

I am using the standard plugin - @lead2crm - make sure you have enabled the cron jobs - I forgot on an install and they didn’t trigger. Also, I added, just for good measure, the salesforce crons - even though its a different plugin. Honestly didn’t test whether it required both sets of crons or just required the 3 standard crons. Finally, make sure you select the sugarcrm integration in the the ‘action’ portion of the form you build.

I would also like to add that I found an incredible new plugin on Wordpress - WP Mautic Form Integrator - it works perfectly, so I can use the more powerful Form builders in wordpress to map with and deliver the submission data to Mautic, which then push them to SuiteCRM. It’s a virtuous cycle for sure.

---

<div class="post-metadata">

**Author:** ![lead2crm](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/lead2crm/32/1634_2.png) [@lead2crm](https://forum.mautic.org/u/lead2crm)\
**Post date:** [August 22, 2016, 3:34am UTC](https://forum.mautic.org/t/has-anyone-here-successfully-integrated-sugarcrm/4964/8 "2016-08-22T03:34:52Z")

</div>

As far as I know, I have enabled all the cronjobs here they are:

/pathtomautic/map/app/console mautic:segments:update --env=prod  
/pathtomautic/map/app/console mautic:campaigns:rebuild  
/pathtomautic/map/app/console mautic:campaigns:trigger

Am I missing any here?

I have the WP Mautic Form Integrator, as well; however, I have a trigger enabled for +5 point and i have records with +5 points.

---

<div class="post-metadata">

**Author:** ![ard](https://avatars.discourse-cdn.com/v4/letter/a/6f9a4e/32.png) [@ard](https://forum.mautic.org/u/ard)\
**Post date:** [August 22, 2016, 8:06am UTC](https://forum.mautic.org/t/has-anyone-here-successfully-integrated-sugarcrm/4964/9 "2016-08-22T08:06:58Z")

</div>

I think your problem has to do with the version of the Rest api, which is fully redesigned since Sugar launched the 7 version.  
I made a connection with Sugar 7.7 Pro edition. With this version you can create your own token and secret in the OAuth Key management on the admin page.

@stephensonjon: although we are currently in an experimental phase with Mautic figuring out what is the best way to implement usecases, we like the idea of contributing it to the community.

---

<div class="post-metadata">

**Author:** ![lead2crm](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/lead2crm/32/1634_2.png) [@lead2crm](https://forum.mautic.org/u/lead2crm)\
**Post date:** [August 22, 2016, 8:47am UTC](https://forum.mautic.org/t/has-anyone-here-successfully-integrated-sugarcrm/4964/10 "2016-08-22T08:47:29Z")

</div>

@ard the CE 6.5.24 edition allows me to create my own secret key and key, as well.

---

<div class="post-metadata">

**Author:** ![mfarmer](https://avatars.discourse-cdn.com/v4/letter/m/839c29/32.png) [@mfarmer](https://forum.mautic.org/u/mfarmer)\
**Post date:** [December 1, 2016, 6:10pm UTC](https://forum.mautic.org/t/has-anyone-here-successfully-integrated-sugarcrm/4964/11 "2016-12-01T18:10:01Z")

</div>

@lead2crm : Did you figure this out yet? I am struggling for 2 days trying to get the integration to authenticate. I am using a VPS to host mautic and sugar on two different domain names. I made up a client key, and a secret key, then I input them into the Mautic Integration for SugarCRM… everytime it flickers a little bit, then says, ‘Authorization failed with the error message, “There was an unknown error encountered when trying to obtain the access token.”’. How did you get this to work?

---

<div class="post-metadata">

**Author:** ![lead2crm](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/lead2crm/32/1634_2.png) [@lead2crm](https://forum.mautic.org/u/lead2crm)\
**Post date:** [December 1, 2016, 6:42pm UTC](https://forum.mautic.org/t/has-anyone-here-successfully-integrated-sugarcrm/4964/12 "2016-12-01T18:42:38Z")

</div>

Unfortunately not, I gave up hope and got distracted by other projects, but would love to collaborate to find an answer here because without a MAP and CRM sync, what do we really have?

---

<div class="post-metadata">

**Author:** ![ninjoan](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/ninjoan/32/1005_2.png) [@ninjoan](https://forum.mautic.org/u/ninjoan)\
**Post date:** [December 1, 2016, 10:19pm UTC](https://forum.mautic.org/t/has-anyone-here-successfully-integrated-sugarcrm/4964/13 "2016-12-01T22:19:15Z")

</div>

i use Mautic and SuiteCRM without any problem

---

<div class="post-metadata">

**Author:** ![mfarmer](https://avatars.discourse-cdn.com/v4/letter/m/839c29/32.png) [@mfarmer](https://forum.mautic.org/u/mfarmer)\
**Post date:** [December 2, 2016, 3:09pm UTC](https://forum.mautic.org/t/has-anyone-here-successfully-integrated-sugarcrm/4964/14 "2016-12-02T15:09:04Z")

</div>

@MxyzptlkFishStix : I just sent you a slack message… I need this!

---

<div class="post-metadata">

**Author:** ![mfarmer](https://avatars.discourse-cdn.com/v4/letter/m/839c29/32.png) [@mfarmer](https://forum.mautic.org/u/mfarmer)\
**Post date:** [December 6, 2016, 1:36pm UTC](https://forum.mautic.org/t/has-anyone-here-successfully-integrated-sugarcrm/4964/15 "2016-12-06T13:36:39Z")

</div>

ANSWER FOR ME: I upgraded from EasyApache 3 to EasyApache 4 on my VPS account and made sure to install a profile that includes all PHP options… (it will make sense when you try it. You have to use SSH to do the upgrade… )

After that, I had to reinstall Mautic (latest version at the moment is v2.3), and SugarCRM 6.5.22 (community edition).  
I generated a client key, and secret key (for Sugar CRM) at [PasswordsGenerator.net](http://PasswordsGenerator.net).

THEN IT WORKED!!!

Message me if you want my input/help…

[shout out to @MxyzptlkFishStix for helping me figure it out!]

---

<div class="post-metadata">

**Author:** ![kacperkwiatkowski](https://avatars.discourse-cdn.com/v4/letter/k/898d66/32.png) [@kacperkwiatkowski](https://forum.mautic.org/u/kacperkwiatkowski)\
**Post date:** [January 27, 2017, 2:30pm UTC](https://forum.mautic.org/t/has-anyone-here-successfully-integrated-sugarcrm/4964/16 "2017-01-27T14:30:11Z")

</div>

We have just introduced our SugarCRM/SuiteCRM & Mautic Integrator! Let’s see [https://www.linkedin.com/pulse/sugarcrmsuitecrm-mautic-integrator-evolpe-joanna-radecka](https://www.linkedin.com/pulse/sugarcrmsuitecrm-mautic-integrator-evolpe-joanna-radecka)

---

<div class="post-metadata">

**Author:** ![mauticuser](https://avatars.discourse-cdn.com/v4/letter/m/919ad9/32.png) [@mauticuser](https://forum.mautic.org/u/mauticuser)\
**Post date:** [April 26, 2017, 1:00pm UTC](https://forum.mautic.org/t/has-anyone-here-successfully-integrated-sugarcrm/4964/17 "2017-04-26T13:00:23Z")

</div>

this is gold! [https://www.sugaroutfitters.com/addons/mautic-sugarcrm-integrator](https://www.sugaroutfitters.com/addons/mautic-sugarcrm-integrator)
