Register Confluence Splice application with Atlassian Admin Account

The Confluence Splice application will need to be registered with Atlassian admin account to grant it permission to call the User Provisioning APIs. Follow the steps below to setup the Splice with the required information.

1. Login as Admin to Atlassian Administration and click on the desired organisation

2. Go to Settings menu and click User Provisioning.

a) If the domain is not registered, the following screen is shown.

b) Go to Domains and register the domain.

c) Once a domain is registered, an option to create a Directory is provided under User Provisioning menu

d) On clicking the Create a directory button, the user is directed to a page to create the directory

e) Once the Directory Name is entered and Create button is clicked, the user is directed to a page where the Directory base URL and API key is shown. Copy the Directory base URL and API key and store in the application.properties file of the Confluence Splice application.

f) Once all the setup for the directory is completed, the newly created directory will be shown under the User Provisioning menu

3. For basic authentication for the Confluence cloud APIs, API token needs to be generated.

a) Follow the steps mentioned in https://docs.searchunify.com/Content/Content-Sources/Atlassian-Jira-Confluence-Authentication-Create-API-Token.htm to create an API token.

b) Save the generated token in the application.properties file of the Confluence Splice application.

Integrate Confluence Splice with Connector Application

  1. Latest Confluence splice code is available in the link https://bitbucket.org/sath-inc/confluence-splice/src/Junits,CodeRefactoring/ . The connector url is https://dev4.iamsath.com/confluence.

  2. Follow the instructions here- IDHub Splice / Connector - Implementation Guide to build the Confluence Splice application with the Connector Application

  3. Generate access token for the client of the particular realm and add it to the application.yml file.

  4. The application.yml should look like this

3. After running Maven package, the target folder must contain the highlighted zip and jar files

Run Connector Application

Place the ${project.artifactId}-${project.version}-with-connector-application-${idhub.connection-application.version}.jar file along with the application.yml file in a separate folder and execute java --add-exports=java.naming/com.sun.jndi.ldap=ALL-UNNAMED -jar confluence-splice-1.0.0-with-connector-application-2.1.0.jar command in a terminal.