Installing and Setting Up Agentforce for Microsoft Teams
This guide walks you through installing and configuring Centro's Agentforce for Microsoft Teams, a powerful add-on for Centro’s Salesforce integration. By following these steps, you’ll get both the Salesforce and Microsoft Teams components set up and connected.
π§ Step 1: Install the Centro Core Package in Salesforce
Before installing Agentforce, you must install the Centro Core package.
Use the install links below:
- Production Install Link
- Sandbox Install LinkSelect Install for Admins Only.
Accept third-party access and begin the install.
If the install takes time, click Done — you’ll receive a confirmation email when the install is complete.
Once installed, verify by going to:
Setup → Installed Packages → Look for Centro
π¦ Step 2: Install the AgentForce for Microsoft Teams Package
From AppExchange or Setup, search for:
AgentForce for Microsoft Teams - or use this link
Click Get It Now and choose the same environment (Production or Sandbox) as before.
Log in when prompted, then select Install for Admins Only.
The installation should now succeed.
π¬ Step 3: Add the Centro App to Microsoft Teams
You can do this two ways:
Option 1: Inside Microsoft Teams
Open Microsoft Teams
Click Apps
Search for Centro
Click Add
Option 2: From Microsoft AppSource
Visit Microsoft AppSource
Search for Centro
Click Get It Now
Once added, click Open to view the Centro home tab in Teams.
π Step 4: Authorize the App in Microsoft Teams
In the Centro Teams app, click Authorize.
A Microsoft Teams Admin may be required.
If you’re not an admin, click through the dialog and send a notification to your IT administrator.
π Step 5: Connect to Salesforce
From the Centro Teams app, click Automation User.
Select the environment (Production or Sandbox) that matches your install.
Complete the OAuth prompt to connect to Salesforce.
π€ Step 6: Configure Salesforce Permissions
Go to Users → Select Your Admin User
Click Permission Set Assignments → Edit Assignments
Assign:
Centro Admin
Centro User
Go to Installed Packages → Centro → Manage Licenses
Add your admin user (at minimum) to the licensed users.
π₯ Step 7: Create the Agentforce Integration User
Navigate to Users → New User
Use:
User License: Einstein Agent
Profile: Einstein Agent User
Email: A working email you have access to
Assign these permission sets:
Centro Admin
Centro User
Avoid assigning Agentforce Default Agent (it may cause errors)
Go to Installed Packages → Manage Licenses and add this integration user to AgentForce.
π Step 8: Create and Configure a Connected App
In Setup, search for:
External Client Apps
Go to Settings → Enable Creation of Connected Apps
Click Create New Connected App and fill in:
App Name: Centro AgentForce for Microsoft Teams
Callback URL: https://login.salesforce.com
Selected OAuth Scopes:
Access chatbot services
Access and manage your data (API)
Manage user data via APIs
Perform requests at any time
OAuth Settings:
Deselect all “require secret” options
Enable client credentials flow
Issue JWT-based access tokens for named users
Save and continue.
π§ Step 9: Finalize Connected App Settings
After saving, click Manage → Policies
Set Permitted Users: All users may self-authorize
Under Client Credentials Flow, select an admin user to run as
Go to Agentforce → Agents → Connections
Click Add API Agent
Select the connected app you just created
π Step 10: Retrieve Consumer Key & Secret
Go to App Manager → Find your new Connected App → View
Click Manage Consumer Details
Verify your identity via email
Copy the Consumer Key and Secret
π Step 11: Finish Connection in Teams
In Microsoft Teams → Centro App
Click the βοΈ (gear) icon
Paste the Consumer Key and Secret
Click Save — the screen should refresh and show your agents
Select an agent to start a session
β οΈ Troubleshooting: Installation Order Matters
If you attempt to install Agentforce for Teams before installing the Centro Core package, you will encounter the following error:
β “This package can’t be installed.”
To resolve this:
First install Centro Slack + Microsoft Teams + Salesforce Integration
Then install AgentForce for Microsoft Teams