本文是《快速连接 Agentforce 与 Slack — 将 AI Agent 带入工作流》的练习操作步骤。阅读原文请见:快速连接 Agentforce 与 Slack — 将 AI Agent 带入工作流。
1. Sign Up for the Agentforce Developer Edition Org
- Sign up for a free [Developer Edition org with the product specialist agent](https://trailhead.salesforce.com/promo/orgs/agentforce-for-slack-on-trailhead).
- Fill out the form and click Sign me up.
- Open the activation email, click Verify Account, and set your password and challenge question.
2. Activate Einstein, Einstein Bots, and Agentforce
- Click the gear icon and select Setup.
- In Quick Find, search for and select Einstein Setup, and ensure Einstein is On.
- In Quick Find, search for and select Einstein Bots, and set it to On (dismiss any welcome modal).
- In the Search features box, enter and select Agentforce (Default).
- Select Get Started, Turn On, then Confirm.
3. Locate Product Management Agent
- Open the App Launcher and select Agentforce Studio.
- Confirm Product Management Agent is on the list.
4. Retrieve Your Domain URL
- In Setup, search for and select My Domain.
- Copy the URL in the Current My Domain URL field (format:
yourdomainname-dev-ed.develop.my.salesforce.com).
5. Retrieve Your Trailhead Slack Playground
- Scroll to the Challenge section (Verify Step).
- Select your Trailhead email, check I accept the Slack Developer Terms of Service.
- Select Create Slack Playground.
- Select Launch to open the playground, then I Agree on the terms modal.
6. Request a Connection to Salesforce
- In Slack, select your workspace name to open the dropdown.
- Navigate to Tools & settings | Manage Salesforce Organizations.
- Select Connect Salesforce Org.
- Paste your domain URL into the Salesforce org field.
- Uncheck Map user accounts automatically.
- Select Request Connection, then Okay.
7. Approve the Connection Request
- In Setup, search for and select Manage Slack Connection.
- Check the checkbox to agree to terms.
- Select Approve.
8. Activate the Connection in Slack
- In Slack, go to Workspace name | Tools & settings | Manage Salesforce organizations.
- In the Connection status column, select View Details.
- Select Activate, then Activate again in the modal.
9. Add Your Slack User to Salesforce
- Select the Users tab, then Add individually.
- Search for and select your Slack username (appended with "(you)").
- Select Grant Access to 1 Person.
10. Sign Your Slack User into Salesforce
- Go back to Slack and refresh.
- In the "Bring Salesforce data into Slack" modal, select Sign in to Salesforce.
- Select Continue, then Continue to Salesforce.
- Enter your admin login credentials, then Login and Allow.