Authenticate Salesforce to Confluence

Create a new Auth. Provider in Salesforce Setup using the following parameters:

  • Provider Type: ZKBConfluenceCloudAuthProvider

  • Name: kbcloud (it must be exactly kbcloud)

  • URL Suffix: kbcloud (it must be exactly kbcloud)

  • Execute Registration As: Select your current user.

image2022-10-18_14-4-16.png

Login to Confluence using Named Credentials

In Named Credentials on Salesforce Setup, edit the kbcloud_principal named credential. Update the following values:

  • Authentication Protocol: OAuth 2.0

  • Authentication Provider: kbcloud

image2022-10-18_14-6-42.png

After saving it will redirect you to the Atlassian site to authenticate and allow access to your Confluence Cloud instance.

image2022-10-18_14-8-4.png

Verify the Authentication Status:

image2022-10-18_14-8-48.png

Add the Confluence Connection in Knowledge:Bridge App

In Salesforce Apps, find the for Knowledge:Bridge App

image2022-10-18_14-12-30.png

 In the K:B Settings Tab, add a new Confluence connection and select an instance from the available Atlassian sites (authenticated previously via named credential) and set an Alias.

image2022-10-18_14-13-46.png