Confluence tools setup
Use Confluence tools to let Glean Assistant and Glean Agents search, create, and update content in Confluence Cloud including spaces, pages, and blog posts without leaving Glean.
With this setup, you can:
- Enable a Confluence tools for a tenant.
- Authenticate using either a central Confluence OAuth app or a customer-managed OAuth app.
- Decide which agents and surfaces can use these tools.
Prerequisites
Before enabling Confluence tools:
- The Confluence connector must be configured and successfully crawling content.
- You must be able to access the Glean Admin Console.
- Your Confluence admin can approve an OAuth app:
- For central or custom OAuth, your Atlassian / Confluence admin must be able to create or approve an OAuth integration and grant the scopes shown in the Confluence Tools setup screen.
Setup instructions
Follow these steps to setup the Confluence tools:
- In Glean, go to Admin Console → Platform → Tools.
- Click Add.
- From the list in the Add pre‑set tools section, select Confluence Tools under Tool templates.
- In the Configuration tab:
- Add the Instance Name.
noteIf you have multiple Confluence Cloud instances, create a separate tools per connector instance and name them accordingly, for example, Confluence Tools – Corp Wiki, Confluence Tools – Engineering.
- Select Connector Instance to link this tool to your Confluence instance.
- Configure authentication using the tabs below, based on your requirements.
Configure authentication
Confluence tools use user OAuth so that tools run as the signed‑in user and respect their permissions. You can either use a central Glean‑managed app (recommended where available) or configure a custom OAuth app in Atlassian.
- Central authentication (Recommended)
- Custom authentication
Use the central option if:
- Your organization is Glean‑hosted, and
- Central apps are available for Confluence in your environment.
- Select Central under the Authenticate section on the Confluence Tools setup page.
- Click Save.
- Click Edit settings under the Enable Tools section to make tools visible for all or some users within Glean Assistant and Glean Agents.
End users are prompted to connect their Confluence account the first time they run a tool, and tokens are managed centrally thereafter.
Use the custom option if:
- You are self‑hosted, or
- Your security model requires a customer‑owned Atlassian OAuth app.
Step 1: Create a new OAuth app
- Navigate to the Atlassian Developer Console and create a new app of type OAuth 2.0 integration.
- Click Save to create the OAuth app.
- Copy the Client ID.
- Copy the Client Secret.
Step 2: Set permissions
- Go to the Permissions tab of your app configuration.
- Add Scopes. These scopes are available in the Confluence tools configuration page on the Glean admin console.
Step 3: Update distribution settings
- Go to the Distribution tab of your app configuration in the Atlassian Developer Console.
- Click Edit.
- Change the Distribution Status to Sharing.
- Add a privacy policy. You can use Glean privacy policy.
- Click Save Changes.
Step 4: Fill the client ID and client secret
- Navigate to the Confluence tools configuration page in the Glean admin console.
- Select custom under the Authenticate section.
- Add the Client ID and Client secret information.
- Click Save.
- Copy the Callback URL.
Step 5: Configure the callback URL in your OAuth app
- Go to the Authorization tab of your app configuration on the Atlassian developer console.
- Paste the callback URL into the Callback URL field.
- Click Save your OAuth app.
Step 6: Configure surface visibility
Click Edit settings under the Enable Tools section to make tools visible for all or some users within Glean Assistant and Glean Agents.