Centro Support Center

Contact Us

Setup: Service External Agents Create and Configure a Connected App for External Agents

Create and Configure a Connected App

🔐 Step 1: Set up Configure Connect App in Salesforce

  1. In Setup, search for:

    External Client Apps

  2. Go to Settings → Enable Creation of Connected Apps

  3. Click Create New Connected App and fill in:

    • App Name: Centro AgentForce for Microsoft Teams

    • Callback URL: https://login.salesforce.com

    • Selected OAuth Scopes:

      • (chatbot_api)

      • (sfap_api)

      • (api)

      • (refresh_token, offline_access)

    • OAuth Settings:

      • Deselect all “require secret” options

      • Enable client credentials flow

      • Issue JWT-based access tokens for named users

  4. Save and continue.


🔧 Step 2: Finalize Connected App Settings

  1. After saving, click Manage → Policies

    • Set Permitted Users: All users may self-authorize

    • Under Client Credentials Flow, select a Run As user that has at least API Only access, typically the same user as the Agent User configured on your Agent.

  2. Go to Agentforce → Agents → Select your Agent ->  Connections Tab

    • Click Add in the Connections section detail

    • Select the connected app you just created


🔑 Step 3: Retrieve Consumer Key & Secret

  1. Go to App Manager → Find your new Connected App → View

  2. Click Manage Consumer Details

  3. Verify your identity via email

  4. Copy the Consumer Key and Secret



🔗 Step 1: Finish Connection in Teams

  1. In Microsoft Teams → Centro App -> Agentforce Tab

  2. Click the ⚙️ (gear) icon

  3. Paste the Consumer Key and Secret from step 10.4  to "Connected App Client ID" and "Client Secret" respectively.

  4. Click Save — the screen should refresh and show your agents

  5. If prompted, connect to Salesforce with your own user which is used to determine the Salesforce Org to list active Agents.

  6. Select an Agent to start a session.