Base App Install Steps
Step 1: Install the cxconnect.ai App for Salesforce
In order to successfully translate your customers’, suppliers’ and employees’ Cases/Accounts/Leads etc, you must first install the cxconnect.ai Base App into your Salesforce instance.Latest Release
The cxconnect.ai Base App v3.10Step 2 Option A: Assign Permission Set Groups
The cxconnect.ai App for Salesforce comes with three permission set groups.- cxconnect.ai Admin Permission Set Group: Includes all the permissions required for managing translation configurations.
- cxconnect.ai User Permission Set Group: Includes all the permissions required for users using cxconnect.ai translation service.
- cxconnect.ai Guest User Permission Set Group: Includes all the permissions required for guest users using cxconnect.ai translation service. For guest users in addition to this
Step 2 Option B: Assign Permission Sets
The cxconnect.ai App for Salesforce comes with three permission sets.- cxconnect.ai Admin Permissions: Includes all the permissions required for managing translation configurations.
- cxconnect.ai User Permissions: Includes all the permissions required for users using cxconnect.ai translation service.
- cxconnect.ai Guest User Permissions : Includes all the permissions required for guest users using cxconnect.ai translation service. For guest users in addition to this permission set you will have to create sharing rules on Translation Object to enable guest users to read translation rules.
- Click on the “cxconnect.ai Admin Permissions” permission set in the search results.
-
Click on the “Manage Assignments” button.
- Click on the “Add Assignment” button.
- Select the users you want to assign the permission set to and click on the “Assign” button.
-
To create a sharing rule for guest users in Salesforce, follow these steps
- Go to Setup in Salesforce
- Under “Administration,” click on “Security Controls” and then “Sharing Settings”
- Scroll down to “Guest User Sharing Rules” and click “New”
- Select the “Translation Object” object to share.
- Choose the “Read only” access level for the guest user
- Define the criteria for when the sharing rule should apply
- Click “Save”
Step 3: Configure Translation Setting, Authentication Key and API Endpoint-authentication-key-and-api-endpoint}
- From Setup, enter “Custom Metadata Types” in the Quick Find box, then select “Custom Metadata Types”

- Select “Manage Records” to configure the Translation Setting

- Edit “Translation Engine Config” translation setting custom metadata record

- Update “Auth Key” and “API Endpoint” information provided by cxconnect.ai and click save. The test endpoint is: https://test.api.cxconnect.ai and the production endpoint is: https://api.cxconnect.ai

Step 4: Setup Remote Site Settings
Add the given API Endpoint to remote site settings by navigating to Setup > Remote Site Settings > New Remote Site- Remote Site Name : cxconnect_ai (or something similar)
- Remote Site URL: <API Endpoint>
- Active : true

Step 5: Select cxconnect.ai App
Select cxconnect.ai from the app menu.
Step 6: Configure Translation Objects
- Select Translation Objects Tab.

- Add objects that you want to enable translation for by clicking the “Add Row” button. For this example we will be using the Case object. NOTE: Knowledge article records should not be selected or managed here. Please use the Knowledge App to handle these translations.

- After enabling translation for a Salesforce object, a new field called “Source Language” will be added to that object. To allow all user profiles to access the cxconnect.ai translation service, update the field level security settings.

Step 7: Configure Translation Rules
-
Select the Translation Rules Tab.
-
Below is the guidance for each field regarding Translation Rules:
- Object: This is the object you wish to set up the translation rule for. Currently, each object can only be selected once.
- Fields to Translate: Source fields you wish to have translated.
- Target Languages: The default Agent language(s) you’d like the selected fields automatically translated into.
-
Below is the guidance for each field regarding Translation Rules:
- Add Translation Rules to each object you wish to translate by clicking the “Add Row” button
- You can filter translation rules by clicking on the filter icon in the right corner of the Translation Rule page. Then select the appropriate filter criteria and click “Apply” to see refined results.
Step 8: Configure Translation Field Rules
If you would prefer to have individual fields populated with translations, Translation Field Rules provide that functionality.- Select the Translation Field Rules tab
-
Below is the guidance for each field regarding Translation Field Rules:
- Object: This is the object you wish to set up the translation rule for. Currently, each object can only be selected once.
- Source Field: Source field you wish to have translated. This can either be a standard or custom field.
- Target Field: The target field to save the translation into. This can either be a standard or custom field.
- Target Languages: Languages you’d like the selected fields translated into.
- Add Translation Field Rules to each field you wish to translate by clicking the “Add Row” button
- You can filter translation rules by clicking on the filter icon in the right corner of the Translation Field Rule page. Then select the appropriate filter criteria and click “Apply” to see refined results.

- Navigate to Setup > Flows
- From the cxconnect.ai Case - Field Translation option select “View Details and Versions”

- Select “Activate”
- Now when a Case is created translations will asynchronously populate the fields selected in the Translation Field Rules tab.
Step 9 RECOMMENDED: Automatically Translate Records
Historically, cxconnect.ai relied on custom flows to translate Case records. This process, while effective, was subject to latency and additional administrative overhead. Starting in v3.1 cxconnect.ai has opted to bypass working within Flows to prefer translating records when an agent loads a Case for the first time. A custom metadata field is now available to allow this translation to run immediately when a record is opened or manually with a button click.
Step 10 OPTIONAL: Automatically Approve Emails
Starting in v3.9 cxconnect.ai added a feature to allow the automatic approval of email translations. Enabling this option within the Custom Metadata (see step 3 for reference) will bypass the email preview and simply replace the current drafted email with the translation. This will not automatically send the email.\
Step 10 OPTIONAL: Create Flow to Translate Records in “Real-time”
Create a flow for each object that is enabled in the “Manage Translation” tab.-
Setup a flow for each object you have enabled translation for by navigating to setup and then search for “Flows” in the search bar.
-
Select “cxconnect.ai Case - Translation” in the list of flows.
- This is a flow template which can be cloned to support any Salesforce objects.
-
Click “Save As” and provide “Flow Label” and “Flow API Name” and save new flow.
-
Case - Translation (On Create)
- To translate on creation setup trigger criteria as “A record is created”
- Configure scheduled path as shown below
- Save & Activate
- To translate on creation setup trigger criteria as “A record is created”
-
Case - Translation (On Create)
Base App Capabilities
Interpreter
By adding the out-of-the-box cxconnect.ai component onto any flexi record page, cxconnect.ai Interpreter enables users to translate text in real time on any flexi page. Use cases making this feature valuable may include updating existing localized transcripts or editing any localized predictive texts in the local language. This feature can also be helpful to help with ad hoc translation needs outside the agent workflow. To add the cxconnect.ai Interpreter, follow the steps below.- Open any record page in Lightning
- Click on the gear icon in the top right corner of the screen and select Edit Page.
-
From the App builder, drag and drop the “Translation : Adhoc” component to the flexi page layout.
-
The following page options are available:
- Show Preview Modal which shows or hides translation preview.
- Hide Title which hides the Interpreter title from user view.
- Save


Enriched Record
The cxconnect.ai Base application deploys with a custom component that can be added to any record page that is associated with a translation rule. Adding the Enriched: Record component to the Case record page allows Translations and other enrichments to be displayed.



Email Translator
Add Email Translator Component
To add the cxconnect.ai Email Translator to your Case Lightning Record Page here are the steps to take:- Open the Record Page of the Case object to use this email component and click on Edit Page on the top setting widget

- Select the custom Email Translator component and drop it in a convenient location.

- The component has page options that adjust how the component looks to users.
- Enable Email Translation: enables or disables the “Translate Email” button and language dropdown
- Enable All Historic Translation Button: enables or disables this button, which will translate all previous untranslated emails in an email chain
- Enable Single Historic Translation Button: enables or disables this button, which allows a user to translate a single untranslated email into their language
- Collapse Email List: Sets the ability to collapse and display only a subset of emails
- Number of Emails to Show: Sets the number of emails that are shown by default before collapsing emails
- Number of Emails to Show More Each Time: Set the number of additional emails that are revealed when the “Show More” is clicked

- Click save and activate the page
Required: Activate the Inbound Translation Flow
To assure your inbound emails are translated correctly a custom flow installs with the package that will translate emails as the flow in. Navigate to Setup -> Flows Find and click the Email - Translation Flow to view and activate.

Required: Activate Email Settings
It’s required to Enable Email Drafts if not already enabled contained in Setup -> Support Settings. This allows cxconnect.ai to integrate fully with outbound email messages.
Recommended: Enable “New Content Only”
It is recommended to set the following Email-To-Case setting so that the cxconnect.ai services don’t try to re-translate the entire email chain: