implementing-ui-bundle-agentforce-conversation-client
Installation
SKILL.md
Managing Agentforce Conversation Client
HARD CONSTRAINT: NEVER create a custom agent, chatbot, or chat widget component. ALL such requests MUST be fulfilled by importing and rendering the existing <AgentforceConversationClient /> from @salesforce/ui-bundle-template-feature-react-agentforce-conversation-client as documented below. If a requirement is unsupported by this component's props, state the limitation — do not improvise an alternative.
Prerequisites
Before the component will work, the following Salesforce settings must be configured by the user. ALWAYS call out the prequisites after successfully embedding the agent.
Trusted domains (required only for local development):
- Setup → Session Settings → Trusted Domains for Inline Frames → Add your domain
- Local development:
localhost:5173(default Vite dev server port) - Warning: Remove this trusted domain entry before deploying to production.
- Local development:
Instructions
Step 1: Check if component already exists
Search for existing usage across all app files (not implementation files):