Authenticate Confluence to Salesforce

Authenticate Confluence to Salesforce

In Confluence Administration → Apps → Knowledge:Bridge,

KBdoc1.jpg

Click on the Login to Salesforce button.

image-20260506-224148.png


Copy the Callback URL.

image (10)-20260507-200443.png

Go to Salesforce in a new tab as a Salesforce Admin and open the External Client App Manager in the Setup, add a New External Client App filling the required fields.

KBdoc49.jpg

Go to the API (Enable OAuth Settings) section

  1. Check Enable OAuth.

  2. Paste the copied Calback URL.

  3. Select the following OAuth scopes:

    • Access the identity URL service (id, profile, email, address, phone)

    • Manage user data via APIs (api)

    • Perform requests at any time (refresh_token, offline_access)

  4. Click on the Create button

image (12)-20260507-201926.png

Once the External Client App was created, copy the Consumer Key and Secret (find them in the Settings Tab → OAuth Settings in the External Client App).

Return to Confluence, paste the copied Consumer Key and Secret and click Continue. Note that the External Client App may take some minutes to be ready (you may get “invalid client Id” if it is not ready).

image (11)-20260507-200711.png

Log in to Salesforce using the account that will be used for publishing Confluence pages to Salesforce Knowledge. Allow Access to the External Client App created before.

KBdoc55.jpg


Once authentication is successful, you will be redirected to Confluence, review the Connection Information.

KBdoc56.jpg

If the Consumer key and secret need to be updated go to the Advanced Options toggle, set the new values and Save, then click on the Login to Salesforce button.

image (13)-20260507-202603.png