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/coda.mdx
+26-6Lines changed: 26 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,14 +19,27 @@ Sign in to Coda with a dedicated integration account that can read the documents
19
19
20
20
Use a standard REST API token. Do not select the MCP restriction.
21
21
22
-
<ImageclassName="mx-auto h-auto w-full max-w-2xl"src="/static/search/coda-api-token.jpg"alt="Coda API connections with the Generate new token dialog"width={1280}height={720} />
22
+
<ImageclassName="mx-auto h-auto w-full max-w-xl"loading="eager"src="/static/search/coda-token-creation.jpg"alt="Coda Generate new token dialog with a name and no restriction selected"width={600}height={281} />
23
23
24
24
</Step>
25
25
<Step>
26
26
27
-
### Add the source
27
+
### Add the credential
28
28
29
-
In Sim, open **Settings → Sources → Add source → Coda**. Add or select a Coda service account credential and enter the token when prompted.
29
+
In Sim, open **Settings → Sources → Add source → Coda**. If Coda is already listed, open it and select **Add connection**.
30
+
31
+
Open **Service account → Add API token**. Paste the token, give it a recognizable display name, then select **Add API token**. You can also choose an existing Coda credential.
32
+
33
+
<ImageclassName="mx-auto h-auto w-full max-w-md"src="/static/search/coda-credential.jpg"alt="Add Coda API token form with token, display name, and optional description fields"width={516}height={435} />
34
+
35
+
</Step>
36
+
<Step>
37
+
38
+
### Choose documents
39
+
40
+
Select the documents to index, or leave the selection empty for discovery.
41
+
42
+
<ImageclassName="mx-auto h-auto w-full max-w-md"src="/static/search/coda-setup.jpg"alt="Coda connection setup with a saved credential, Documents selector, and optional Enterprise organization ID"width={516}height={458} />
30
43
31
44
| Field | What to enter |
32
45
|---|---|
@@ -40,7 +53,7 @@ The picker shows accessible documents the token owner has opened. Use IDs for ot
40
53
41
54
### Sync and verify
42
55
43
-
Select **Connect & Sync**. Open the source's **Documents** and **Sync history** to check indexing. Content and permission changes appear after synchronization.
56
+
Select **Connect & Sync**. Open the source's **Documents** and **Sync history** to check indexing. Content and permission changes appear after synchronization. Have a teammate with a matching verified email search for a shared document, and confirm that an unshared teammate cannot find it.
44
57
45
58
To rotate the token, add the replacement credential, update the source, and verify a sync before revoking the old token.
46
59
@@ -59,8 +72,15 @@ Ordinary connections index visible canvas text and base-table rows. Enterprise c
59
72
60
73
Enterprise mode excludes deactivated and deleted users. Direct-share guests absent from the organization directory are excluded; guests explicitly listed in a group or workspace may receive that membership's access. Ordinary connections cannot check Coda organization deactivation, so manage departing users' Sim membership too.
61
74
62
-
Sim refreshes permissions even when content is unchanged. Unverified permissions never become broad access, and Sim admin status does not override Coda sharing. For setup failures or missing results, check the token's access, Enterprise admin role if applicable, the teammate's verified email, and **Sync history**.
75
+
Sim refreshes permissions even when content is unchanged. Unverified permissions never become broad access, and Sim admin status does not override Coda sharing.
63
76
64
-
In a regular knowledge base, **Workspace access** intentionally shares all indexed content with that Sim workspace and does not use the Enterprise organization ID. The permissions above apply to organization Search and **Admin access** sources.
77
+
## Troubleshooting
78
+
79
+
| Problem | Next step |
80
+
|---|---|
81
+
| Document missing from the picker | Open it in Coda with the token owner, or enter its document ID. |
82
+
| Enterprise setup fails | Confirm the organization ID and Enterprise org-admin role. A workspace admin token is insufficient. |
83
+
| Teammate sees no results | Check organization membership, their verified Sim email, the Coda share, and **Sync history**. |
84
+
| Token expired or revoked | Replace the credential in the connection's **Settings**, then verify a sync. |
65
85
66
86
See Coda's [public API](https://coda.io/developers/apis/v1) and [Enterprise Admin API](https://coda.io/developers/apis/admin/v1).
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/knowledge/[id]/components/add-connector-modal/add-connector-modal.test.tsx
+62-2Lines changed: 62 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,10 @@ import { createRoot, type Root } from 'react-dom/client'
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/knowledge/[id]/components/add-connector-modal/add-connector-modal.tsx
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/knowledge/[id]/components/edit-connector-modal/connector-settings-fields.test.tsx
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/knowledge/[id]/components/edit-connector-modal/connector-settings-fields.tsx
Copy file name to clipboardExpand all lines: apps/sim/connectors/coda/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -72,7 +72,7 @@ The application test uses disposable PostgreSQL/Redis, real credentials, Coda, s
72
72
- Focused connector, selector, credential, navigation, configuration, and integration-availability tests passed. App and deployment-config type checks, Biome, and the strict API-contract audit passed.
73
73
- Live provider tests cover page/table hydration, page edits, and row edits. Coda's real initialization `409` led to an explicit retry path.
74
74
- Real application setup and ingestion passed in both workspace and organization scope (the live sharing cases require a workspace that allows the intended cross-domain share). Organization scope creates the token credential through the authorized application use case. Owner search/chunks were allowed; another verified user, unverified owner, and workspace API key were denied. Embeddings were substituted, so external embedding-provider behavior was not tested.
75
-
- Sim's browser showed the Coda source Active, both indexed documents, the live document picker, the saved organization credential, and preserved selection across connection/input modes. Browser checks caught and fixed missing Search URL registration, scope loss when switching modes, and deployment metadata rejecting Coda's token credential. Coda's official browser app showed the fixture content.
75
+
- Sim's browser showed the Coda source Active, both indexed documents, the live document picker, inline API-token creation, credential replacement followed by a successful sync, and preserved selection across connection/input modes. Browser checks caught and fixed missing Search URL registration, scope loss when switching modes, deployment metadata rejecting Coda's token credential, and a setup allowlist hiding inline Coda credential creation. Coda's official browser app showed the fixture content.
76
76
- Live sharing to the requested second account was rejected by the source policy: “Cross domain sharing is prohibited.” Grant/revoke tests remain unverified live, with unit coverage for ACL changes and incomplete responses.
77
77
- The available test account returned no Enterprise organizations; the official UI offers sales-assisted Enterprise setup rather than a self-service trial. Admin API behavior is checked against published schemas and mocked responses; organization-wide crawling, deactivation, and group/workspace/domain permission parity still require an Enterprise tenant test before being considered release-verified.
0 commit comments