This page describes how to connect Confluence Cloud to Agentspace Enterprise.
After you set up your data source and import data the first time, the data store syncs data from that source at a frequency that you select during setup.
Before you begin
Before setting up your connection:
Verify that you have administrator access to the Confluence instance and project.
Set up access control for your data source. For information about setting up access control, see Use data source access control.
Set up authentication and permissions in Confluence
Make sure that you have the necessary authentication details and administrator access to your Confluence instance. Use the following instructions to create a client ID and client secret through the Atlassian Developer Console, configure the required OAuth 2.0 scopes, set up permissions for users, retrieve your instance URL and ID, configure roles, and authenticate to sync data between Confluence Cloud and Agentspace Enterprise . To enable OAuth 2.0 and obtain the client ID and secret, see OAuth 2.0 (3LO) apps in the Atlassian Developer documentation.
Create an OAuth 2.0 integration in the Atlassian Developer Console:
- Sign in to Atlassian Developer Console.
Click the profile icon and select Developer console.
Select Developer console Click Create and select OAuth 2.0 Integration.
Select OAuth 2.0 Integration Enter a name for the app and do the following:
- Check the terms and conditions checkbox.
Click Create.
Create a new OAuth 2.0 Integration Click Authorization.
In the Authorization type table, select Add for OAuth 2.0 (3LO).
Add authorization type
In the Callback URL field, enter
https://vertexaisearch.cloud.google.com/console/oauth/confluence_oauth.html
.Click Save changes.
Save changes
If you see the warning: Your app doesn't have any APIs. Add APIs to your app, proceed to step 2 under the next section and complete all the remaining steps. Otherwise, skip ahead to step 4 in that same section.
To configure OAuth 2.0 and retrieve the required credentials for your Confluence connector setup, do the following:
Enable OAuth 2.0:
Click Permissions.
Select permissions Go to Confluence API.
Click Add.
Click Configure.
Go to the Granular scopes tab and click Edit scopes.
Edit scopes Select the following scopes.
Confirm that seven scopes are selected and save your changes.
Obtain the client ID and client secret:
- Click Distribution.
Select Edit.
Edit distribution Select Sharing to enable editing other fields.
Fill out the remaining fields. Make sure to set Vendor to Google and Privacy policy to
policies.google.com
.Select Yes when you see `Does your app store personal data?.
Select Settings to copy your Client ID and Client secret.
Copy your client ID and client secret
Obtain the instance URL:
- Go to atlassian.net and sign in with your administrator account.
- Select the app you want to sync. For example, sync the first app.
- Find the instance URL. It appears as the subdomain in the address bar.
Obtain the instance ID:
- Open a new tab, copy the instance URL, and append
/_edge/tenant_info
to the instance URL. For example,https://<var>YOUR-INSTANCE</var>.atlassian.net/_edge/tenant_info
. Navigate to the link to find the
cloudId
value. ThecloudId
is your instance ID.Obtain instance ID
- Open a new tab, copy the instance URL, and append
Set up permissions and roles
To set the user visibility, do the following:
Click the user profile icon and go to Manage account.
Manage account Navigate to the Profile and visibility.
Profile and visibility Go to Contact and set the Who can see this as Anyone.
Contact
To grant Confluence administrator with Discovery Engine Editor role in the Google Cloud console, do the following:
- In the Google Cloud console, go to the Agentspace page.
- Navigate to IAM.
- Locate the Confluence administrator account.
- Grant the Discovery Engine Editor role to the administrator.
To grant a user with an administrator role in Atlassian, do the following:
Sign in to Atlassian using an administrator account.
Click the menu icon and select your organization. Alternatively, you can go to admin.atlassian.com.
On the Admin page, click the product and select the Manage users button.
Manage users Click Groups under User management.
On the Groups page:
- Click Create group.
- Enter a name for the group.
Create group
This group receives permissions required by the connector. Users added to this group inherit these permissions.The connector uses this group to authenticate and fetch documents.
On the group page, click Add product.
- Select User access admin as the product role.
Click Add.
Confluence user access administrator
Click Add group members to add the user account or group members that the connector uses to authenticate.
Add group members
Create a Confluence Cloud connector
Console
To use the Google Cloud console to sync data from Confluence Cloud to Agentspace Enterprise , follow these steps:
In the Google Cloud console, go to the Agentspace page.
In the navigation menu, click Data stores.
Click
Create data store.On the Select a data source page, scroll or search for Confluence to connect your third-party source.
Enter your authentication information and click Authenticate.
A new window appears. Enter the instance username and password. Check that the authentication succeeded before returning to the Specify the Confluence source for your data store page.
Enter the authentication details Select which entities to sync and click Continue.
Select entities to sync Select a region for your data connector.
Enter a name for your data connector.
Select a synchronization frequency.
Click Create. Agentspace Enterprise creates your data store and displays your data stores on the Data Stores page.
To check the status of your ingestion, go to the Data stores page and click your data store name to see details about it on its Data page. The Connector state changes from Creating to Running when it starts synchronizing data. When ingestion is complete, the state changes to Active to indicate that the connection to your data source is set up and awaiting the next scheduled synchronization.
Depending on the size of your data, ingestion can take minutes or hours.
Next steps
To attach your data store to an app, create an app and select your data store following the steps in Create an app.
To preview how your search results appear after your app and data store are set up, see Preview search results. If you used third-party access control, see Preview results for apps with third-party access control.
To enable alerts for the data store, see Configure alerts for third-party data stores.