How to Disable Virtual Agent for a Specific Service Portal

George_1
Tera Guru

I have Virtual Agent enabled on both the SP and ESC portals. My requirement is to disable Virtual Agent only for the ESC portal while keeping it available on the SP portal.

 

I noticed that modifying the sp_agent_chat_config configuration can disable the chat experience. Is updating this configuration the recommended approach.

 

Or is there another best practice to disable Virtual Agent for only one portal while leaving it enabled for others?

2 REPLIES 2

Ankur Bawiskar
Tera Patron

@George_1 

simply deactivate the record for that portal

How to remove Virtual Agent from Portal 

AnkurBawiskar_0-1787060341537.png

 

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

Dinesh Chilaka
Kilo Sage

@George_1 ,

Yes, updating the sp_agent_chat_config configuration is the recommended approach and standard best practice in ServiceNow.

ServiceNow natively shifted away from embedding the Virtual Agent widget directly into headers or pages. Instead, the platform handles chat dynamically via the Service Portal Agent Chat Configuration (sp_agent_chat_config) table.

To isolate the change entirely to your ESC portal without impacting the SP portal, make the records that are associated with ESC portals as active false

If my response helps , mark it as helpful and accept the solution.

Thanks,

Dinesh