Integrate Salesforce CRM with Freshservice to track license usage based on user logins. Here’s a list of what the salesforce integration offers:
TABLE OF CONTENTS
- Prerequisites for setting up the integration
- How to set up the integration between Freshservice and Salesforce CRM?
- Configuring Salesforce CRM Profile in Freshservice
- Features Capabilities offered by the Freshservice-Salesforce integration
Prerequisites for setting up the integration
The Salesforce account used for the integration requires the following user access permissions.
API Enabled: This is required for access to Salesforce APIs
View Setup and Configuration: This is required to view Setup pages. When enabled, Salesforce automatically enables the View Roles and Role Hierarchy permission.
Manage Internal Users: This is required to create and modify internal users.
How to set up the integration between Freshservice and Salesforce CRM?
- To integrate Salesforce with Freshservice using a REST-based API, create a connected app in Salesforce.
- Salesforce Role Required— Admin access in Salesforce.
- Log in to your Salesforce account using your admin credentials.
- (Optional) After logging in, switch to Salesforce Classic mode for easier navigation.
- Click Setup. This opens the setup page.
- Scroll down to Build on the left panel and go to Create > Apps.
- Scroll down to the Connected Apps section and click on New to create a new app.
- Fill in the Connected App Fields:
- Connected App Name: Name of your application.
- API Name: This field is automatically populated.
- Contact Email: The email address that you want to associate with the application.
- Enable OAuth Setting: Select Option to enable OAuth settings.
- Callback URL: Enter https://instance.freshservice.com/, where <instance> is the name of your Freshservice instance.
- Selected OAuth Scopes: OAuth scopes that determine the amount of access that is granted to an access token. The following values are required:
- Full access (full)
- Perform requests at any time (refresh_token, offline_access)
- Custom Connected App Handler: Run As a user with pre-requisite permissions
- Enable Client Credentials Flow: Select the checkbox
- Click Save to finalize your connected app configuration.
- Once saved, Salesforce will generate a Consumer Key (client ID) and Consumer Secret (client secret). Copy these credentials for use in configuring the Salesforce integration in Freshservice.
Configuring Salesforce CRM Profile in Freshservice
- Log in to your Freshservice as an admin.
- Go to Global Settings > SaaS Management
- Scroll down and select Salesforce-Orch from the list of available integrations
- Install the Salesforce App and configure: Use the Consumer Key and Consumer Secret from the connected app you created in Salesforce.
- Turn on the SaaS discovery toggle to bring in details of license usage.
- Fill in your Freshservice domain name, verify the account with the API key, and Add the account.
- This sets up an integration between Salesforce CRM and Freshservice and fetches usage metrics from Salesforce.
Capabilities offered by the Freshservice-Salesforce integration
Contract Utilization Metrics
Understand the usage of your Salesforce organization licenses and keep track of the total number of licenses bought versus the ones used and the ones still available for assignment.
License Plan Metrics
Track the usage of all your Salesforce organization licenses and check the type of licenses that are under consumption versus the ones still available for assignment.
License Usage Monitoring
Understand the usage pattern of your Salesforce organization licenses and obtain a split of users based on their usage pattern— active, low usage, and no usage. Click the piechart sections to drill down, identify users with low or no usage, and free up licenses.
User Actions
Take action on users based on usage statistics. Once drilled down into usage statistics, click Take Action to take actions on a user. Here’s the list of actions you can apply:
- User license allocations: Allocate/Deallocate licenses to users to grant access to users who require it. You can also allocate a license with more upgraded capabilities to users.
- Notify users for account-related actions: Notify users who have low usage or are deemed to have violated compliance norms with an email requiring them to act upon the same. Additionally, if you are revoking access for the users, send an email notifying them of the same.
Additional Information
- For more details on authorization and OAuth 2.0, refer to Salesforce documentation.
- API Request Limits: Salesforce limits API requests, so be mindful of the limits allocated to your organization.
- Salesforce's "Permission Set Group" feature for downgrading/upgrading users is currently in Beta. Use of this feature is subject to Salesforce’s Beta Service Terms.