- Print
- DarkLight
Install and Configure Mobileforce: Sugar Instance
This document is updated (Summer 2023) to describe three distinct actions that need to be performed in order to make Mobileforce work within your Sugar Instance.
The following topics are a guide on how to directly install and configure Mobileforce for an instance of SugarCRM without using SugarCRM Marketplace or Sugar Outfitters. This is currently how Mobileforce products are installed and set up in a Sugar instance. In future, when Sugar Outfitters becomes active, this direct method will not be recommended . Sugar Outfitters is the enhanced SugarCRM Marketplace, which will allow you to more easily install Mobileforce. For more information, see Using Mobileforce CPQ with Sugar CRM This document assumes that you have a Sugar Instance with Sugar Sell (in order to use Mobileforce CPQ) and Sugar Serve (in order to use Mobileforce FSM). It also assumes you have Admin credentials for your Sugar Instance in order to complete Action 1 below, and Admin credentials to Mobileforce in order to complete Action 3 below.
Action 1: Install Mobileforce within your Sugar Instance
You need to be a Sugar Admin to complete the steps in this action
To install and configure Mobileforce within your SugarCRM instance, you will perform the following steps:
- Setup OAuth 2.0 Keys
- Disable Client IP Change Check
- Add an API Platform
- Configure Content Security Policy Settings (SugarCRM 11.0 or later).
- Install Mobileforce Modules and Buttons
- Add Custom Buttons to SugarCRM Views
- Rebuild and Update SugarCRM
- Confirm and Configure Mobileforce Installation
Action 2: Create a Mobileforce cloud Instance for Mobileforce FSM and Mobileforce CPQ.
You will need to run a (new) Mobileforce script to create a Mobileforce cloud Instance for FSM and CPQ. This instance is different from your Sugar Instance. Anyone can run this script, but you need to know some details (specifically admin email) about your Mobileforce Admin user/roles in order to complete this action.
Run the script https://apps.mobileforcesoftware.com/website/provision.php This script specifically uses the information you provide for Account Name, Work email , and CRM, to automatically create a Mobileforce Cloud Instance that is specifically customized for you and your CRM.
Action 3: Tie together your Sugar Instance with your Mobileforce Instance.
You need to be a Mobileforce Solutions consultant to complete this step.
Specify the following Prop keys in your Mobileforce Cloud Instance ADL by using your Sugar Instance URL 2.Your Sugar instance has an admin user sguser whose password is sgpwd Your OAuth client id key in Action 1, Step 1 is ConsumerKey Your OAuth client id secret in Action 1, Step 1 is ConsumeSecret
1. <prop key="sugarcrm-sugarurl">sugar-instance-url</prop>
2. <prop kev="sugarcrm-oauth-accesstokenurl">sugar-instance-url/rest/v10/oauth2/token</prop>
3. <prop key="sugarcrm-sugarurl">sugar-instance-url</prop>
4. <prop key="sugarcrm-oauth-service-username">sguser</prop>
5. <prop key="sugarcrm-oauth-service-password">sgpwd</prop>
6. <prop key="sugarcrm-oauth-clientid">ConsumerKey</prop>
7 <prop key="sugarcrm-oauth-clientsecret">ConsumerSecret</prop>