Creating an "API Only" User in SugarCRM

sugarcrmdevelopers —  August 9, 2013

There are lots of reasons for API Only users, perhaps you are integrating with a marketing automation system, you developed a custom portal, or have a telephony integration software like Callinize.  In the past I had just used the admin account but this wasn’t ideal as if the credentials got out that user has ability to login.

The other thing I wanted was the ability to know when records were created by the system.  By creating a seperate user for your job the records would show up as created by “Your Integration User” instead of some other generic user. 

But, if you’re on a paid version of sugar, you might not want to fork over another $30+ a month.  The good news is there is a solution. CE users don’t care about this since they’re not paying per user.  Sugar Enterprise users by default have the “Create Portal User” option…. But what about us Sugar Pro customers?  Nothing seems obvious at first.

Fortunately, you can add a line to config_override.php and then you too will have the “Create Portal API User” option.

$sugar_config['enable_web_services_user_creation'] = true;

 

Now, when you go Admin -> User Management and mouse over the Users module tab there is an option for creating an “Portal API User” just like the Sugar Enterprise customers have.