Follow Me On...
« SugarCRM, SQL query to determine Sales Cycle From New Account --> Customer | Main | SugarCRM Rest API Example: How to get all contacts for an account »
Wednesday
Jul242013

Creating an "API Only" User in SugarCRM

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 sugarcrm telephony integration (CTI) 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.

 

Reader Comments (1)

Blake:

Awesome.. I have updated the configuration variable spreadsheet at https://docs.google.com/spreadsheet/ccc?key=0Am6GpxrpDilwdEVLWl94X0s4R3pIVlRlMjR3SmtqYlE&usp=sharing with your defiinition.

Jeff
August 9, 2013 | Unregistered CommenterJeff Bickart

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
All HTML will be escaped. Hyperlinks will be created for URLs automatically.