You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/docs/content/docs/search/confluence.mdx
+14-14Lines changed: 14 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,10 +17,10 @@ Admin setup uses your organization's **Settings → Sources** page. Teammates co
17
17
18
18
| Method | Who supplies the content? | What teammates do |
19
19
| --- | --- | --- |
20
-
|**Central account**| One account syncs content, space permissions, page restrictions, and group membership. | Connect their own Confluence account so Sim can match their Atlassian identity to those permissions. |
20
+
|**Service account**| One service account syncs content, space permissions, page restrictions, and group membership. | Connect their own Confluence account so Sim can match their Atlassian identity to those permissions. |
21
21
|**Member accounts**| Sim syncs content separately through connected members' accounts. | Connect their own Confluence account to establish which pages they can access. |
22
22
23
-
Selecting **Add source** on Confluence's integration page opens central account setup. Use this when one account can read the intended spaces and their permissions. For a member source, start **Connect account** from **Integrations** in the main sidebar after an admin allows Confluence. Available methods depend on your organization's enabled features.
23
+
Selecting **Add source** on Confluence's integration page opens service-account setup. Use this when a service account can read the intended spaces and their permissions. For a member source, start **Connect** from **Integrations** in the main sidebar after an admin allows Confluence. Available methods depend on your organization's enabled features.
24
24
25
25
**Everyone still connects in both methods.** With a central account, teammates supply their identity; they do not configure another central crawl or choose spaces again.
26
26
@@ -40,14 +40,14 @@ On hosted Sim, personal connections authorize the existing Sim app. Teammates do
40
40
41
41
### Choose Confluence
42
42
43
-
Open **Settings → Sources** and turn on **Confluence** under **Allowed in Sim Search**. Select **Set up** (or **Manage** if sources already exist), then **Add source**. **Setup guide** opens this guide from the source form.
43
+
Open **Settings → Sources** and turn on **Confluence**. Select **Set up** (or **Manage** if sources already exist), then **Add source**. **Setup guide** opens this guide from the source form.
44
44
45
45
</Step>
46
46
<Step>
47
47
48
-
### Select an account
48
+
### Select a service account
49
49
50
-
Under **Indexing account**, select an existing account, choose **Connect Confluence account** for OAuth, or add a service account using the [steps below](#using-a-service-account). The account must be able to read the content and its permissions.
50
+
Under **Indexing account**, select an existing service accountor add one using the [steps below](#using-a-service-account). It must be able to read the content and its permissions. Personal OAuth accounts are used in the member connection flow.
51
51
52
52
</Step>
53
53
<Step>
@@ -60,17 +60,17 @@ Open **More options** to change **Content Type**, **Filter by Label**, or **Meta
60
60
61
61
<ImageclassName="mx-auto h-auto w-full max-w-md"
62
62
src="/static/search/confluence-setup.jpg"
63
-
alt="Confluence central source setup with an indexing account, domain, and spaces"
63
+
alt="Confluence central setup requiring a service account, site domain, and spaces"
64
64
width={520}
65
-
height={397}
65
+
height={398}
66
66
/>
67
67
68
68
</Step>
69
69
<Step>
70
70
71
71
### Save and connect your identity
72
72
73
-
Click **Connect & Sync**. Then open **Integrations** in the main sidebar, click **Connect account** on the Confluence source, and finish the connection in the new tab. Sign in using the Atlassian email that matches your verified Sim email, and authorize the configured site.
73
+
Click **Connect & Sync**. Then open **Integrations** in the main sidebar, click **Connect** on the Confluence source, and finish the connection in the new tab. Sign in using the Atlassian email that matches your verified Sim email, and authorize the configured site.
74
74
75
75
Each teammate completes this last step. A previously authorized account may already be connected. Return to Integrations to see indexing status and your searchable document count.
76
76
@@ -79,7 +79,7 @@ Each teammate completes this last step. A previously authorized account may alre
79
79
80
80
## Connect member accounts
81
81
82
-
After an admin allows Confluence, open **Integrations** in the main sidebar and select **Connect account**. If there is no source yet, enter **Confluence Domain** and **Space Keys**, then select **Connect** and authorize your account. For another site or space scope, use**Add source** beside **Add another Confluence source**.
82
+
After an admin allows Confluence, open **Integrations** in the main sidebar and select **Connect**. If there is no source yet, enter **Confluence Domain** and **Space Keys**, then select **Connect** and authorize your account. For another site or space scope, select**Connect** beside the Confluence row labeled **Connect a different site or content scope**.
83
83
84
84
An admin can open **Settings → Sources**, select **Manage** beside **Confluence**, and open the source's **Settings** tab to adjust its filters. **Account for browsing** helps populate the space picker; it does not connect that account for Search. Manual space keys work without a browsing account.
85
85
@@ -147,7 +147,7 @@ Under **Indexing account**, choose the service-account connection action. Paste
147
147
Scopes do not grant access to spaces or pages by themselves. Keep the account's Confluence permissions and its token scopes aligned. When a token expires or needs different scopes, create a replacement in Atlassian. Add the replacement service account in the source's **Settings**, then use **Change indexing account** to apply it.
148
148
149
149
<Callouttype="info">
150
-
Personal OAuth uses Sim's shared Confluence integration and requests a broader set of permissions, including writes. Search reads content and permissions; it does not edit your Confluence pages. Older OAuth connections need to reconnect to grant the group-read permission used by central permission syncing.
150
+
Personal OAuth uses Sim's shared Confluence integration and requests a broader set of permissions, including writes. Search reads content and permissions; it does not edit your Confluence pages.
151
151
</Callout>
152
152
153
153
## Configuration
@@ -164,7 +164,7 @@ Search manages the schedule and hides item limits. Published/current content is
164
164
165
165
## Teammates and ongoing sync
166
166
167
-
Existing organization members see the configured Confluence source and their own **Connect account** or **Reconnect** action. Add new teammates through your Sim organization invitation or SSO onboarding, then have them connect Confluence from Integrations. Connecting a Confluence account does not add someone to the Sim organization.
167
+
Existing organization members see the configured Confluence source and their own **Connect** or **Reconnect** action. Add new teammates through your Sim organization invitation or SSO onboarding, then have them connect Confluence from Integrations. Connecting a Confluence account does not add someone to the Sim organization.
168
168
169
169
With a central account, Sim applies space access together with the page's restrictions and inherited ancestor restrictions. Group membership is refreshed in the background. With member accounts, each person's provider listing determines the pages available to them. A Sim organization admin does not automatically receive access to every Confluence document.
170
170
@@ -174,7 +174,7 @@ New content and permission changes require a sync and processing before Search r
174
174
175
175
| What you see | What to check |
176
176
| --- | --- |
177
-
|**Connect & Sync** is disabled | Select a central account, enter the domain, and choose at least one space. |
177
+
|**Connect & Sync** is disabled | Select a service account, enter its site domain, and choose at least one space. |
178
178
| Space picker is empty | Connect an account, enter the correct domain, and verify its space access. You can also switch to manual space keys. |
179
179
| Service-account validation fails | Check the token's expiry, site, Confluence app access, and scopes. Use a scoped API token from an Atlassian service account. |
180
180
| Content syncs but central search returns nothing | Connect your personal Confluence identity. Ask the admin to check directory/permission sync errors and group-read scopes. |
@@ -190,12 +190,12 @@ On Confluence Premium, **Inspect permissions** can show where a user's access is
190
190
191
191
## Self-hosted operator setup
192
192
193
-
Configure one shared Confluence OAuth integration for your deployment. This powers personal identity connections in both Search methods and the optional central OAuth account.
193
+
Configure one shared Confluence OAuth integration for your deployment. This powers personal connections in both Search methods. Central indexing uses a service-account token.
194
194
195
195
1. In the [Atlassian developer console](https://developer.atlassian.com/console/myapps/), select or create your deployment's **OAuth 2.0 integration**.
196
196
2. Under **Authorization → OAuth 2.0 (3LO)**, add `https://<your-sim-domain>/api/auth/oauth2/callback/confluence` to **Callback URLs**, keep existing callbacks used by the deployment, and save.
197
197
3. Under **Permissions**, add the Confluence API and configure the full `confluence` scope list for your release in [Sim's OAuth configuration](https://github.com/simstudioai/sim/blob/staging/apps/sim/lib/oauth/oauth.ts), including `read:group:confluence`. Also add **User Identity API** with `read:me`. Sim requests `offline_access` for refresh tokens. The service-account read scopes above do not replace the broader shared OAuth scope set.
198
198
4. Enable sharing under **Distribution**. Set `CONFLUENCE_CLIENT_ID` and `CONFLUENCE_CLIENT_SECRET` from the app's **Settings**, verify `NEXT_PUBLIC_APP_URL`, and restart Sim.
199
-
5. Start authorization from **Integrations** and select the configured site. Reconnect old accounts after adding scopes so the new permission grant takes effect.
199
+
5. Start authorization from **Integrations** and select the configured site. After changing the deployment's OAuth client or requested scopes, an organization admin selects **Settings → Sources → Update configurations**, then affected teammates reconnect.
200
200
201
201
A callback mismatch needs a corrected callback URL; a connection that works only for the app owner needs sharing enabled. See Atlassian's [OAuth configuration guide](https://developer.atlassian.com/cloud/confluence/oauth-2-3lo-apps/) and Sim's [deployment reference](/platform/self-hosting/integrations-oauth).
Copy file name to clipboardExpand all lines: apps/docs/content/docs/search/connect-your-account.mdx
+17-18Lines changed: 17 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,23 +21,20 @@ Accept your Sim organization invitation or sign in through your organization's S
21
21
22
22
## Open Integrations
23
23
24
-
Open **Integrations** in the main sidebar, find the provider or source, and select **Connect account**. Your first connection may ask for a GitHub repository, Confluence domain and space keys, or Jira domain and project keys. Enter the required fields and select **Connect**. If the provider is missing, ask an organization admin to turn it on under **Settings → Sources → Allowed in Sim Search**.
24
+
Open **Integrations** in the main sidebar, find the provider or source, and select **Connect**. Your first connection may ask for a GitHub repository, Confluence domain and space keys, or Jira domain and project keys. Enter the required fields and select **Connect**. If the provider is missing, ask an organization admin to turn it on under **Settings → Sources**.
25
25
26
-
Use **Add source** beside **Add another [provider] source** when you need another supported repository, site, or project scope. Connecting an existing source does not ask you to configure it again.
To connect another supported repository, site, or project scope, find the provider row labeled **Connect a different site or content scope** and select **Connect**. Connecting an existing source does not ask you to configure it again.
29
27
28
+
<ImageclassName="mx-auto h-auto w-full max-w-xl"src="/static/search/connect-account.png"alt="Organization Integrations with search, personal connections, and Connect actions"width={704}height={495} />
30
29
31
30
</Step>
32
31
<Step>
33
32
34
33
## Authorize your account
35
34
36
-
In the new tab, select **Connect** and complete the provider's authorization. Choose the account associated with your verified Sim email. The provider may require your organization's SSO or app approval.
37
-
38
-
Return to Integrations when the connection completes, or select **Return to Search** to open your organization’s Search page. Your account is saved when authorization completes; there is no separate submit step. If the popup was blocked or closed, allow popups and select **Connect account** again. While authorization is pending, use **Open again**.
35
+
Complete the provider's authorization in the new tab. Choose the account associated with your verified Sim email. The provider may require your organization's SSO or app approval.
39
36
40
-
<ImageclassName="mx-auto h-auto w-full max-w-xl"src="/static/search/member-enrollment.jpg"alt="Gmail account connection with Connect and Return to Search actions"width={680}height={305} />
37
+
The authorization tab closes when the connection completes and Integrations updates. If the tab stays open, return to Integrations. Your account is saved when authorization completes; there is no separate submit step. If the popup was blocked or closed, allow popups and select **Connect** again. While authorization is pending, use **Open again**.
41
38
42
39
</Step>
43
40
<Step>
@@ -49,44 +46,46 @@ The source row shows indexing status and how many documents are available to you
49
46
</Step>
50
47
</Steps>
51
48
52
-
For a source configured inside a workspace, join that workspace and use its **Search** page instead. Organization and workspace sources are separate.
49
+
For a source configured inside a workspace, join that workspace and connect through its **Search** page. To find documents, open **Home** and select **Search** in the composer. Organization and workspace sources are separate.
53
50
54
51
## Do I always need to connect?
55
52
56
53
| Source setup | Your next step |
57
54
| --- | --- |
58
55
| Member accounts | Connect your own account, including when you are the admin. |
59
56
| GitHub App installation | Connect GitHub once for this Sim organization. The App handles indexing; your account establishes which repositories you may search. |
60
-
| Confluence admin/service account | Connect Confluence to verify your identity; the administrator's account handles the crawl. |
57
+
| Confluence service account | Connect Confluence to verify your identity; the service account handles the crawl. |
61
58
| Google Drive delegated service account | No personal connection is needed for that source. Your verified Sim email is matched to Drive permissions. |
62
-
| GitLab instance administrator | No personal connection is needed. Your verified Sim email must match a confirmed GitLab email. |
59
+
| GitLab instance administrator | No personal connection is needed. Your verified Sim email must match the confirmed primary GitLab email. |
63
60
64
61
Connecting one Google service does not connect all of them. Gmail, Calendar, and Drive each have their own Search connection.
65
62
66
63
## If you received a connection request
67
64
68
-
Open the link from your admin and sign in to Sim with the invited email. A provider-specific request opens that provider's connection directly. Verify your Sim email if prompted, then reopen the original link and authorize the account.
65
+
Open the link from your admin and sign in to Sim with the invited email. A provider-specific request opens a Sim connection page for that provider; select **Connect** to start authorization. Verify your Sim email if prompted. Sim returns you to the connection page to authorize your account; if you are not redirected, reopen the original link.
69
66
70
-
An account connection request does not invite you into the Sim organization. You can contribute an account without organization membership, but you need membership and enabled Search access to search the organization's documents. The connection page offers **Return to Search** when you have that access; otherwise it offers **Your connected accounts**.
67
+
An account connection request does not invite you into the Sim organization. You can contribute an account without organization membership, but you need membership and enabled Search access to search the organization's documents. A provider-specific request offers **Return to Search** when you have that access; otherwise it offers **Open Sim**. A request covering several providers lists their connection options and a **Submit** button. Each account is saved as soon as its authorization completes.
68
+
69
+
<ImageclassName="mx-auto h-auto w-full max-w-xl"src="/static/search/member-enrollment.jpg"alt="Gmail account connection with Connect and Return to Search actions"width={680}height={305} />
71
70
72
71
## Manage your connected accounts
73
72
74
-
Select **Your accounts** on the main Integrations page to open your personal **Connected accounts**settings. Use**Reconnect** to renew an organization account connection or **Disconnect** to withdraw it. Disconnecting stops that account from being used for organization indexing and workflows, and removes Search access that depends on it.
73
+
On the main **Integrations**page, use**Reconnect**beside an expired connection to renew it. To withdraw an account, open its row's actions menu and select **Disconnect**, then confirm. If several accounts are connected, choose the account to disconnect. Disconnecting stops that account from being used for organization indexing and workflows, and removes Search access that depends on it.
75
74
76
-
Admins can select **Manage sources** to open organization setup, then select **Manage**beside an integration to open its **Sources** and **Accounts** tabs. This does not grant the admin access to every document.
75
+
Admins manage setup from **Settings → Sources**. Select **Manage** beside the integration; Google providers have **Accounts**and **Advanced** tabs, while other providers with personal connections have **Sources** and **Accounts**. This does not grant the admin access to every document.
77
76
78
77
## If you get stuck
79
78
80
79
| Status | What to do |
81
80
| --- | --- |
82
-
|**Connect account**| Complete the connection in the new tab. |
81
+
|**Connect**| Complete the connection in the new tab. |
83
82
|**Reconnect**| Authorize the same source account again. |
84
83
|**Finish connecting in the other tab**| Finish authorization, or use **Open again**. Allow popups for Sim. |
85
84
| No results | Check the source's filters and sync status with your admin. Confirm you can open the document at the source. |
86
-
|**Verify email**| Verify your Sim email, then reopen the connection link. |
85
+
|**Verify email**| Verify your Sim email to return to the connection page. Reopen the original link if you are not redirected. |
87
86
| Expired or cancelled authorization | Return to the original connection page and start again. If the invitation itself expired, ask the admin for a new request. |
88
87
| Access revoked | Ask the organization admin to restore your account contribution access before reconnecting. |
89
-
| Needs admin attention | Ask your admin to open **Settings → Sources**, select **Manage** beside the integration, and open the source to inspect its error. |
88
+
| Needs admin attention | Ask your admin to open **Settings → Sources**, select **Manage** beside the integration, and open the source from **Advanced** (Google providers) or **Sources**to inspect its error. |
90
89
91
90
<Callouttype="info">
92
91
Your Sim role does not override document access at the source. Connecting a different account or receiving a Search link does not share someone else's mailbox, private calendar, or restricted documents with you.
0 commit comments