Data sources
Data sources (knowledge base)
On this page
Connect Evigauge to where your knowledge lives so provenance shows the real document — full name and exact citation — instead of an opaque id or chunk hash. A connection is read-only. Nothing is copied, crawled, or re-ingested; Evigauge reads a document only when a trace actually references it.
Find it in the dashboard under Settings → Data sources → Connect.
Why connect a source
When your agents do retrieval (RAG), a trace records which chunks were used —
but a chunk id (doc_8f2…#12) means nothing to a human reviewing the trace. With
a source connected, Evigauge resolves that chunk back to its document and renders
the true file name and citation in the Source Ledger. You get
honest provenance without changing any application code.
Three ways to connect
Every provider uses one of three models, and the connect screen groups them by how much work each costs you. It lists only what is actually connectable on this deployment, so a provider whose app is not registered does not appear.
1. One-click — AWS S3
No keys. You create a read-only IAM role Evigauge can assume, via a CloudFormation stack we generate for you.
- Connect → AWS S3, enter your bucket (and an optional prefix + region).
- Click Launch stack in AWS — it creates a role scoped by a one-time External ID (shown on the step).
- Paste the role ARN the stack outputs back into the form → Finish connecting.
- Test the row to confirm Evigauge can list the bucket.
Cloudflare R2 and other S3-API stores are available under the keys model below (account id + R2 token).
2. Authorize (OAuth) — Google Drive
The seamless flow: Connect → Google Drive → Allow, and you're connected. You paste nothing. Evigauge receives a read-only, revocable grant and stores only a refresh token, encrypted.
An OAuth source signs in through Evigauge rather than through a credential you hold, which means Evigauge registers an app with that provider once per deployment. Google Drive is registered; Dropbox and Notion are not yet.
Until one is registered there is no consent screen to send you to, and nothing
you can configure to change that — it is not a setting your own organization
admin holds. The API reports it as status: "needs_setup" on a /catalog
entry and the connect screen lists only what you can actually connect, so an
unregistered provider does not appear at all. When an app is registered the
status flips to available and the provider shows up by itself, with no client
change and no action from you. Email info@evigauge.com if you want a particular
provider prioritized.
Revoking. Delete the connection here, or revoke Evigauge's access from your Google account's third-party connections page. Either one stops the reads.
3. Keys ("like Supabase") — you paste your own credentials
For sources that authenticate with an API key or connection string. You enter your own read-only credentials and click Connect. Secret fields are encrypted at rest and never shown again.
| Provider | You enter |
|---|---|
| Supabase | Project URL + service role key |
| Pinecone | Index host + API key |
| Qdrant | Cluster URL + API key (+ optional collection) |
| Weaviate | Cluster URL + API key |
| PostgreSQL (incl. pgvector) | Connection string (postgresql://…) |
| Cloudflare R2 | Account ID + bucket + access key id + secret |
After connecting, Test the row — Evigauge does a bounded reachability check (a wrong key reads as "reachable — check the key" rather than hanging).
Security
- Read-only. Grant the minimum: a read-only role (S3), a read-only OAuth scope (Google Drive), or a read-only key/role (token providers).
- Encrypted at rest. Every secret is encrypted and never returned by the API — the connections list carries only non-secret location (bucket, URL, account) and status.
- Least access. Evigauge reads a document only when a trace references it; there is no background crawl or mirror.
- Revocable. Delete the connection here, or revoke the grant / rotate the key at the provider, at any time.
Connecting a source is workspace-admin (developer role and above). Viewing the list is viewer+.
REST API (optional)
The dashboard uses these; you can call them directly with a workspace-scoped
evg key. All are under
/v1/observ/orgs/{org}/workspaces/{ws}/kb-connections.
| Method | Path | Purpose |
|---|---|---|
GET | /catalog | Providers + (for key providers) the fields to collect |
GET | `` | List connections (no secrets) |
POST | `` | Begin S3 one-click → returns external_id + cloudformation_url |
PUT | /{id}/role | Finalize S3 with the created role ARN |
POST | /credentials | Connect a key provider ({provider, fields, label}) |
GET | /authorize?provider= | Begin OAuth → returns the consent URL |
POST | /{id}/test | Reachability test ({ok, detail}) |
DELETE | /{id} | Remove a connection |
Example — connect Supabase:
curl -X POST \
"https://api.evigauge.ai/v1/observ/orgs/$ORG/workspaces/$WS/kb-connections/credentials" \
-H "Authorization: Bearer $EVG_KEY" -H "Content-Type: application/json" \
--data-binary @- <<'JSON'
{ "provider": "supabase",
"label": "Product KB",
"fields": { "url": "https://xyzcompany.supabase.co", "service_key": "<service-role-key>" } }
JSON
Results show up in the Source Ledger the next time a trace cites a document from that source.
Questions: lokesh@evigauge.com