To integrate with confluence, you need to create an Atlassian application that will act as a bridge between Zylon ↔ Confluence and configure Zylon to use the brand new Atlassian applicationDocumentation Index
Fetch the complete documentation index at: https://docs.zylon.ai/llms.txt
Use this file to discover all available pages before exploring further.
Create an Atlassian app
First you need an atlassian account that will be the owner of the application. We recommend to use a non personal account. This account does not need to have access to any Space as it will serve as a bridge between Zylon and Confluence.-
Go to https://developer.atlassian.com/console/myapps/
Click
Create→OAuth 2.0 integration

- Provide a meaningful name for the Application.

- On distribution:
- In the left menu navigate to
Distribution - Click on
Edit
- In the left menu navigate to

- On distribution status:
- Select the
Sharingcheckbox. - Enter a vendor name or choose the option
Use your own name. - If you have a privacy policy, provide the link to it. If not, use the default link:
https://example.com/privacy, which is intended for internal use. - For the question “Does your app store personal data?”, select
No

- On permissions:
- In the left menu, navigate to
Permissions. - Click
AddforConfluence API. - The page refreshes automatically, and a new
Configurebutton should appear. If it does not, refresh the page manually. - Click
Configure.


- Click
Granual scopesand then onEdit scopes

-
Add one by one the following permissions. You can search them pasting the values into the field with a magnifying glass.
There needs to be a total of
10scopes added that you can review before saving.


- On authorization:
- In the left menu, navigate to
Authorization. - Click
AddforOAuth 2.0 (3LO).

- In authorization:
- In the
Callback URLfield, enter:https://zylon.company.com/api/app/integration/confluence/callbackReplacezylon.company.comwith the hostname where Zylon is installed on your server. - Click
Save changes.

- On settings:
- In the left menu, navigate to
Settings. Copy the two values listed underAuthentication details:- Client ID
- Secret

Configure Zylon to use Atlassian Application
With the values we have acquired in step 10, you need to edit Zylon config file located in/etc/zylon/zylon-conf.yaml
Add the following snippet to the bottom of the file
- clientId → value generated on step 10
- clientSecret → value generated on step 10
- redirectUri → same value as step 9
/etc/zylon/zylon-conf.yaml file
Finally, execute the following command to reset Zylon and update the config
Troubleshooting
I try to upload files to the knowledge base and Confluence button is greyed out
Clear the browser cache and try again.When I click on Upload files -> From Confluence the log in is not working
- Check that the
clientIdsecretIdare copy pasted correctly into Zylon config file - Check that the
Callback URLis correct in step 9 and it’s the same as theredirectUriin the config file.
I don’t see any space to import
- Make sure you have logged in into Confluence with an account that has access to spaces.
- Check the permissions required are correct as shown in step 6