Prepare a Salesforce Org for Messaging (In-App & Web Omni-Channel)
This guide walks you through preparing your Salesforce org for Messaging, including In-App and Web Omni-Channel, and configuring a custom client deployment.
Prerequisites
- Salesforce Service Cloud license
- Admin access to your Salesforce org
Steps
1. Setup Omni-Channel
Enable Omni-Channel for your Messaging for In-App and Web use case.
1.1 Enable Omni-Channel
- From Setup, enter Omni-Channel Settings in the Quick Find box, then select Omni-Channel Settings.
- Enable Omni-Channel and its features based on your needs, and save your changes:
- ✅ Enable Omni-Channel: Checked
- ✅ Enable Skills-Based and Direct-to-Agent Routing: Checked
- ✅ Enable Secondary Routing Priority: Checked
- ❌ Enable Status-Based Capacity Model: Unchecked
1.2 Create a Service Channel for Messaging
- From Setup, enter Service Channels in the Quick Find box, then select Service Channels.
- If you use the existing Messaging service channel, ensure it is set up correctly.
- If you need to create a new service channel:
- Click New and create a new service channel for Messaging
- Set the Channel Type to Messaging
- Save your changes
1.3 Create a Routing Configuration
- From Setup, enter Routing Configurations in the Quick Find box, then select Routing Configurations.
- Click New and create a new routing configuration for Messaging.
- Set the Service Channel to the one you created or selected earlier.
- Save your changes.
1.4 Create a Queue for Messaging Sessions
- From Setup, enter Queues in the Quick Find box, then select Queues.
- Click New and create a new queue for Messaging.
- Add Messaging Session as a supported object.
- Save your changes.
1.5 Create a Presence Configuration
- From Setup, enter Presence Configurations in the Quick Find box, then select Presence Configurations.
- Click New and create a new presence configuration for Messaging.
- Set the Service Channel to the one you created or selected earlier.
- Save your changes.
1.6 Create a Presence Status
- From Setup, enter Presence Statuses in the Quick Find box, then select Presence Statuses.
- Click New and create a new presence status for Messaging.
- Set the Service Channel to the one you created or selected earlier.
- Save your changes.
2. Create Your First Messaging for In-App and Web Channel and Deployment
2.1 Configure a Custom Client Deployment for Messaging
- From Setup, enter Messaging settings in the Quick Find box, then select Messaging settings
- Enable Messaging On.
- Click New and create a new Messaging channel.
- Set the Channel Type to Messaging for in-App or Web Omni-Channel based on your use case.
- Configure the channel settings as needed and save your changes.
2.2 Embedded Service Deployment for Messaging
- From Setup, enter Embedded Service Deployments in the Quick Find box, then select Embedded Service Deployments.
- Click New and create a new deployment for Messaging.
- Set the Deployment Type to Messaging for In-App or Web Omni-Channel based on your use case.
- Configure the deployment settings as needed and save your changes.
2.3 Configure App Manager
- From Setup, enter App Manager in the Quick Find box, then select App Manager.
- Select the service console app you want to use for Messaging.
- Edit the app settings:
- Select the Utility (Desktop) item from the list
- Add Utility to enable the Omni-Channel widget
- Save your changes.
2.4 Configure User Profiles
- From Setup, enter User in the Quick Find box, then select User Profiles.
- Select the user profile you want to use for Messaging and click Edit.
- In the profile settings, ensure that the following are enabled:
- ✅ Service Cloud User
- Ensure that the profile has access to the Messaging channel and Embedded Service deployment you created.
- Save your changes.
2.5 Enable the Messaging Conversion in the Service Console
- From Setup, enter Service Console in the Quick Find box, then select Service Console Settings.
- In the Service Console App , select the _ Message Session _ and open it one session, then under the Setup Icon, select the Edit Page button.
- In the _ Lightning App Builder _, select the ** Enhanced Conversion** component and drag it to the desired location in the page layout.
- continue to save the changes.
3. Configure the LiveAgent Settings in the Bot Controls in ai12z portal
- Login to the ai12z portal.
- Navigate to the Bot Controls section.
- Select the LiveAgent tab.
- Enter the configuration details:
4.2 Replace
{
"salesforce": {
"instanceUrl": "https://example-guid-dev-ed.develop.my.salesforce-scrt.com",
"orgId": "ORG_ID",
"messagingChannelId": "CHANNEL_ID"
}
}example-guid-dev-ed.develop.my.salesforce-scrt.com
with your Salesforce instance URL. 4.3 ReplaceORG_ID
with your Salesforce organization ID. 4.4 ReplaceCHANNEL_ID
with the ID of the Messaging channel you created. - Click Save to apply the settings.
## Troubleshooting
If you encounter issues:
1. Verify all permissions are correctly assigned
2. Check that Omni-Channel is properly enabled
3. Ensure messaging channels are active
4. Confirm queue assignments are correct
For additional support, refer to the official Salesforce documentation or contact your system administrator.
[Messaging for In-App and Web](https://help.salesforce.com/s/articleView?id=service.miaw_intro_landing.htm&language=en_US&type=5)
[Messaging for In-App and Web API](https://developer.salesforce.com/docs/service/messaging-api/references/miaw-api-reference?meta=closeConversation)