Smartling's Salesforce Service Cloud Connector is currently in the Salesforce certification review phase. If you would like to use the connector prior to formal certification, please contact our team for assistance and instructions. You will need to obtain a copy of the connector package to install it in your Salesforce environment.
Prerequisites
Install the connector in Salesforce
Before beginning the setup process, ensure you have installed the connector in your Salesforce environment.
Create an API token
You will also need a Smartling account-level API token to set up the package configuration. You must have an Account Owner user role in Smartling to create an account API token.
Follow the steps outlined in this article to create an account API token, which you will later use to configure the package in the steps below.
Configuration in Salesforce
Below are screenshots from Salesforce Lightning. Users in Salesforce Classic are advised to switch to Lightning, as the documentation screenshots are of the Lightning UI.
- Open your organization's Setup panel.
- Find “Custom Metadata Types.”
- In the Metadata list, find “Smartling Settings” and click “Manage Records.”
-
Click New to create a settings record. On the opened page, enter your Smartling account credentials and click Save. Label and Name can be any value you want, but the Account Uid, User Identifier, and User Secret must be associated with the API token created in your account.
There must be only one “Smartling Settings” record. To update values, please either edit the existing record or delete the current record and create a new one.
- Return to Setup Home.
- Navigate to the "Named Credentials."
- Open “External Auth Identity Providers.”
- Select "Smartling OAuth" and click Edit.
- In the “Client Identification” section, enter your Smartling User Identifier (Client Id), and User Secret (Client Secret) created earlier.
- Click Save.
- Assign one of the package permissions to your organization's users or give access to ‘Smartling_API - Smartling’ External Credential Principal Access in Profile/Permission set.
Enhanced Chat translation component (message in app/enhanced chat)
- Open your organization's Setup panel.
- Open Object Manager and find the “Messaging Session” object.
- Navigate to “Lightning Record Pages” and open the page that your agents use.
- Click Edit.
-
Find the ‘Smartling Chat Translation’ component and drag-and-drop it to your page.
For this component to work properly, please ensure it is placed near the standard conversation component.
- Use ‘End User Locale Field’ to set up a field on the ‘Messaging Session’ record that determines the end user's language by locale code (e.g., en-US from Locale mapping table).
- Click Save.
Case translation component (web-to-case/email-to-case)
- Open your organization's Setup panel.
- Open Object Manager and find the “Case” object.
- Navigate to “Lightning Record Pages” and open the page that your agents use.
- Click Edit.
- Find the ‘Smartling Case Translation’ component and drag-and-drop it to your page.
- Use ‘End User Locale Field’ to set up a field on the Case record where the end user language is defined by a locale code (e.g., en-US from Locale mapping table).
- Use ‘End User Locale Detection Field’ to set up a field on the Case record that captures the end user's text.
- Click Save.
Permission sets
To grant users access to package components, use the following permission sets:
Smartling Chat User - to grant access to the chat translation component
Smartling Case User - to grant access to the case translation component
Smartling Admin - to grant access to update Smartling settings
Smartling Super User (permission group) - includes all Smartling permissions (Chat User, Case User, Admin)
Steps to assign permissions
- Open your organization's Setup panel.
- Navigate to "Permissions Sets."
- Find and select the desired permission set (Smartling Chat User, Smartling Case User, or Smartling Admin)
- Click Manage Assignments.
- Click Add Assignment.
- Select a user and click Next.
- Click Assign to apply the permission to the selected user.
Smartling to Salesforce language mapping
A table of Smartling-to-Salesforce language mappings can be found here.
Configure the preferred MT Profile in Smartling
Both case and chat translation are completed using the instant MT service in Smartling. To configure your preferred MT or LLM translation provider and settings for instant translation, log into your Smartling account (requires Account Owner or Project Manager user role).
- From the top navigation of your Smartling dashboard, access the AI Hub.
- In the Instant MT section, select the Salesforce Service Cloud tab.
- Here, you can enable Machine Translation for Salesforce Service Cloud.
- Then choose your preferred MT Profile.
- If required, language-specific profiles can be configured.
- If desired, glossary terms can be inserted in machine translations.
Once enabled, instant translation with the preferred MT Profile can now be used in Salesforce Service Cloud to translate cases and chat messages.