Configure the Donor Support Agent.
Required Editions
| Available in: Lightning Experience |
| Available with: Enterprise, Unlimited and Developer Editions with an Agentforce or Einstein for Sales, Service, Platform, or Industry add-on license, where Fundraising is enabled. Requires each user to have the Agentforce or Einstein add-on to access the actions. |
| User Permissions Needed | |
|---|---|
| To set up and use an AI agent for Nonprofit Cloud: |
Manage Agentforce Employee Agents AND Manage AI Agents |
| To use the Donor Support Agent in Experience Cloud: |
FundraisingExperienceCloud AND Manage Donations with Agentforce in Experience Cloud |
Clone the FundraisingExperienceCloud and Manage Donations with Agentforce permission sets for your donors to use the agent in your Experience Cloud site. Provide object and field permissions as described in Donor Support Agent Permission Set Configuration.
- Make sure that Fundraising is enabled in your org.
-
Set up Agentforce in your org.
For Nonprofit Cloud, see Agentforce for Nonprofit Cloud Prerequisites.
-
Turn on the Donor Support Agent.
- From Setup, in the Quick Find box, enter Nonprofit, and then select AI Settings.
-
Turn on the Donor Support Agent.
If you don’t see this agent in AI Settings for Nonprofit Cloud, try refreshing the page.
- If you haven’t already, set up and configure your org for Experience Cloud sites.
- If you haven’t already, create an Experience Cloud site.
- On your Experience Cloud site’s Administration settings, go to Members, and add Customer Community Plus Login User and Customer Community Plus User to your selected profiles and save.
-
Provide permission to use external profiles on your site.
- From Setup, in the Quick Find box, enter Digital, and then under Digital Experiences click Settings.
-
Under Role and User Settings, select Allow using standard external profiles
for self-registration, user creation, and login.
If you see a warning about using external profiles, click OK.
- Save your changes.
-
Create an agent from the Agentforce Employee Agent
template.
Important Be sure to add the Manage Gift Commitments subagent. -
Turn on Omni-Channel.
- From Setup, in the Quick Find box, enter Omni, and then under Omni-Channel, click Omni-Channel Settings.
- Select Enable Omni-Channel.
- Next to Define login behavior when an agent using Omni-Channel opens a new window or tab, select Automatically log agents in to Omni-Channel in the new window or tab.
- Save your work.
-
Create a routing configuration for your Omni-Channel.
- From Setup, in the Quick Find box, enter Routing, and then under Omni-Channel, click Routing Configurations.
- Click New.
- Provide a name for your agent routing configuration.
-
Under Routing Settings, enter a priority of 1 and for Routing
Model, select Most Available.
Leave the Capacity Type default of Inherited.
- Under Work Item Size, for Units of Capacity, enter 2.
- Save your work.
-
Relate this routing configuration to a queue.
- From Setup, in the Quick Find box, enter Queue, and then under Users click Queues.
- Click New.
- For the Label and Queue Name, enter Messaging Queue.
- Under Supported Objects, add Messaging Session to the Selected Objects list.
- Under Queue Members, search Users and add your Salesforce admin as a selected member.
- Search Customer Portal Users and add your portal users to the selected members list.
- Save your work.
-
Create an Omni-Channel Flow.
- From Setup, in the Quick Find box, enter flows, and then under Process Automation, click Flows.
- Click New Flow, and search for and select Omni-Channel Flow.
- Add a Route Work element to the flow.
- For the element, provide a Label and API Name and keep the number of records to route set to Single.
- For Record ID Variable, select New Resource.
- On the New Resource window, for Resource Type, select Variable, for API Name, enter recordid, for Data Type, select Text, and for Availability Outside the Flow, select Available for Input.
- Click Done.
- For Service Channel, select Messaging.
- Route to Agentforce Employee Agent.
- For Agentforce Employee Agent, search for the agent you created and select it.
- For Fallback Queue, select Use Variable, and for the Fallback Queue ID, enter {!Route_Work}.
- Activate the flow.
-
Create a messaging channel.
- From Setup, in the Quick Find box, enter Messaging, and then under Feature Settings click Messaging Settings.
- Turn on Messaging.
- Click New Channel.
- On the Add a Channel window, click Start and select Enhanced Chat as the channel type.
- Give your channel a name, developer name, and keep Web as the development type.
-
In the Domain field, enter the domain of your Experience Cloud site.
This name is the portion of your site’s URL that begins with “my”. Find the name of your site by going to All Sites in Feature Settings, and copying the last portion of the site’s URL.For example: my.pc-xmpl-site.com/.
- Click Next.
- For Routing Type, select Omni-Flow, for Flow Definition, select the Omni-Channel flow you created previously, and for FallBack Queue, search for and select Messaging Queue.
- Click Save.
- Accept the terms and conditions and click Save.
- On the Enhanced Chat page, under User Verification, select Add User Verification and Save.
-
Create an embedded service deployment.
- From Setup, in the Quick Find box, enter Embed, and then under Embedded Service click Embedded Service Deployments.
- Click New Deployment.
- Select Enhanced Chat and click Next.
- Select Web and click Next.
-
Enter a name for your embedded service deployment.
For example, Embedded Agent.
-
In the Domain field, enter your Experience Cloud site’s domain name.
For example, my.pc-xmpl.site.com/.
- Select the messaging channel that you made in the previous steps and click Save.
-
Add all forms of your site URL to the CORS allowed list.
- From Setup, in the Quick Find box, enter cors, and then under Security click CORS.
- Click New.
-
Enter https://*<your Experience Cloud site’s domain name>.
For example, https://*my.pc-xmpl.site.com.
-
Add embedded messaging to your Experience Cloud site.
- From Setup, in the Quick Find box, enter site, and then under Digital Experiences click All Sites.
- Next to your site, click Builder.
- Click Components, select Embedded Messaging, and drag it to the top of your site page.
- In the Embedded Web Deployment field of the component, select the agent you created.
- Select Add credential-based user verification.
- Publish the site.
-
Add sharing sets to your digital experience.
- From Setup, in the Quick Find box, enter Digital, and then under Digital Experiences click Settings.
- Scroll to Sharing Sets and click New.
-
Enter a name for the Label and Sharing Set Name.
For example, Donor Sharing.
- Add the Customer Community Plus Login User and the Customer Community Plus User to the selected profiles list.
- Add the Account, Gift Commitment, Gift Transaction, and Payment Instrument objects to the selected objects list.
-
Configure read/write access to the selected objects.
- For the Account object, determine access by User:Account.PersonContact = Account:PersonContact.
- For the Gift Commitment object, determine access by User:Account.PersonContact = Gift Commitment:Donor.PersonContact.
- For the Gift Transaction object, determine access by User:Account.PersonContact = Gift Transaction:Donor.PersonContact.
- For the Payment Instrument object, determine access by User:Account.PersonContact = Payment Instrument:Account.PersonContact.
- Save your work.