Get Started with Agentforce Agents

Bring the power of conversational AI to your business with Agentforce agents. Build a trusted and customizable AI assistant that empowers your users to get more done in Salesforce. Accelerate your Agentforce integration with our APIs and other developer resources.

Use generative AI to quickly create an OpenAPI document for your Apex REST class and activate the API for use in Agentforce. Deploy the class, the OpenAPI document, and associated metadata to your org’s API catalog. Then create an agent action in Agentforce Builder in your org that’s based on methods in the class.

Use pro-code tools such as Salesforce CLI and VS Code to create and test agents.

Use the Agent API to communicate with AI agents directly from an API. Start sessions, send messages to the AI agent, receive messages, and end sessions with the API.

You can also access an invocable action to chat with an agent. See Calling an Agent from a Flow or Apex Class in Salesforce Help.

Use Testing API to build test metadata, execute tests, poll for results, and programmatically retrieve detailed test results.

To test agents using the Salesforce UI, see the Agentforce Testing Center in Salesforce Help.