You are here:
Complete the Embedded Messaging Setup for the Employee Portal
After running the Salesforce Go automation, complete these manual steps to embed the messaging component on your portal and facilitate employee interactions.
Required Editions
| Available in: Lightning Experience |
| Available in: Enterprise, Performance, and Unlimited Editions with Agentforce IT Service. |
| User Permissions Needed | |
|---|---|
| To create permission sets: | Manage Profiles and Permission Sets |
| To edit users: | Manage Internal Users |
| To assign permission sets: | Assign Permission Sets |
| To build and manage Employee agents: | Manage AI Agents OR Customize Application |
| To add the Embedded Messaging component to an Experience Builder site: | Create and Setup Experiences |
Give Access to the Employee Agent
- Create a custom permission set for IT Service Employee Agent and give it Agent access.
- Assign this permission set to your users.
Set Security Protocols for Your Enhanced Chat Deployment
Set up the self-service employee portal to embed the Enhanced Chat messaging component.
-
Make sure that User Verification is enabled for your messaging channel.
- From Setup, go to Messaging Settings .
-
Edit your Messaging Channel.
The Salesforce Go setup for IT Service creates a messaging channel named IT Employee Agent Channel.
- Select Add User Verification and save your changes.
- Add security to your site by completing the CORS allowlist steps required to configure an Enhanced Web Chat Deployment in an Experience Builder site.
- From Setup, in the Quick Find box, enter Trusted URLs, and then select Trusted URLs.
- Select New Trusted URLs and add the URLs that you added to the CORS allowlist.
- In the Quick Find box, enter Sites, and then select Sites under Sites and Domains.
- If this is the first time you're configuring the settings for Sites, accept the terms of use.
- Select the site created specifically for your messaging deployment.
- Under Trusted Domains for Inline Frames, select Add Domain.
- Add the same URLs you added to the CORS allowlist.
Configure the Embedded Messaging Component for the Portal
-
Find the scrt2URL.
- From Setup, in the Quick Find box, search for and select Embedded Service Deployments.
-
Find the Embedded Service deployment for your Messaging Service channel.
The Salesforce Go setup for IT Service creates an Embedded Service Deployment called ItEmpAgentChannel.
- Select Install Code Snippet.
- Find and copy the value for the scrt2URL from the chat code snippet and paste it in a text file.
-
Construct the bootstrap URL.
- From Setup, in the Quick Find box, enter All Sites, and then select All Sites under Digital Experiences.
- Find the automatically created site for your enhanced web chat deployment and copy the URL.
- Paste the URL that you copied for your enhanced web chat deployment in a text file and add /assets/js/bootstrap.min.js to the end.
For example, if the URL for the enhanced web chat deployment was xyz.com, the final URL will be xyz.com/assets/js/bootstrap.min.js -
Add the embedded messaging component on your employee portal.
- From Setup, in the Quick Find box, search for and select All Sites.
- Click Builder.
- Drag the Embedded Messaging component from the Experience Builder Components list to the portal footer.
-
Select your embedded web deployment in Embedded Messaging configuration panel.
Select
ItEmpAgentChannel to use the web deployment created by Salesforce Go.
- Check Add credential-based user verification.
- In Experience Builder Settings, click Security & Privacy.
- Change the security level from Script CSP to Relaxed CSP.
- Turn off Lightning Web Security.
- Add the scrt2URL and the bootstrap URLs you noted earlier in a text file to the Trusted Sites for Scripts section.
- Publish the changes.
¿Resolvió este artículo su problema?
¡Háganos saber cómo podemos mejorar!

