Skip to content

Commit 69464bb

Browse files
Configure embedded messaging settings
Added custom branding and labels for embedded messaging.
1 parent e5521b2 commit 69464bb

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

godwin/sdb6/cwc.html

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,21 @@ <h2>godwin@sdb6.org</h2>
2424
try {
2525
embeddedservice_bootstrap.settings.language = 'en_US'; // For example, enter 'en' or 'en-US'
2626
embeddedservice_bootstrap.settings.devMode = true;
27+
agentforce_messaging.settings.embeddedServiceConfig = {
28+
"branding":[
29+
{
30+
"n":"botImage",
31+
"v":"https://icons.iconarchive.com/icons/hopstarter/malware/256/Spy-icon.png"
32+
}
33+
],
34+
"customLabels":[
35+
{
36+
"sectionName":"EmbeddedMessagingChatHeader",
37+
"LabelName":"DefaultHeaderText",
38+
"LabelValue":"This is my custom label"
39+
}
40+
]
41+
};
2742
embeddedservice_bootstrap.init(
2843
'00DSG000003UGaH',
2944
'CWC3',

0 commit comments

Comments
 (0)