Follow the steps in this article to connect your einsteinbut to our messenger system
In this article we assume you already have done the following things
Onboarded your org to social25: Configure Social25
Added an Einstein bot to your org: https://help.salesforce.com/s/articleView?id=sf.bots_service_create.htm&type=5
Create a connected app
Create a connected app following Configure Basic Connected App Settings and Enable OAuth Setting for API Integration with these OAuth scopes.
Access chatbot services (
chatbot_api
): Required. This scope enables access to the Einstein Bots services.Perform requests at any time (
refresh_token
,offline_access
): Required. This scope permits you to get an OAuth access token.
Add the following callback url: https://einstein.social25.chat/api/v1/callback
Save your connected app
Take a note of your consumer key and consumer secret
Create a bot connection
In the Connections section of the Update the Bot Overview Page click Add and fill in the fields.
Connection: Select API.
Integration Name: Add a unique name for this bot API and connected app integration, for example, “Einstein Bots Open API”. A maximum of 128 characters is allowed.
Connected App: Select the name of the OAuth-enabled connected app that you created in “Create a connected app”
Note the runtime base URL
Click Save.
Contact Social25 Support
Send an email to support@gen25.com with the following details:
Your social25 tenant id
The platform/channel name you want connect your bot to
The Einstein bot id
Your consumer key and secret of the connected app
Your org id
The runtime base URL
You will receive a reply with a url to a salesforce login. Login with the user credentials you want the bot to use to acces your Salesforce environment.
Activate your einstein bot