Pass branding to a chat client
reference brazil Updated Sep 10, 2026 1 min read va-ccif-pass-branding.md
Pass custom branding to your custom chat integration.
See Set up your Virtual Agent bot's branding for more information about branding. Use sn_cs.VASystemObject.getSettings to apply branding.
Example script:
JavaScript
va_sms_twilio_adapter_default_text_outbound_transformer(function execute(inputs, outputs) { try { var richControl = inputs.rich_control; var branding = sn_cs.VASystemObject.getSettings("default_branding"); // new var header = "(" + branding["header_label"] + ") "; // new outputs.result = header; // new outputs.result += richControl['label']; } catch(e){ gs.error('Error in default text outbound transformer: ' + e.message); throw e; } })(inputs, outputs);Parent Topic:Supported Virtual Agent and Agent Chat features for custom chat integrations
41 lines · 1.6 KB
---
title: Pass branding to a chat client
description: Pass custom branding to your custom chat integration.
locale: en-US
canonical_url: https://www.servicenow.com/docs/r/conversational-interfaces/virtual-agent/va-ccif-pass-branding.html
release: brazil
product: Virtual Agent
classification: virtual-agent
topic_type: reference
last_updated: "2026-09-10"
reading_time_minutes: 1
breadcrumb: [Supported features for custom chat integrations, Create custom chat integrations, Configure, Virtual Agent, Conversational Interfaces]
---
# Pass branding to a chat client
Pass custom branding to your custom chat integration.
See [Set up your Virtual Agent bot's branding](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/conversational-interfaces/ac-configure-chat-branding.md) for more information about branding. Use `sn_cs.VASystemObject.getSettings` to apply branding.
Example script:
```
va_sms_twilio_adapter_default_text_outbound_transformer
(function execute(inputs, outputs) {
try {
var richControl = inputs.rich_control;
var branding = sn_cs.VASystemObject.getSettings("default_branding"); // new
var header = "(" + branding["header_label"] + ") "; // new
outputs.result = header; // new
outputs.result += richControl['label'];
} catch(e){
gs.error('Error in default text outbound transformer: ' + e.message);
throw e;
}
})(inputs, outputs);
```
**Parent Topic:**[Supported Virtual Agent and Agent Chat features for custom chat integrations](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/conversational-interfaces/virtual-agent/va-features-custom-chat-integrations.md)
| title | Pass branding to a chat client |
| description | Pass custom branding to your custom chat integration. |
| locale | en-US |
| canonical_url | https://www.servicenow.com/docs/r/conversational-interfaces/virtual-agent/va-ccif-pass-branding.html |
| release | brazil |
| product | Virtual Agent |
| classification | virtual-agent |
| topic_type | reference |
| last_updated | 2026-09-10 |
| reading_time_minutes | 1 |
| breadcrumb | Supported features for custom chat integrationsCreate custom chat integrationsConfigureVirtual AgentConversational Interfaces |