Agent Gallery
Agent Gallery OperationsOnboarding AgentsTrusted Agent Huddle

Salesforce Agent

End-to-end walkthrough for onboarding a Salesforce Agent via the Trusted Agent Huddle to the gallery using the AI Refinery runtime.

This walkthrough shows how to add the Salesforce Agent via the Trusted Agent Huddle, upload its runtime definition, configure credentials, and run validation queries inside the Agent Gallery.

1. Create the Salesforce Agent

From the Agent Gallery toolbar select Add Agent, pick the owning organisation, and fill out the metadata (identifier, display name, description, licence, and type) for the Salesforce Agent.

Create Salesforce agent form completed

Click Create Agent to provision the new entry and advance to its overview page.

Salesforce agent overview after creation

2. Upload the runtime YAML

Use Edit → Runtime, confirm the runtime type matches your Salesforce integration, and upload example.yaml with the agent definition below.

orchestrator:
  agent_list:
    - agent_name: "KnowledgeAgent"

utility_agents:
  - agent_class: SalesforceAgent
    agent_name: "KnowledgeAgent"
    agent_description: "The KnowledgeAgent can answer questions based on its knowledge library."
    config:
      client_key: "SALESFORCE_CLIENT_KEY" # Required Client Key
      client_secret: "SALESFORCE_CLIENT_SECRET" # Required Client Secret
      domain: "your-organization-domain-url.develop.my.salesforce.com" # Required Salesforce oraganization URL
      agent_id: "YOUR_AGENT_IDENTIFIER" # Required agent ID
      contexts: # Optional additional agent contexts
        - "date"
        - "chat_history"

Runtime tab with salesforce-example.yaml uploaded for the Salesforce agent

Uploaded YAML rendered in the runtime panel

You should see in the build status that the runtime is successfully uploaded.

3. Register configuration values

Open the Config tab, choose Add Configuration, and register each Salesforce environment variable referenced in the YAML. Mark the variables as required and masked accordingly.

Configuration dialog listing Salesforce variables

Environment VariableTypeRequiredDescription
API_KEYStringYesYour AI Refinery API key.
SALESFORCE_CLIENT_KEYStringYesClient key used to authenticate requests to Salesforce.
SALESFORCE_CLIENT_SECRETStringYesClient secret paired with the Salesforce client key.

These values are prompted before a run.

4. Launch a validation run

Return to the agent overview and select Run. Choose the hardware preset, populate the configuration fields with valid Salesforce credentials, and run the agent.

Run dialog for the Salesforce agent

5. Issue starter queries

Use the chat input to ask introductory questions that verify the KnowledgeAgent responds correctly—for example, ask the agent to surface knowledge articles or common support answers. Confirm the responses look correct.

Chat transcript showing successful Salesforce responses

Salesforce agent handling follow-up prompts

6. Wrap up the session

When validation is complete, shut down the run to release compute resources.