Loading tutorials
sf agent commands used in the rest of the tutorial. It assumes you can use a terminal, know what a Salesforce DX project is (sfdx-project.json and a force-app folder), and have Node.js available. The next chapter covers authorizing an org.2 min readsf agent command acts on a specific org, so authorization comes before generating or creating anything. This chapter shows how to authorize an org, confirm which org your commands will hit, and check the permissions an agent builder needs.2 min readsf agent generate agent-spec. You should also know the basic layout of a Salesforce DX project.3 min readsf agent create and authorized an org with the Salesforce CLI. It also assumes you are comfortable in a terminal. Preview is the quickest way to see how the agent behaves before you write formal tests.3 min readsfdx-project.json and a force-app directory, an authorized org alias (my-dev-org), and basic Git skills. You should also have created the Case_Helper agent with sf agent create.2 min readsf agent create. It covers how the agent chooses a topic, what kinds of actions a topic can hold, and the mistakes that cause wrong choices.3 min readmy-dev-org), and basic Apex knowledge. A custom action lets an agent run your own logic when the built-in actions are not enough.2 min readsf agent create and tried it with sf agent preview. You should also know basic YAML and how to authorize an org.3 min readsf agent create, previewed it, and run a passing test suite. You should also know what a bot version is in Salesforce metadata. An agent can exist in your org and still be unavailable to users. Activation is the step that makes it available.2 min readsf agent test run command into such a pipeline.3 min readsf agent create, sf agent preview, and source control cover those steps.2 min readsf commands, you have authorized an org, and you have created, previewed, and tested an agent. Here you learn how to find the cause when the development loop breaks.3 min read