# BigQuery Connection Guide Source: https://docs.delphina.ai/administration/bigquery Connect Delphina to BigQuery with a service account and the right IAM roles Delphina connects to BigQuery using a **Google Cloud service account**. The service account needs IAM roles that let Delphina run jobs, read table data and metadata, and — optionally — read query history and masked columns. ## Connecting BigQuery ### Step 1: Create a service account 1. In the Google Cloud console, open **IAM & Admin > Service Accounts** for the project that owns your BigQuery data. 2. Click **Create Service Account** and give it a descriptive name (e.g., `delphina-warehouse`). 3. Skip the optional "Grant access to project" step — you'll grant roles in Step 2. 4. After creating the account, open it, go to **Keys**, and click **Add Key > Create new key > JSON**. Save the JSON file; you'll upload it to Delphina in Step 3. ### Step 2: Grant the service account IAM roles The required roles depend on which features you want Delphina to use. The standard set below covers all of them and is the recommended starting point. > [tab] Standard set (recommended) > > Grant the service account this combined set of roles. It covers data access, query history, and masked columns. > > | Role | Purpose | > | - | - | > | [`roles/bigquery.jobUser`](https://cloud.google.com/bigquery/docs/access-control#bigquery.jobUser) | Create query jobs | > | [`roles/bigquery.dataViewer`](https://cloud.google.com/bigquery/docs/access-control#bigquery.dataViewer) | Read table data | > | [`roles/bigquery.metadataViewer`](https://cloud.google.com/bigquery/docs/access-control#bigquery.metadataViewer) | Read dataset/table metadata | > | [`roles/bigquery.readSessionUser`](https://cloud.google.com/bigquery/docs/access-control#bigquery.readSessionUser) | Read large result sets via the Storage Read API | > | [`roles/bigquery.resourceViewer`](https://cloud.google.com/bigquery/docs/access-control#bigquery.resourceViewer) | View reservations and slot assignments | > | [`roles/batch.jobsViewer`](https://docs.cloud.google.com/iam/docs/roles-permissions/batch#batch.jobsViewer) | Read job execution metadata | > | [`bigquerydatapolicy.maskedReader`](https://docs.cloud.google.com/bigquery/docs/column-data-masking-intro#roles_for_attaching_policy_tags_to_columns) | Read masked PII columns | > > Grant `dataViewer` and `metadataViewer` at the **dataset** level (or project level if you want Delphina to see everything). The remaining roles can be granted at the project level. > [tab] Minimal set (data access only) > > If you don't need query history or masked-column access, you can use a narrower set. > > * A role containing `bigquery.jobs.create` at the project level so Delphina can create jobs. [`roles/bigquery.jobUser`](https://cloud.google.com/bigquery/docs/access-control#bigquery.jobUser) is the least-privileged predefined role with this permission, though it includes a few unused permissions. > * [`roles/bigquery.metadataViewer`](https://cloud.google.com/bigquery/docs/access-control#bigquery.metadataViewer) on the datasets you want the agent to see. > * [`roles/bigquery.dataViewer`](https://cloud.google.com/bigquery/docs/access-control#bigquery.dataViewer) on the tables Delphina should be able to query. > > Adding query history requires `roles/bigquery.readSessionUser`, `roles/bigquery.resourceViewer`, and `roles/batch.jobsViewer`. Reading masked PII columns requires `bigquerydatapolicy.maskedReader`. ### Step 3: Create the connection in Delphina 1. Navigate to [analytics.delphina.ai](https://analytics.delphina.ai/). 2. Click your name in the bottom-left, then **Org Admin > Warehouse Connections**. 3. Click **Add Connection** on the target workspace. 4. Set the **Warehouse Type** to **BigQuery**. 5. Paste the service account JSON. It should include the following fields: * `type` * `project_id` * `private_key_id` * `private_key` * `client_email` * `client_id` * `auth_uri` * `token_uri` * `auth_provider_x509_cert_url` * `client_x509_cert_url` * `universe_domain` 6. Click **Create Connection**, then **Test Connection** to verify Delphina can authenticate, list datasets, and read query history. ## Troubleshooting | Problem | Fix | | - | - | | **Test Connection fails** | Verify the JSON key is valid and the service account exists. Re-download the key from Google Cloud if in doubt. | | **"Browse Tables" empty** | Grant `bigquery.metadataViewer` on the datasets you want to expose to Delphina. | | **Queries fail with permission denied** | Add `bigquery.dataViewer` on the specific tables — `metadataViewer` lists tables but does not read them. | | **"Show Top Users" empty** | Confirm `bigquery.readSessionUser`, `bigquery.resourceViewer`, and `batch.jobsViewer` are granted at the project level. | | **Masked columns return `NULL`** | Grant `bigquerydatapolicy.maskedReader` to the service account so it can read masked values. | | **Query history returns few or no queries** | Query history is per region, and the default is `us`. Set the connection's **Region** (e.g. `eu`) in Org Admin > Warehouse Connections, or override the table under **Advanced** on Context > Sources > Warehouse. | # Databricks Connection Guide Source: https://docs.delphina.ai/administration/databricks Connect Delphina to Databricks with service account credentials and optional per-user OAuth Every Databricks connection requires a **service account** — either a service principal or a personal access token. Delphina uses this for background operations like catalog refresh and knowledge extraction, and it serves as the default identity for user queries. Optionally, you can enable **per-user OAuth** so that interactive queries run under each user's own Databricks identity, enforcing Unity Catalog permissions, row-level security, and column masking. ## Authentication overview | Scenario | Without per-user OAuth | With per-user OAuth | | - | - | - | | Interactive queries (chat, data apps) | Service account | Per-user token | | Scheduled workflows | Service account | Workflow owner's token | | Background jobs (catalog refresh, knowledge updates) | Service account | Service account | ## Connecting Databricks ### Step 1: Gather connection details You'll need the following from your Databricks workspace: | Field | Where to find it | Example | | - | - | - | | **Hostname** | Workspace URL (without `https://`) | `dbc-abc123.cloud.databricks.com` | | **HTTP Path** | SQL Warehouse > Connection details | `/sql/1.0/warehouses/abc123def` | | **Catalog** | Optional — defaults to workspace default | `main` | | **Schema** | Optional — defaults to `default` | `analytics` | ### Step 2: Choose a service account authentication method Delphina supports two service account methods for Databricks: > [tab] Service Principal — Recommended > > Use a Databricks service principal with OAuth machine-to-machine (M2M) credentials. Tokens are short-lived (1 hour) and refresh automatically — no manual rotation required. > > #### Create a service principal > > 1. In your Databricks **account console**, go to **User management > Service principals**. > 2. Click **Add service principal** and give it a name (e.g., `Delphina`). > 3. Click on the service principal, then go to the **Credentials & secrets** tab. > 4. Click **Generate secret**. Copy the **Client ID** and **Secret** — the secret is only shown once. > > #### Grant permissions > > The service principal needs access to: > > * **SQL warehouse** — go to **SQL Warehouses**, click the kebab menu (⋮) on your warehouse row, select **Permissions**, and add the service principal with **Can use** access. > * **Catalogs and schemas** — in Unity Catalog, grant `USE CATALOG`, `USE SCHEMA`, and `SELECT` on the tables Delphina should query: > ```sql theme={null} > GRANT USE CATALOG ON CATALOG my_catalog TO `my-service-principal`; > GRANT USE SCHEMA ON SCHEMA my_catalog.my_schema TO `my-service-principal`; > GRANT SELECT ON SCHEMA my_catalog.my_schema TO `my-service-principal`; > ``` > * **Query history** — Delphina reads from `system.query.history` to identify important tables and active users during onboarding. Grant access: > ```sql theme={null} > GRANT SELECT ON TABLE system.query.history TO `my-service-principal`; > ``` > [tab] Personal Access Token > > Use a Databricks personal access token (PAT) for simpler setups. > > #### Create a token > > 1. In your Databricks workspace, go to **User Settings > Developer > Access Tokens**. > 2. Click **Generate New Token**. > 3. Set a description (e.g., `Delphina`) and expiration. > 4. Copy the token value. > > The token inherits the permissions of the user who created it. > > #### Required permissions > > The user account that owns the PAT needs: > > * **Can use** access on the SQL warehouse. > > * `SELECT` access on the catalogs, schemas, and tables Delphina should query. > > * `SELECT` on `system.query.history` — Delphina reads this table to identify important tables and active users during onboarding. > > > [!WARNING] > > > > PATs are tied to a user account. If the user leaves or their permissions change, the connection breaks. For production use, prefer the Service Principal approach. ### Step 3: Create the connection in Delphina 1. Go to **Org Admin > Warehouse Connections**. 2. Click **Add Connection** on the target workspace. 3. Set the **Warehouse Type** to **Databricks**. 4. Fill in **Hostname**, **HTTP Path**, and optionally **Catalog** and **Schema**. 5. Under **Authentication**, choose **Service Principal** or **Personal Access Token** and enter the credentials from Step 2. 6. Click **Create Connection**. ### Step 4: Test the connection After saving, click **Test Connection** in the dialog footer to verify Delphina can reach your warehouse, list tables, and access query history. *** ## Per-user OAuth (optional) Per-user OAuth is an optional layer on top of the service account. When enabled, queries run under each user's own Databricks identity instead of the shared service account. Scheduled workflows and data app refreshes run under the token of the user who created them. The service account is still used for catalog refresh and knowledge extraction. ### Why use per-user OAuth * **Unity Catalog enforcement** — row-level security, column masking, and table ACLs apply per user. * **Audit trail** — Databricks query logs show the actual user, not a shared service account. * **Least privilege** — users only access data their Databricks role permits. ### Setting up per-user OAuth #### 1. Create an OAuth application in Databricks > [!NOTE] > > This is a separate OAuth application from the service principal (if you're using that for the service account). The per-user app uses the **authorization code** grant type. 1. In your Databricks account console, go to **Settings > App Connections**. 2. Click **Add connection**. 3. Set the application name (e.g., `Delphina User Auth`). 4. Set the **redirect URI**: ``` https://app.delphina.ai/api/oauth/databricks/callback ``` 5. Enable the **Authorization code** grant type. 6. Set the required scope: `sql`. 7. Generate a **Client Secret**. 8. Note the **Client ID** and **Client Secret**. #### 2. Enable per-user OAuth in Delphina 1. Go to **Org Admin > Warehouse Connections**. 2. Edit your Databricks connection. 3. Switch to the **Authentication** tab. 4. Toggle **Enable per-user OAuth**. 5. Enter the **Client ID** and **Client Secret** from the per-user OAuth application. 6. Save the connection. ### User experience Once per-user OAuth is enabled: 1. A banner appears at the top of the workspace prompting users to connect their Databricks account. 2. Clicking **Connect** opens a popup to the Databricks authorization page. 3. After authorizing, the popup closes and a confirmation toast appears. 4. The user's token is stored securely and refreshed automatically. Users can manage their connections from **User Settings > Data Sources**, where they can see connection status, refresh tokens, or disconnect. ### Token validation Delphina validates per-user OAuth tokens in the background. If a token becomes invalid (e.g., revoked in Databricks), the user's connection status updates to **Needs authentication** and they are prompted to re-authorize. ### Revoking access To revoke a user's Delphina access to Databricks: * **From Databricks** — remove the user's authorization from the OAuth application. Their refresh token will fail on the next validation check. * **From Delphina** — the user can click **Disconnect** in **User Settings > Data Sources**. *** ## Troubleshooting | Problem | Fix | | - | - | | **Test Connection fails** | Verify the hostname and HTTP path are correct. Ensure the service account has **Can use** access on the SQL warehouse. | | **Query history check fails** | The service account needs `SELECT` on `system.query.history`. Run: `GRANT SELECT ON TABLE system.query.history TO \`my-service-principal\`;\` | | **"Connect" banner doesn't appear** | Verify per-user OAuth is enabled on the connection and has a Client ID configured. | | **OAuth popup shows redirect error** | Confirm the redirect URI in Databricks matches exactly: `https://app.delphina.ai/api/oauth/databricks/callback` | | **User gets "insufficient privileges"** | Queries run under the user's Databricks identity — check their permissions in Unity Catalog. | | **Scheduled workflow fails** | The workflow owner must have completed the per-user OAuth flow. | | **Token shows "Needs authentication" after working** | The refresh token may have been revoked in Databricks, or the OAuth app's client secret was rotated. Have the user re-authorize. | | **Catalog refresh fails** | Catalog refresh uses the service account, not per-user tokens. Check the service account credentials on the connection. | # MCP Connections Source: https://docs.delphina.ai/administration/mcp-connections Extend the agent with tools from external services MCP connections give Delphina access to external services — GitHub, Notion, Slack, Linear, and others — through the Model Context Protocol. ## Two ways Delphina uses a connection * **On the fly, during a chat** — the agent calls the service's tools live while answering a question, for example searching GitHub issues or looking up a Slack thread. Nothing is stored; the agent reads what it needs, when it needs it. This works as soon as the connection is created. * **As a knowledge source** — during a knowledge update, the agent pulls content from the service and ingests it into your knowledge base as documented tables, metrics, and rules, available to every chat afterwards without calling the service again. This one is opt-in: it needs both a knowledge [**Usage**](#usage) and a [**knowledge pull prompt**](#knowledge-pull-prompt). ## Add a connection 1. Go to **Org Admin > MCP Connections**. 2. Click **Add Connection**. 3. Select a workspace, then provide the connection name, description, URL, and settings described below. 4. Click **Create**. ## Connection settings ### Usage **Usage** controls whether the agent can use a connection for knowledge work, analytics chats, or both. New connections start as **Analytics only**: * **Analytics only** — use the connection only for analytics chats. (Default for new connections.) * **Knowledge & Analytics** — use the connection for both knowledge work and analytics chats. * **Knowledge only** — use the connection only for knowledge work. Usage decides which surfaces may reach the connection at all. Allowing knowledge work does not by itself onboard anything — that also needs a pull prompt. ### Knowledge pull prompt The pull prompt scopes what the agent ingests into the knowledge base from this connection — for example, "Pull all pages under the Metrics space" or "Pull the README and docs/ directory from the analytics repo". First set **Usage** to Knowledge & Analytics or Knowledge only at **Org Admin > MCP Connections** — analytics-only connections are not listed as knowledge sources, so a new connection will not show up until you do. Then go to **Context Factory > Sources** and select the connection by name. (The prompt lives with the other knowledge sources rather than in Org Admin, alongside Tables, Query Users, and File Uploads.) **Leaving the prompt empty disables the connection as a knowledge source** — the Sources list shows it as *Disabled — no pull prompt set*. > [!NOTE] > > A connection is onboarded only when its **Usage** includes knowledge **and** it has a pull prompt. Without a prompt nothing is ingested, but the agent can still call the connection's tools live — in the guided knowledge chat always, and in analytics chats unless Usage is **Knowledge only**. Be specific about scope. A vague prompt like "Pull our documentation" makes the agent guess at boundaries; naming the space, repo, or channel keeps each update predictable and fast. Each knowledge update re-pulls the content the prompt describes rather than fetching only what changed, so ingestion always reflects the **latest snapshot** — renamed, deleted, or rewritten pages are picked up on the next update. ### Authentication **Auth Type** determines how Delphina authenticates to the MCP server: * **None** — no credentials are required. * **Bearer Token** — send a bearer token with requests. * **Custom Headers** — send credentials or other values in request headers. * **OAuth** — authorize an account through the provider. #### Token Binding For OAuth connections, **Token Binding** controls whose authorization is used. Choose **Per-user** when each Delphina user should authorize with their own account. Those users see a **Connect** banner before they can use the connection. Choose **Shared by workspace** when one admin-owned OAuth grant should be used for everyone in the workspace. Token Binding cannot change after creating an OAuth connection. ### Chat visibility **Chat Visibility** controls privacy for new chats that use this connection: * **Default** — chats follow normal workspace visibility. Workspace members can see them. * **Owner only after tool use** — after the agent attempts a tool from this connection, only the chat owner can see that chat. Use this for connections that may expose sensitive information. Changing this setting affects only new chats. Existing chats keep their current visibility. ### Advanced OAuth fields Expand **Advanced** when the MCP provider requires a pre-registered OAuth app. Enter the app's **OAuth Client ID** and, if the provider issued one, its **OAuth Client Secret**. A client secret requires a client ID; some providers require a secret, while others support a public client without one. If the provider supports automatic client setup, leave both fields blank: Delphina uses a Client ID Metadata Document (CIMD) when available, then Dynamic Client Registration (DCR). When registering the OAuth app with the provider, set its **redirect URL** (also called a callback URL or redirect URI) to: `https://app.delphina.ai/api/auth/v1/oauth2/mcp/callback` The provider must allow this exact URL for authorization to complete. ## Common connection setup | Service | URL | Auth Type | Notes | | - | - | - | - | | [Attio](https://docs.attio.com/mcp/overview) | `https://mcp.attio.com/mcp` | OAuth | | | [GitHub](https://github.com/settings/personal-access-tokens) | `https://api.githubcopilot.com/mcp/` | Bearer Token | Use a fine-grained PAT scoped to the repos and permissions the agent needs. | | Google Workspace | `mcp://internal/google-workspace` | None | Authorization will be configured automatically. | | [Linear](https://linear.app/docs/mcp) | `https://mcp.linear.app/mcp` | OAuth | | | [Notion](https://developers.notion.com/guides/mcp/get-started-with-mcp) | `https://mcp.notion.com/mcp` | OAuth | | | Slack | `mcp://internal/slack` | None | Authorization will be configured automatically. | ### Attio Add a connection with URL `https://mcp.attio.com/mcp`, Auth Type **OAuth**, your preferred Token Binding, and blank **Advanced** fields unless you need a pre-registered OAuth client. The agent can search and manage CRM records, notes, tasks, comments, meetings, emails, and reports according to the connected Attio user's permissions. ### GitHub 1. Create a [fine-grained PAT](https://github.com/settings/personal-access-tokens) with read access to Contents, Issues, Pull requests, and Metadata. 2. Add a connection with URL `https://api.githubcopilot.com/mcp/` and the PAT as the bearer token. The agent can then search code, read files, list issues/PRs, and get commit history from your repos. Start read-only; add write permissions only if you want the agent to create or update GitHub resources. ### Google Workspace Add a connection with URL `mcp://internal/google-workspace`, Auth Type **None**, and no token. Delphina recognizes this internal URL and configures Google OAuth automatically. After users connect OAuth, the agent can use Google Workspace tools for Calendar, Docs, Drive, Gmail, Slides, Sheets, and Tasks. Default scopes are `calendar`, `documents`, `drive`, `gmail.modify`, `presentations`, `spreadsheets`, and `tasks`. ### Linear Add a connection with URL `https://mcp.linear.app/mcp`, Auth Type **OAuth**, your preferred Token Binding, and blank **Advanced** fields unless you need a pre-registered OAuth client. The agent can find, create, and update Linear issues, projects, and comments according to the connected Linear user's permissions. ### Notion Add a connection with URL `https://mcp.notion.com/mcp`, Auth Type **OAuth**, your preferred Token Binding, and blank **Advanced** fields unless you need a pre-registered OAuth client. The agent can read and write Notion workspace content according to the connected Notion user's access. ### Slack Add a connection with URL `mcp://internal/slack`, Auth Type **None**, and no token. Delphina recognizes this internal URL and configures Slack OAuth automatically. After users connect OAuth, the agent can list readable channels, read channels and threads, and search messages. Slack enforces membership, so users can only read channels, DMs, and group DMs their Slack account can access. ## Manage connections * **Edit** — click the pencil icon to update the name, description, usage, chat visibility, or auth details. You cannot change the URL after creation; delete the connection and create a new one to use a different URL. * **Delete** — click the trash icon. ## Troubleshooting | Problem | Fix | | - | - | | Can't access private repos | Edit the PAT on GitHub to include those repos. | | "Unauthorized" errors | Token expired or grant revoked — reconnect OAuth or update the bearer token. | | OAuth discovery fails | Verify the URL is the Streamable HTTP MCP endpoint. For Google Workspace and Slack, use Auth Type **None** with the exact `mcp://internal/...` URL. | | Tools not appearing | Start a new chat after creating the connection and verify the URL matches the MCP server endpoint exactly. | | Content never reaches the knowledge base | Set **Usage** to a knowledge-capable value in Org Admin, then set a **knowledge pull prompt** at Context Factory > Sources, then start a [knowledge update](/knowledge-agent/onboarding) from chat. | | User sees a Connect banner | Per-user OAuth is expected; that user must click **Connect** once before using the tools. | # Optional Rules Source: https://docs.delphina.ai/administration/optional-rules Stricter, opt-in rules to constrain how the analytics agent works This is a set of optional rules you can add to Delphina to make the agent more disciplined about how it approaches analysis — asking for clarity before it acts, staying anchored to a real decision, and keeping its answers focused. By default Delphina already applies lighter versions of a few of these; the rules below are stricter and, in some cases, deliberately override what's built-in. These rules are typically added to your knowledge base as `rule` documents. Each rule is standalone and optional — adopt only the ones that fit how your team works, and edit the wording freely. ## How to use the rules 1. Use the **Copy page** button at the top of this page to copy it as Markdown. 2. Paste it into a `.md` or `.txt` file, then delete the parts you don't want (this intro, and any rules that don't fit your team) and edit the wording as needed. 3. Ask Delphina in a `/knowledge` chat to `Please implement the rules in the attached file as GLOBAL rules in a top-level rules folder that should be applied to every chat.` with the file included as an attachment. ## Rule 1 — Require Clarity Before Acting The agent should **not** run queries or produce analysis until the request is clear on all four dimensions below. If any is missing, it asks before doing anything else. **The four checks:** 1. **Objective** — there is a specific question, hypothesis, or decision to support. (See Rule 2.) 2. **Metric** — every metric named is either defined in the knowledge base or has been clarified in this chat. (See Rule 3.) 3. **Time period** — the time window is stated, or clearly implied earlier in this chat. (See Rule 4.) 4. **Scope** — any relevant segment, product, channel, or other dimension is specified when it materially changes the answer. **How to ask:** when one or more items are missing, ask for what you need in a single chat message. **Never do this:** * Assume a metric definition instead of confirming it. * Silently apply a default time period. * Invent a segmentation or filter the user did not ask for. * Say "I'll assume..." and run the query anyway. ## Rule 2 — Anchor Every Analysis to a Decision or Hypothesis Open-ended requests with no direction get redirected before any query runs. The point is to make sure the analysis answers something that matters, not to refuse the work. **Redirect requests like:** * "Analyze table X." * "Pull some insights on Y." * "Look at how our customers behave." * "What do you see here?" **Redirect by asking whichever fits best:** * "What hypothesis are you trying to validate?" * "What decision will this analysis inform?" * "Is there a specific behavior you suspect or want to confirm?" Once there's a clear direction, proceed normally. ## Rule 3 — Confirm Metric Definitions That Aren't Already Defined Before computing any metric, check that it is defined in the knowledge base. If it is not there, or the definition could reasonably be read more than one way, ask the user before calculating. | If the user asks... | Ask something like... | | - | - | | "What's the penetration of our subscription within the user base?" | "How should I define penetration — active subscribers as a share of what base: all registered users, or only users who have transacted?" | | "What's the conversion rate by segment and cohort?" | "Which conversion — which funnel step (e.g. visitor to lead, lead to trial, trial to paid)? And how do you define each segment and cohort?" | | "What's our effective CAC per channel?" | "What goes into the cost — paid media only, or also salaries and tools? And is the channel attributed first-touch, last-touch, or multi-touch?" | ## Rule 4 — State the Time Window Explicitly Every analysis needs an explicit time window. If the request does not include one, none was set earlier in the chat, and it is not clear from the existing defined metric files, ask before proceeding — for example: > "Which period should I analyze? (e.g. last 30 days, last full month, the current quarter to date)" Questions that almost always need a period even though they don't mention one: * "What was our revenue?" * "How many active customers do we have?" * "How's conversion trending?" **Exception:** a period may be treated as implied only when the user stated it earlier in the **same chat**, or when a defined metric file specifies its own reporting window. ## Rule 5 — One Objective per Chat Each chat should pursue a single analytical objective. Iterating and following up *within* that objective is encouraged — the thing to avoid is **starting** a chat with several unrelated questions at once, since this can confuse the AI. **Signs a request is trying to do too much at once:** * More than two distinct questions in one message. * A list of the form "analyze X, Y, and Z," where X, Y, and Z are unrelated. **When that happens, the agent:** 1. Acknowledges the multiple questions. 2. Asks the user to pick **one** to start with. 3. Suggests opening separate chats for the others. ## Rule 6 — Keep Deliverables Focused Answer with the **smallest deliverable that fully answers the question**. **When a larger deliverable *is* requested** (e.g. "give me a full report," "put together a complete deck"), confirm scope before building it: what decision it supports, and how long and in what format it should be. Do not default to the most exhaustive version. **Do not generate, unprompted:** * Multi-page written reports or "deep dives." * Slide-style decks or presentation documents. * Large multi-tab spreadsheet exports. **Rule of thumb:** if a written artifact would run past roughly two to three pages, pause and confirm. Don't pad — no filler sections, and don't restate the same numbers across a chart, a table, and prose. ## Rule 7 — Always Close with an Assumptions & Caveats Section Every analysis ends with a single short section titled **Assumptions & Caveats** at the bottom. This makes the reasoning auditable and surfaces the judgment calls that could change the conclusion — so the reader can decide whether to trust the result. **What to spell out in that one section:** * Any metric definition, time window, segment, filter, or default the agent chose or inferred rather than being told (e.g. "Revenue is net of refunds," "Active = logged in within the last 28 days"). * Anything that limits how far the result can be trusted: known data-quality gaps, missing or partial periods, small sample sizes, joins that may drop rows, or results that are directional rather than exact. **Guidance:** * Keep it to one section and a handful of bullets — tight, but specific enough that a reader knows exactly what was assumed and where to be cautious. If there is genuinely nothing to flag, say so briefly (e.g. "No material assumptions; all definitions came from the knowledge base") rather than omitting the section. * This is a summary at the end, not a substitute for asking up front. Where a definition or time window was unclear, the agent still clarifies before running the analysis (see Rules 1, 3, and 4); this section records what was assumed anyway, it does not license silently assuming it. ## Rule 8 — Write for a Business Reader Write every answer so that someone without a data background can follow it. Many readers are not analysts, so use the names your business uses for things, not the names they have in the warehouse. **Use business terms, not technical ones:** | Instead of... | Write something like... | | - | - | | `FCT_ORDERS` | orders table | | joined to `DIM_CUSTOMER` on `customer_id` | matched each order to its customer | | `churn_date` is null for 40% of rows | about 40% of accounts have no churn date | **Avoid unless the user asks:** * Table, column, and schema names. * SQL and data-modeling terms such as join, null, grain, CTE, or fact and dimension tables. * Step-by-step query mechanics, when one plain sentence about what was counted says the same thing. If the knowledge base has no business name for a table or field, describe what it holds rather than inventing a name. **Keep the substance.** Plain language does not mean shorter or vaguer: * Keep every caveat (how something was counted, missing or partial data, records that look wrong), written in business terms. * Name metrics exactly as the knowledge base defines them, e.g. "monthly recurring revenue", not just "revenue". * Spell out every abbreviation the first time it appears in an answer, e.g. "average revenue per paying user (ARPPU)". **Offer the technical version.** End with one short line offering the detail, e.g. "Want the exact tables and logic behind this?" If the user says yes, give the full technical explanation. # Pricing Source: https://docs.delphina.ai/administration/pricing How Delphina is priced and how consumption is metered Delphina is priced on two principles: 1. **Pay for what you use.** Billing tracks the work the agent does. 2. **Price aligned with value and cost of work.** Compute and inference are metered separately so cost scales with what the agent actually consumed on your behalf. ## Tiers | | Community | Pro | Enterprise | | - | - | - | - | | **Base fee** | Free | \$250/mo | Custom | | **Included credits / month** | — | 10,000 | Custom | | **Overage rate** | — | \$3 per 100 credits | Custom | | **Best for** | Individuals, evaluation, public datasets | Small teams running production analytics | Larger orgs needing custom terms, more advanced deployment and security options, and dedicated support | Enterprise pricing can be seat- or consumption-based. See [delphina.ai/pricing](https://delphina.ai/pricing) for what's included in each tier. The rest of this page covers how consumption-based pricing is metered. ## Credits Credits are consumed as the agent does work. Two things consume credits: * **Compute** — time the agent spends running on Delphina infrastructure * **Inference** — tokens sent to and received from the underlying LLMs Org admins can see usage on the [Usage page](https://analytics.delphina.ai/org-admin/usage). ## Compute consumption Compute is billed by wall-clock time the agent is actively running. | Resource | Rate | Billing | | - | - | - | | Agent compute | **25 credits / minute** | Minimum 60 seconds per turn; billed per-second beyond that | ## Inference consumption Inference is metered per token, in **credits per 1M tokens**. Inference has two components: **provider token costs** and **Delphina token costs**. Your inference bill is the sum of the two. ### Provider token costs Provider token costs are converted into credits based on public provider rates, at the credit exchange rate of \$3 per 100 credits, with no markup. See current rates: [Anthropic](https://www.anthropic.com/pricing#api), [OpenAI](https://openai.com/api/pricing/), [Google Gemini](https://ai.google.dev/gemini-api/docs/pricing). ### Delphina token costs Delphina token costs are model-agnostic — they apply the same way whether the agent is using Claude, GPT, Gemini, or any other supported model — and vary by **mode type**. You select the mode when starting a chat or workflow: * **Knowledge** — Agent calls that build and maintain your context layer. * **Analytics** — Day-to-day chat and workflow runs. * **Research** — Long-horizon, multi-step research that explores many alternatives. | Mode type | Input | Output | Cache hit | Cache write (5m) | Cache write (1h) | | - | - | - | - | - | - | | Knowledge | 120 | 600 | 12 | 150 | 240 | | Analytics | 160 | 800 | 16 | 200 | 320 | | Research | 192 | 960 | 19 | 240 | 384 | ## Terms * **Billing cycle** — all usage, including overages on included monthly credits, is billed monthly in arrears. * **Credit rollover** — included monthly credits reset each month and do not roll over. * **Pre-paid commitments** — discounts available for committed credit purchases. Contact your account team. # Redshift Connection Guide Source: https://docs.delphina.ai/administration/redshift Choose how to connect Delphina to Amazon Redshift Serverless or a provisioned Redshift cluster Delphina connects to Redshift with a dedicated database role that has **read-only** access to the data you want the agent to query. Pick the setup that matches your network and how you want Delphina to authenticate, then follow its guide from start to finish. Each guide covers both Redshift Serverless and provisioned clusters. ## Choose your setup **Network** * If your endpoint is already publicly accessible, use the **public endpoint**. To check, open your workgroup → **Network and security** (Serverless) or your cluster → **Properties** → **Network and security settings** (provisioned) and look at **Publicly accessible**. * If it's private, use the **VPC endpoint**. You grant Delphina's AWS account access with one setting, and Delphina connects over AWS's private network, so your warehouse stays private. It works on Serverless and on provisioned **RA3** or **RG** clusters with cluster relocation turned on or Multi-AZ, but not DC2 (see [DC2 clusters](#dc2-clusters)). The port must be in the range 5431–5455 or 8191–8215; the default, 5439, qualifies. * **Advanced:** if you can't use either, connect through an **SSH tunnel** via a bastion host that you run. It works with any node type, but you maintain the bastion. Delphina uses native Redshift connections, which handle the large and wide results that data apps need. The Redshift Data API isn't supported. **Authentication** * **IAM role (recommended):** Delphina assumes a role in your AWS account to get short-lived database credentials, so no long-lived secrets are shared. * **Username/password:** a database user with a password that you share with Delphina. Simplest to set up. ## Setup guides > [card] [Public endpoint + IAM role](/administration/redshift/public-endpoint-iam) > > Publicly accessible endpoint, short-lived credentials. Recommended. > [card] [Public endpoint + password](/administration/redshift/public-endpoint-password) > > Publicly accessible endpoint, database password. > [card] [VPC endpoint + IAM role](/administration/redshift/vpc-endpoint-iam) > > Private warehouse, short-lived credentials. > [card] [VPC endpoint + password](/administration/redshift/vpc-endpoint-password) > > Private warehouse, database password. > [card] [SSH tunnel (advanced)](/administration/redshift/ssh-tunnel) > > Private warehouse through a bastion host you run. IAM role or password. ## DC2 clusters To check your node type, open your cluster in the Redshift console → **General information** → **Node type**. DC2 clusters can't use a Redshift-managed VPC endpoint. If your DC2 cluster is private, you can: * **Upgrade to RA3 or RG.** AWS recommends migrating DC2 clusters to newer node types, and both support VPC endpoints. * **Make the endpoint publicly accessible**, with the security group limited to Delphina's IP addresses, as in the public endpoint guides. * **Connect through an [SSH tunnel](/administration/redshift/ssh-tunnel)** via a bastion host in your VPC. ## Good to know * **Isolate Delphina's workload (optional).** On a provisioned cluster, give Delphina's database user its own WLM queue to manage contention between agent queries and your ETL. With automatic WLM, set the queue's priority relative to your other workloads: above batch ETL keeps interactive questions responsive, at the cost of giving them preferential resources. On Serverless, each namespace has exactly one workgroup, so full isolation means a separate namespace and workgroup for Delphina that reads your data through a datashare. That's real setup work, so most teams start on their existing workgroup. A maximum RPU capacity limits compute scaling on a shared workgroup; it doesn't isolate Delphina from ETL workloads. * **Query timeout.** Delphina sets a statement timeout on every query (120 seconds by default, configurable per connection). * **Query history.** During onboarding, Delphina reads recent query history to learn which tables and joins your team actually uses. Step 2 of each guide includes the grant that lets it see all users' queries, not just its own. * **Encryption.** Delphina connects over TLS and verifies that Redshift's server certificate is signed by a trusted certificate authority. To reject unencrypted connections from every client, set `require_ssl` to `true` in your cluster's parameter group or your workgroup's configuration. # Redshift: Public endpoint + IAM role Source: https://docs.delphina.ai/administration/redshift/public-endpoint-iam Connect Delphina to a publicly accessible Redshift endpoint using an IAM role Use this setup when your Redshift endpoint is already publicly accessible. Delphina connects directly over the internet from a fixed set of IP addresses and authenticates with short-lived credentials from an IAM role you create. Part of the [Redshift Connection Guide](/administration/redshift). Not sure which setup you need? Start there. ## Before you start Ask your Delphina contact for: * Delphina's IP addresses, for your security group. * Delphina's principal ARN and a unique external ID, for the IAM role's trust policy. You also need a Redshift superuser (Step 2, and Step 3 on provisioned clusters) and permission to create IAM roles in the AWS account that owns your warehouse (Step 3). Each step has **Serverless** and **Provisioned** tabs where they differ. Serverless endpoints contain `redshift-serverless` (`...redshift-serverless.amazonaws.com`); provisioned endpoints look like `...redshift.amazonaws.com`. ## Step 1: Set up the network path > [tab] Serverless > > 1. In the Redshift console, open your workgroup → **Network and security** and confirm **Publicly accessible** is on. > 2. Open the workgroup's VPC security group and add an inbound rule: **TCP** on your workgroup port (default **5439**) from each Delphina IP address your Delphina contact provides. > 3. Confirm the workgroup's subnets route to an internet gateway and their network ACLs allow the traffic. **Publicly accessible** alone isn't enough when the subnets are private. > [tab] Provisioned > > 1. In the Redshift console, open your cluster → **Properties** → **Network and security settings** and confirm **Publicly accessible** is on. > 2. Open the cluster's VPC security group and add an inbound rule: **TCP** on your cluster port (default **5439**) from each Delphina IP address your Delphina contact provides. > 3. Confirm the cluster's subnets route to an internet gateway and their network ACLs allow the traffic. **Publicly accessible** alone isn't enough when the subnets are private. ## Step 2: Grant database access Run this as a superuser, such as the admin user created with your workgroup or cluster, connected to **the database Delphina will use**: the one you send us in Step 4. A Delphina connection reads one database. Use a superuser if you can. A non-superuser needs the `CREATE ROLE` permission and the right to grant on every schema and table involved, either by owning them or by holding the privileges `WITH GRANT OPTION`, and can't set default privileges for other users' tables (below). ```sql theme={null} -- Roles apply to the whole workgroup or cluster, so create it once. CREATE ROLE delphina_role; -- Repeat for each schema Delphina should read. GRANT USAGE ON SCHEMA TO ROLE delphina_role; GRANT SELECT ON ALL TABLES IN SCHEMA TO ROLE delphina_role; ``` **Cover tables created later.** `GRANT SELECT ON ALL TABLES` only covers tables that exist when you run it. Set default privileges **for each user that creates tables** in the schema, such as your dbt, Fivetran, or Airflow users. Redshift applies default privileges per creating user, so one statement doesn't cover everyone. ```sql theme={null} -- Repeat for each user that creates tables in the schema. ALTER DEFAULT PRIVILEGES FOR USER IN SCHEMA GRANT SELECT ON TABLES TO ROLE delphina_role; ``` **Other data sources.** | Source | Extra grant | | - | - | | **Spectrum external schemas** (Glue / S3) | `GRANT USAGE ON SCHEMA TO ROLE delphina_role;` The IAM role attached to your cluster or namespace must already be able to read the underlying Glue tables and S3 data (and Lake Formation, if you use it). | | **Datashares** (consumer database) | To read a datashare, send its consumer database as the database in Step 4. Then run `GRANT USAGE ON DATABASE TO ROLE delphina_role;` If the database was created `WITH PERMISSIONS`, also grant access to its objects: `GRANT USAGE ON SCHEMA . TO ROLE delphina_role;` and `GRANT SELECT ON ALL TABLES IN SCHEMA . TO ROLE delphina_role;` | **Give Delphina access to query history.** Delphina learns which tables, joins, and metrics matter from how your team queries them. By default, a non-superuser only sees its own queries in Redshift's query history, so grant the built-in monitoring role. Run this once; it isn't per database. ```sql theme={null} GRANT ROLE sys:monitor TO ROLE delphina_role; ``` This lets Delphina read the text of every user's queries. You can choose which users' queries Delphina uses during onboarding, but that's a setting in Delphina, not a database permission: the role can still read all of them. If some query text contains values Delphina must not be able to access, talk to your Delphina contact before granting it. ## Step 3: Create the IAM role > [tab] Serverless > > Create an IAM role in the AWS account that owns the workgroup, for example `delphina-redshift-access`. > > **Trust policy.** Your Delphina contact provides the Delphina principal ARN and a unique external ID. > > ```json theme={null} > { > "Version": "2012-10-17", > "Statement": [ > { > "Sid": "AllowDelphinaAssumeRole", > "Effect": "Allow", > "Principal": { "AWS": "" }, > "Action": "sts:AssumeRole", > "Condition": { "StringEquals": { "sts:ExternalId": "" } } > } > ] > } > ``` > > **Permissions policy.** Replace the placeholders with your region, account ID, and workgroup ID (the UUID in the workgroup ARN). > > ```json theme={null} > { > "Version": "2012-10-17", > "Statement": [ > { > "Sid": "ServerlessCredentials", > "Effect": "Allow", > "Action": [ > "redshift-serverless:GetCredentials", > "redshift-serverless:GetWorkgroup" > ], > "Resource": "arn:aws:redshift-serverless:::workgroup/" > } > ] > } > ``` > > **Map the role to the database role.** Add a tag to the IAM role with key `RedshiftDbRoles` and value `delphina_role`. When Delphina connects, Redshift signs it in as the database user `IAMR:delphina-redshift-access` and grants it `delphina_role`. > [tab] Provisioned > > Delphina connects as a database user named `delphina_user`. Create it without a password, because Delphina gets short-lived credentials for it through the IAM role, and give it the Delphina role: > > ```sql theme={null} > CREATE USER delphina_user PASSWORD DISABLE; > GRANT ROLE delphina_role TO delphina_user; > ``` > > Create an IAM role in the AWS account that owns the cluster, for example `delphina-redshift-access`. > > **Trust policy.** Your Delphina contact provides the Delphina principal ARN and a unique external ID. > > ```json theme={null} > { > "Version": "2012-10-17", > "Statement": [ > { > "Sid": "AllowDelphinaAssumeRole", > "Effect": "Allow", > "Principal": { "AWS": "" }, > "Action": "sts:AssumeRole", > "Condition": { "StringEquals": { "sts:ExternalId": "" } } > } > ] > } > ``` > > **Permissions policy.** Replace the placeholders with your region, account ID, cluster identifier, and database name. > > ```json theme={null} > { > "Version": "2012-10-17", > "Statement": [ > { > "Sid": "ClusterCredentials", > "Effect": "Allow", > "Action": "redshift:GetClusterCredentials", > "Resource": [ > "arn:aws:redshift:::dbuser:/delphina_user", > "arn:aws:redshift:::dbname:/" > ] > }, > { > "Sid": "DescribeCluster", > "Effect": "Allow", > "Action": "redshift:DescribeClusters", > "Resource": "arn:aws:redshift:::cluster:" > } > ] > } > ``` ## Step 4: Send us the details > [tab] Serverless > > | Detail | Example | > | - | - | > | Workgroup name | `analytics-wg` | > | Endpoint and port | `analytics-wg.123456789012.us-east-1.redshift-serverless.amazonaws.com`, `5439` | > | AWS account ID and region | `123456789012`, `us-east-1` | > | Database | `dev` | > | Default schema (optional) | `analytics` | > | Network option | Public endpoint | > | IAM role ARN | `arn:aws:iam::123456789012:role/delphina-redshift-access` | > [tab] Provisioned > > | Detail | Example | > | - | - | > | Cluster identifier | `analytics-cluster` | > | Endpoint and port | `analytics-cluster.abc123xyz789.us-east-1.redshift.amazonaws.com`, `5439` | > | AWS account ID and region | `123456789012`, `us-east-1` | > | Node type | `ra3.4xlarge` | > | Database | `dev` | > | Default schema (optional) | `analytics` | > | Network option | Public endpoint | > | IAM role ARN | `arn:aws:iam::123456789012:role/delphina-redshift-access` | ## Step 5: Verify the connection Your Delphina contact adds the connection, runs a test query, and sends you the list of schemas Delphina can see. Check it against what you meant to grant: a missing schema usually means a missing grant, and an extra one means a grant is broader than intended. Once the connection works, onboarding starts. Delphina reads your schema and table metadata and your team's query history to build its [context layer](/context-layer), and your Delphina contact walks you through reviewing it. ## Troubleshooting | Problem | Fix | | - | - | | **Connection times out** | Confirm the security group allows Delphina's IPs on the right port, Publicly accessible is on, and the subnets route to an internet gateway with network ACLs that allow the traffic. | | **`AccessDenied` on `sts:AssumeRole`** | Check the trust policy's principal ARN and external ID match what your Delphina contact provided. | | **`AccessDenied` on `GetCredentials` or `GetClusterCredentials`** | Check the permissions policy's resource ARNs: workgroup ID (Serverless), or cluster identifier, `delphina_user`, and database name (provisioned). | | **Connected, but no tables visible** | Serverless: confirm the `RedshiftDbRoles` tag on the IAM role is exactly `delphina_role`. Provisioned: confirm `delphina_role` is granted to `delphina_user`. Then check `USAGE` on the schema and `SELECT` on its tables. | | **Tables lose access after a dbt run** | Add `ALTER DEFAULT PRIVILEGES` for the user dbt runs as, then re-run `GRANT SELECT ON ALL TABLES IN SCHEMA` to restore access to existing tables. | | **Spectrum tables fail with a permissions error** | The IAM role attached to your cluster or namespace (not Delphina's role) needs Glue and S3 access to the external data. | # Redshift: Public endpoint + username/password Source: https://docs.delphina.ai/administration/redshift/public-endpoint-password Connect Delphina to a publicly accessible Redshift endpoint using a database username and password Use this setup when your Redshift endpoint is already publicly accessible and you'd rather use a database password than an IAM role. Delphina connects directly over the internet from a fixed set of IP addresses. Part of the [Redshift Connection Guide](/administration/redshift). Not sure which setup you need? Start there. ## Before you start Ask your Delphina contact for: * Delphina's IP addresses, for your security group. * A secure way to share the database password. You also need a Redshift superuser (Steps 2 and 3). Each step has **Serverless** and **Provisioned** tabs where they differ. Serverless endpoints contain `redshift-serverless` (`...redshift-serverless.amazonaws.com`); provisioned endpoints look like `...redshift.amazonaws.com`. ## Step 1: Set up the network path > [tab] Serverless > > 1. In the Redshift console, open your workgroup → **Network and security** and confirm **Publicly accessible** is on. > 2. Open the workgroup's VPC security group and add an inbound rule: **TCP** on your workgroup port (default **5439**) from each Delphina IP address your Delphina contact provides. > 3. Confirm the workgroup's subnets route to an internet gateway and their network ACLs allow the traffic. **Publicly accessible** alone isn't enough when the subnets are private. > [tab] Provisioned > > 1. In the Redshift console, open your cluster → **Properties** → **Network and security settings** and confirm **Publicly accessible** is on. > 2. Open the cluster's VPC security group and add an inbound rule: **TCP** on your cluster port (default **5439**) from each Delphina IP address your Delphina contact provides. > 3. Confirm the cluster's subnets route to an internet gateway and their network ACLs allow the traffic. **Publicly accessible** alone isn't enough when the subnets are private. ## Step 2: Grant database access Run this as a superuser, such as the admin user created with your workgroup or cluster, connected to **the database Delphina will use**: the one you send us in Step 4. A Delphina connection reads one database. Use a superuser if you can. A non-superuser needs the `CREATE ROLE` permission and the right to grant on every schema and table involved, either by owning them or by holding the privileges `WITH GRANT OPTION`, and can't set default privileges for other users' tables (below). ```sql theme={null} -- Roles apply to the whole workgroup or cluster, so create it once. CREATE ROLE delphina_role; -- Repeat for each schema Delphina should read. GRANT USAGE ON SCHEMA TO ROLE delphina_role; GRANT SELECT ON ALL TABLES IN SCHEMA TO ROLE delphina_role; ``` **Cover tables created later.** `GRANT SELECT ON ALL TABLES` only covers tables that exist when you run it. Set default privileges **for each user that creates tables** in the schema, such as your dbt, Fivetran, or Airflow users. Redshift applies default privileges per creating user, so one statement doesn't cover everyone. ```sql theme={null} -- Repeat for each user that creates tables in the schema. ALTER DEFAULT PRIVILEGES FOR USER IN SCHEMA GRANT SELECT ON TABLES TO ROLE delphina_role; ``` **Other data sources.** | Source | Extra grant | | - | - | | **Spectrum external schemas** (Glue / S3) | `GRANT USAGE ON SCHEMA TO ROLE delphina_role;` The IAM role attached to your cluster or namespace must already be able to read the underlying Glue tables and S3 data (and Lake Formation, if you use it). | | **Datashares** (consumer database) | To read a datashare, send its consumer database as the database in Step 4. Then run `GRANT USAGE ON DATABASE TO ROLE delphina_role;` If the database was created `WITH PERMISSIONS`, also grant access to its objects: `GRANT USAGE ON SCHEMA . TO ROLE delphina_role;` and `GRANT SELECT ON ALL TABLES IN SCHEMA . TO ROLE delphina_role;` | **Give Delphina access to query history.** Delphina learns which tables, joins, and metrics matter from how your team queries them. By default, a non-superuser only sees its own queries in Redshift's query history, so grant the built-in monitoring role. Run this once; it isn't per database. ```sql theme={null} GRANT ROLE sys:monitor TO ROLE delphina_role; ``` This lets Delphina read the text of every user's queries. You can choose which users' queries Delphina uses during onboarding, but that's a setting in Delphina, not a database permission: the role can still read all of them. If some query text contains values Delphina must not be able to access, talk to your Delphina contact before granting it. ## Step 3: Create the database user Create a database user with a strong password and give it the Delphina role. This is the same on Serverless and provisioned. ```sql theme={null} CREATE USER delphina_user PASSWORD ''; GRANT ROLE delphina_role TO delphina_user; ``` Redshift passwords must be 8–64 characters with at least one uppercase letter, one lowercase letter, and one number. They can't contain `'`, `"`, `\`, `/`, `@`, or spaces. Share the password with your Delphina contact through a secure channel, never over email or chat. ## Step 4: Send us the details > [tab] Serverless > > | Detail | Example | > | - | - | > | Workgroup name | `analytics-wg` | > | Endpoint and port | `analytics-wg.123456789012.us-east-1.redshift-serverless.amazonaws.com`, `5439` | > | AWS account ID and region | `123456789012`, `us-east-1` | > | Database | `dev` | > | Default schema (optional) | `analytics` | > | Network option | Public endpoint | > | Username (share the password separately) | `delphina_user` | > [tab] Provisioned > > | Detail | Example | > | - | - | > | Cluster identifier | `analytics-cluster` | > | Endpoint and port | `analytics-cluster.abc123xyz789.us-east-1.redshift.amazonaws.com`, `5439` | > | AWS account ID and region | `123456789012`, `us-east-1` | > | Node type | `ra3.4xlarge` | > | Database | `dev` | > | Default schema (optional) | `analytics` | > | Network option | Public endpoint | > | Username (share the password separately) | `delphina_user` | ## Step 5: Verify the connection Your Delphina contact adds the connection, runs a test query, and sends you the list of schemas Delphina can see. Check it against what you meant to grant: a missing schema usually means a missing grant, and an extra one means a grant is broader than intended. Once the connection works, onboarding starts. Delphina reads your schema and table metadata and your team's query history to build its [context layer](/context-layer), and your Delphina contact walks you through reviewing it. ## Troubleshooting | Problem | Fix | | - | - | | **Connection times out** | Confirm the security group allows Delphina's IPs on the right port, Publicly accessible is on, and the subnets route to an internet gateway with network ACLs that allow the traffic. | | **Password authentication fails** | Confirm the username and password, and that the user wasn't created with `PASSWORD DISABLE`. | | **Connected, but no tables visible** | Confirm `delphina_role` is granted to `delphina_user`, then check `USAGE` on the schema and `SELECT` on its tables. | | **Tables lose access after a dbt run** | Add `ALTER DEFAULT PRIVILEGES` for the user dbt runs as, then re-run `GRANT SELECT ON ALL TABLES IN SCHEMA` to restore access to existing tables. | | **Spectrum tables fail with a permissions error** | The IAM role attached to your cluster or namespace (not Delphina's role) needs Glue and S3 access to the external data. | # Redshift: SSH tunnel Source: https://docs.delphina.ai/administration/redshift/ssh-tunnel Connect Delphina to a private Redshift cluster or workgroup through an SSH bastion host that you run > [!WARNING] > > **Advanced setup.** Use an SSH tunnel only if you can't use a [public endpoint](/administration/redshift/public-endpoint-iam) or a [VPC endpoint](/administration/redshift/vpc-endpoint-iam), for example because your cluster is DC2. You run and maintain the bastion host, and its availability limits Delphina's. Use this setup when your Redshift endpoint is private and you already run, or are willing to run, an SSH bastion host. Delphina opens an SSH connection to the bastion from a fixed set of IP addresses and forwards its database connection through it to your warehouse. Authentication works with an IAM role or a username and password. Part of the [Redshift Connection Guide](/administration/redshift). Not sure which setup you need? Start there. ## Before you start Ask your Delphina contact for: * Delphina's IP addresses, for the bastion's security group. * Delphina's SSH public key, for the bastion user. * If you use an IAM role: Delphina's principal ARN and a unique external ID, for the role's trust policy. * If you use a password: a secure way to share it. You also need a Linux host in your warehouse's VPC that you can administer, a Redshift superuser (Step 2, and Step 3 unless you use an IAM role on Serverless), and, for an IAM role, permission to create IAM roles in the AWS account that owns your warehouse. Each step has **Serverless** and **Provisioned** tabs where they differ. Serverless endpoints contain `redshift-serverless` (`...redshift-serverless.amazonaws.com`); provisioned endpoints look like `...redshift.amazonaws.com`. ## Step 1: Set up the bastion host 1. Use an existing bastion or launch a small Linux EC2 instance (for example, `t4g.nano` on Amazon Linux) in a **public subnet** of your warehouse's VPC, with an Elastic IP. 2. In the bastion's security group, add an inbound rule: **TCP 22** from each Delphina IP address. 3. In your workgroup's or cluster's security group, add an inbound rule: **TCP** on the warehouse port (default **5439**) from the bastion's security group. 4. On the bastion, create a user for Delphina with no login shell, and add Delphina's public key: ```bash theme={null} sudo useradd --create-home --shell /usr/sbin/nologin delphina sudo mkdir -p /home/delphina/.ssh echo 'restrict,port-forwarding ' | sudo tee /home/delphina/.ssh/authorized_keys sudo chown -R delphina:delphina /home/delphina/.ssh sudo chmod 700 /home/delphina/.ssh sudo chmod 600 /home/delphina/.ssh/authorized_keys ``` 5. Limit the user to forwarding connections to your warehouse. Add this to the end of `/etc/ssh/sshd_config`, where `` is your workgroup's or cluster's endpoint hostname and `` its port: ``` Match User delphina AllowTcpForwarding local PermitOpen : MaxSessions 0 X11Forwarding no AllowAgentForwarding no PermitTTY no ``` `MaxSessions 0` blocks shells and commands while still allowing forwarding, `AllowTcpForwarding local` blocks reverse tunnels, and `PermitOpen` allows only your warehouse as a destination. Check the configuration, then reload SSH: ```bash theme={null} sudo sshd -t && sudo systemctl reload sshd ``` On Ubuntu and Debian, the service is called `ssh` instead of `sshd`. ## Step 2: Grant database access Run this as a superuser, such as the admin user created with your workgroup or cluster, connected to **the database Delphina will use**: the one you send us in Step 4. A Delphina connection reads one database. Use a superuser if you can. A non-superuser needs the `CREATE ROLE` permission and the right to grant on every schema and table involved, either by owning them or by holding the privileges `WITH GRANT OPTION`, and can't set default privileges for other users' tables (below). ```sql theme={null} -- Roles apply to the whole workgroup or cluster, so create it once. CREATE ROLE delphina_role; -- Repeat for each schema Delphina should read. GRANT USAGE ON SCHEMA TO ROLE delphina_role; GRANT SELECT ON ALL TABLES IN SCHEMA TO ROLE delphina_role; ``` **Cover tables created later.** `GRANT SELECT ON ALL TABLES` only covers tables that exist when you run it. Set default privileges **for each user that creates tables** in the schema, such as your dbt, Fivetran, or Airflow users. Redshift applies default privileges per creating user, so one statement doesn't cover everyone. ```sql theme={null} -- Repeat for each user that creates tables in the schema. ALTER DEFAULT PRIVILEGES FOR USER IN SCHEMA GRANT SELECT ON TABLES TO ROLE delphina_role; ``` **Other data sources.** | Source | Extra grant | | - | - | | **Spectrum external schemas** (Glue / S3) | `GRANT USAGE ON SCHEMA TO ROLE delphina_role;` The IAM role attached to your cluster or namespace must already be able to read the underlying Glue tables and S3 data (and Lake Formation, if you use it). | | **Datashares** (consumer database) | To read a datashare, send its consumer database as the database in Step 4. Then run `GRANT USAGE ON DATABASE TO ROLE delphina_role;` If the database was created `WITH PERMISSIONS`, also grant access to its objects: `GRANT USAGE ON SCHEMA . TO ROLE delphina_role;` and `GRANT SELECT ON ALL TABLES IN SCHEMA . TO ROLE delphina_role;` | **Give Delphina access to query history.** Delphina learns which tables, joins, and metrics matter from how your team queries them. By default, a non-superuser only sees its own queries in Redshift's query history, so grant the built-in monitoring role. Run this once; it isn't per database. ```sql theme={null} GRANT ROLE sys:monitor TO ROLE delphina_role; ``` This lets Delphina read the text of every user's queries. You can choose which users' queries Delphina uses during onboarding, but that's a setting in Delphina, not a database permission: the role can still read all of them. If some query text contains values Delphina must not be able to access, talk to your Delphina contact before granting it. ## Step 3: Set up authentication Choose one. ### IAM role (recommended) > [tab] Serverless > > Create an IAM role in the AWS account that owns the workgroup, for example `delphina-redshift-access`. > > **Trust policy.** Your Delphina contact provides the Delphina principal ARN and a unique external ID. > > ```json theme={null} > { > "Version": "2012-10-17", > "Statement": [ > { > "Sid": "AllowDelphinaAssumeRole", > "Effect": "Allow", > "Principal": { "AWS": "" }, > "Action": "sts:AssumeRole", > "Condition": { "StringEquals": { "sts:ExternalId": "" } } > } > ] > } > ``` > > **Permissions policy.** Replace the placeholders with your region, account ID, and workgroup ID (the UUID in the workgroup ARN). > > ```json theme={null} > { > "Version": "2012-10-17", > "Statement": [ > { > "Sid": "ServerlessCredentials", > "Effect": "Allow", > "Action": [ > "redshift-serverless:GetCredentials", > "redshift-serverless:GetWorkgroup" > ], > "Resource": "arn:aws:redshift-serverless:::workgroup/" > } > ] > } > ``` > > **Map the role to the database role.** Add a tag to the IAM role with key `RedshiftDbRoles` and value `delphina_role`. When Delphina connects, Redshift signs it in as the database user `IAMR:delphina-redshift-access` and grants it `delphina_role`. > [tab] Provisioned > > Delphina connects as a database user named `delphina_user`. Create it without a password, because Delphina gets short-lived credentials for it through the IAM role, and give it the Delphina role: > > ```sql theme={null} > CREATE USER delphina_user PASSWORD DISABLE; > GRANT ROLE delphina_role TO delphina_user; > ``` > > Create an IAM role in the AWS account that owns the cluster, for example `delphina-redshift-access`. > > **Trust policy.** Your Delphina contact provides the Delphina principal ARN and a unique external ID. > > ```json theme={null} > { > "Version": "2012-10-17", > "Statement": [ > { > "Sid": "AllowDelphinaAssumeRole", > "Effect": "Allow", > "Principal": { "AWS": "" }, > "Action": "sts:AssumeRole", > "Condition": { "StringEquals": { "sts:ExternalId": "" } } > } > ] > } > ``` > > **Permissions policy.** Replace the placeholders with your region, account ID, cluster identifier, and database name. > > ```json theme={null} > { > "Version": "2012-10-17", > "Statement": [ > { > "Sid": "ClusterCredentials", > "Effect": "Allow", > "Action": "redshift:GetClusterCredentials", > "Resource": [ > "arn:aws:redshift:::dbuser:/delphina_user", > "arn:aws:redshift:::dbname:/" > ] > }, > { > "Sid": "DescribeCluster", > "Effect": "Allow", > "Action": "redshift:DescribeClusters", > "Resource": "arn:aws:redshift:::cluster:" > } > ] > } > ``` ### Username/password Create a database user with a strong password and give it the Delphina role. This is the same on Serverless and provisioned. ```sql theme={null} CREATE USER delphina_user PASSWORD ''; GRANT ROLE delphina_role TO delphina_user; ``` Redshift passwords must be 8–64 characters with at least one uppercase letter, one lowercase letter, and one number. They can't contain `'`, `"`, `\`, `/`, `@`, or spaces. Share the password with your Delphina contact through a secure channel, never over email or chat. ## Step 4: Send us the details | Detail | Example | | - | - | | Bastion public IP or hostname | `203.0.113.10` | | Bastion SSH port | `22` | | Bastion username | `delphina` | | Warehouse endpoint and port | `analytics-wg.123456789012.us-east-1.redshift-serverless.amazonaws.com`, `5439` | | Workgroup name or cluster identifier | `analytics-wg` | | Node type (provisioned only) | `ra3.4xlarge` | | AWS account ID and region | `123456789012`, `us-east-1` | | Database | `dev` | | Default schema (optional) | `analytics` | | Network option | SSH tunnel | | IAM role ARN, or username (share the password separately) | `arn:aws:iam::123456789012:role/delphina-redshift-access` | ## Step 5: Verify the connection Your Delphina contact adds the connection, runs a test query, and sends you the list of schemas Delphina can see. Check it against what you meant to grant: a missing schema usually means a missing grant, and an extra one means a grant is broader than intended. Once the connection works, onboarding starts. Delphina reads your schema and table metadata and your team's query history to build its [context layer](/context-layer), and your Delphina contact walks you through reviewing it. ## Troubleshooting | Problem | Fix | | - | - | | **SSH connection times out** | Confirm the bastion is in a public subnet with an Elastic IP, and its security group allows Delphina's IPs on port 22. | | **SSH authentication fails** | Confirm the public key in `authorized_keys` matches what your Delphina contact provided, and that the file and `.ssh` directory are owned by the user with the permissions above. | | **SSH connects, but the database connection fails** | Confirm the warehouse's security group allows the bastion on the warehouse port, and the `PermitOpen` hostname and port in the `Match User delphina` block match the endpoint exactly. | | **`AccessDenied` on `sts:AssumeRole`** | Check the trust policy's principal ARN and external ID match what your Delphina contact provided. | | **`AccessDenied` on `GetCredentials` or `GetClusterCredentials`** | Check the permissions policy's resource ARNs: workgroup ID (Serverless), or cluster identifier, `delphina_user`, and database name (provisioned). | | **Password authentication fails** | Confirm the username and password, and that the user wasn't created with `PASSWORD DISABLE`. | | **Connected, but no tables visible** | IAM role on Serverless: confirm the `RedshiftDbRoles` tag on the IAM role is exactly `delphina_role`. Otherwise: confirm `delphina_role` is granted to `delphina_user`. Then check `USAGE` on the schema and `SELECT` on its tables. | | **Tables lose access after a dbt run** | Add `ALTER DEFAULT PRIVILEGES` for the user dbt runs as, then re-run `GRANT SELECT ON ALL TABLES IN SCHEMA` to restore access to existing tables. | | **Spectrum tables fail with a permissions error** | The IAM role attached to your cluster or namespace (not Delphina's role) needs Glue and S3 access to the external data. | # Redshift: VPC endpoint + IAM role Source: https://docs.delphina.ai/administration/redshift/vpc-endpoint-iam Connect Delphina to a private Redshift cluster or workgroup through a Redshift-managed VPC endpoint using an IAM role Use this setup when your Redshift endpoint is private. You grant Delphina's AWS account access to your workgroup or cluster, and Delphina connects over AWS's private network with short-lived credentials from an IAM role. Part of the [Redshift Connection Guide](/administration/redshift). Not sure which setup you need? Start there. ## Before you start Ask your Delphina contact for: * Delphina's AWS account ID, and confirmation that Delphina can create an endpoint in your AWS region. * Delphina's principal ARN and a unique external ID, for the IAM role's trust policy. You also need a Redshift superuser (Step 2, and Step 3 on provisioned clusters) and permission to create IAM roles in the AWS account that owns your warehouse (Step 3). Each step has **Serverless** and **Provisioned** tabs where they differ. Serverless endpoints contain `redshift-serverless` (`...redshift-serverless.amazonaws.com`); provisioned endpoints look like `...redshift.amazonaws.com`. ## Step 1: Set up the network path > [tab] Serverless > > Requirements: > > * The workgroup port must be in the range **5431–5455** or **8191–8215**. The default, 5439, qualifies. > > Steps: > > 1. In the Redshift console, open your workgroup → **Data access** → **Granted accounts** → **Grant access**. > 2. Enter the Delphina AWS account ID (and VPC ID, if you want to restrict access to one VPC) from your Delphina contact. > 3. Tell your Delphina contact once it's granted. We create the endpoint on our side and confirm when it's connected. > [tab] Provisioned > > Requirements: > > * An **RA3** or **RG** cluster with **cluster relocation** turned on, or a **Multi-AZ** deployment. DC2 clusters can't use a VPC endpoint; see [DC2 clusters](/administration/redshift#dc2-clusters) for your options, including an [SSH tunnel](/administration/redshift/ssh-tunnel). > * The cluster port must be in the range **5431–5455** or **8191–8215**. The default, 5439, qualifies. > > Steps: > > 1. In the Redshift console, open your cluster → **Properties** → **Granted accounts** → **Grant access**. > 2. Enter the Delphina AWS account ID (and VPC ID, if you want to restrict access to one VPC) from your Delphina contact. > 3. Tell your Delphina contact once it's granted. We create the endpoint on our side and confirm when it's connected. > > You can also grant access from the CLI: > > ```bash theme={null} > aws redshift authorize-endpoint-access \ > --cluster-identifier \ > --account > ``` ## Step 2: Grant database access Run this as a superuser, such as the admin user created with your workgroup or cluster, connected to **the database Delphina will use**: the one you send us in Step 4. A Delphina connection reads one database. Use a superuser if you can. A non-superuser needs the `CREATE ROLE` permission and the right to grant on every schema and table involved, either by owning them or by holding the privileges `WITH GRANT OPTION`, and can't set default privileges for other users' tables (below). ```sql theme={null} -- Roles apply to the whole workgroup or cluster, so create it once. CREATE ROLE delphina_role; -- Repeat for each schema Delphina should read. GRANT USAGE ON SCHEMA TO ROLE delphina_role; GRANT SELECT ON ALL TABLES IN SCHEMA TO ROLE delphina_role; ``` **Cover tables created later.** `GRANT SELECT ON ALL TABLES` only covers tables that exist when you run it. Set default privileges **for each user that creates tables** in the schema, such as your dbt, Fivetran, or Airflow users. Redshift applies default privileges per creating user, so one statement doesn't cover everyone. ```sql theme={null} -- Repeat for each user that creates tables in the schema. ALTER DEFAULT PRIVILEGES FOR USER IN SCHEMA GRANT SELECT ON TABLES TO ROLE delphina_role; ``` **Other data sources.** | Source | Extra grant | | - | - | | **Spectrum external schemas** (Glue / S3) | `GRANT USAGE ON SCHEMA TO ROLE delphina_role;` The IAM role attached to your cluster or namespace must already be able to read the underlying Glue tables and S3 data (and Lake Formation, if you use it). | | **Datashares** (consumer database) | To read a datashare, send its consumer database as the database in Step 4. Then run `GRANT USAGE ON DATABASE TO ROLE delphina_role;` If the database was created `WITH PERMISSIONS`, also grant access to its objects: `GRANT USAGE ON SCHEMA . TO ROLE delphina_role;` and `GRANT SELECT ON ALL TABLES IN SCHEMA . TO ROLE delphina_role;` | **Give Delphina access to query history.** Delphina learns which tables, joins, and metrics matter from how your team queries them. By default, a non-superuser only sees its own queries in Redshift's query history, so grant the built-in monitoring role. Run this once; it isn't per database. ```sql theme={null} GRANT ROLE sys:monitor TO ROLE delphina_role; ``` This lets Delphina read the text of every user's queries. You can choose which users' queries Delphina uses during onboarding, but that's a setting in Delphina, not a database permission: the role can still read all of them. If some query text contains values Delphina must not be able to access, talk to your Delphina contact before granting it. ## Step 3: Create the IAM role > [tab] Serverless > > Create an IAM role in the AWS account that owns the workgroup, for example `delphina-redshift-access`. > > **Trust policy.** Your Delphina contact provides the Delphina principal ARN and a unique external ID. > > ```json theme={null} > { > "Version": "2012-10-17", > "Statement": [ > { > "Sid": "AllowDelphinaAssumeRole", > "Effect": "Allow", > "Principal": { "AWS": "" }, > "Action": "sts:AssumeRole", > "Condition": { "StringEquals": { "sts:ExternalId": "" } } > } > ] > } > ``` > > **Permissions policy.** Replace the placeholders with your region, account ID, and workgroup ID (the UUID in the workgroup ARN). > > ```json theme={null} > { > "Version": "2012-10-17", > "Statement": [ > { > "Sid": "ServerlessCredentials", > "Effect": "Allow", > "Action": [ > "redshift-serverless:GetCredentials", > "redshift-serverless:GetWorkgroup" > ], > "Resource": "arn:aws:redshift-serverless:::workgroup/" > } > ] > } > ``` > > **Map the role to the database role.** Add a tag to the IAM role with key `RedshiftDbRoles` and value `delphina_role`. When Delphina connects, Redshift signs it in as the database user `IAMR:delphina-redshift-access` and grants it `delphina_role`. > [tab] Provisioned > > Delphina connects as a database user named `delphina_user`. Create it without a password, because Delphina gets short-lived credentials for it through the IAM role, and give it the Delphina role: > > ```sql theme={null} > CREATE USER delphina_user PASSWORD DISABLE; > GRANT ROLE delphina_role TO delphina_user; > ``` > > Create an IAM role in the AWS account that owns the cluster, for example `delphina-redshift-access`. > > **Trust policy.** Your Delphina contact provides the Delphina principal ARN and a unique external ID. > > ```json theme={null} > { > "Version": "2012-10-17", > "Statement": [ > { > "Sid": "AllowDelphinaAssumeRole", > "Effect": "Allow", > "Principal": { "AWS": "" }, > "Action": "sts:AssumeRole", > "Condition": { "StringEquals": { "sts:ExternalId": "" } } > } > ] > } > ``` > > **Permissions policy.** Replace the placeholders with your region, account ID, cluster identifier, and database name. > > ```json theme={null} > { > "Version": "2012-10-17", > "Statement": [ > { > "Sid": "ClusterCredentials", > "Effect": "Allow", > "Action": "redshift:GetClusterCredentials", > "Resource": [ > "arn:aws:redshift:::dbuser:/delphina_user", > "arn:aws:redshift:::dbname:/" > ] > }, > { > "Sid": "DescribeCluster", > "Effect": "Allow", > "Action": "redshift:DescribeClusters", > "Resource": "arn:aws:redshift:::cluster:" > } > ] > } > ``` ## Step 4: Send us the details > [tab] Serverless > > | Detail | Example | > | - | - | > | Workgroup name | `analytics-wg` | > | AWS account ID and region | `123456789012`, `us-east-1` | > | Database | `dev` | > | Default schema (optional) | `analytics` | > | Network option | VPC endpoint | > | IAM role ARN | `arn:aws:iam::123456789012:role/delphina-redshift-access` | > [tab] Provisioned > > | Detail | Example | > | - | - | > | Cluster identifier | `analytics-cluster` | > | AWS account ID and region | `123456789012`, `us-east-1` | > | Node type | `ra3.4xlarge` | > | Database | `dev` | > | Default schema (optional) | `analytics` | > | Network option | VPC endpoint | > | IAM role ARN | `arn:aws:iam::123456789012:role/delphina-redshift-access` | ## Step 5: Verify the connection Your Delphina contact adds the connection, runs a test query, and sends you the list of schemas Delphina can see. Check it against what you meant to grant: a missing schema usually means a missing grant, and an extra one means a grant is broader than intended. Once the connection works, onboarding starts. Delphina reads your schema and table metadata and your team's query history to build its [context layer](/context-layer), and your Delphina contact walks you through reviewing it. ## Troubleshooting | Problem | Fix | | - | - | | **Connection times out** | Confirm the grant to Delphina's account is active, and that the port is in a supported range. | | **`AccessDenied` on `sts:AssumeRole`** | Check the trust policy's principal ARN and external ID match what your Delphina contact provided. | | **`AccessDenied` on `GetCredentials` or `GetClusterCredentials`** | Check the permissions policy's resource ARNs: workgroup ID (Serverless), or cluster identifier, `delphina_user`, and database name (provisioned). | | **Connected, but no tables visible** | Serverless: confirm the `RedshiftDbRoles` tag on the IAM role is exactly `delphina_role`. Provisioned: confirm `delphina_role` is granted to `delphina_user`. Then check `USAGE` on the schema and `SELECT` on its tables. | | **Tables lose access after a dbt run** | Add `ALTER DEFAULT PRIVILEGES` for the user dbt runs as, then re-run `GRANT SELECT ON ALL TABLES IN SCHEMA` to restore access to existing tables. | | **Spectrum tables fail with a permissions error** | The IAM role attached to your cluster or namespace (not Delphina's role) needs Glue and S3 access to the external data. | # Redshift: VPC endpoint + username/password Source: https://docs.delphina.ai/administration/redshift/vpc-endpoint-password Connect Delphina to a private Redshift cluster or workgroup through a Redshift-managed VPC endpoint using a database username and password Use this setup when your Redshift endpoint is private and you'd rather use a database password than an IAM role. You grant Delphina's AWS account access to your workgroup or cluster, and Delphina connects over AWS's private network. Part of the [Redshift Connection Guide](/administration/redshift). Not sure which setup you need? Start there. ## Before you start Ask your Delphina contact for: * Delphina's AWS account ID, and confirmation that Delphina can create an endpoint in your AWS region. * A secure way to share the database password. You also need a Redshift superuser (Steps 2 and 3). Each step has **Serverless** and **Provisioned** tabs where they differ. Serverless endpoints contain `redshift-serverless` (`...redshift-serverless.amazonaws.com`); provisioned endpoints look like `...redshift.amazonaws.com`. ## Step 1: Set up the network path > [tab] Serverless > > Requirements: > > * The workgroup port must be in the range **5431–5455** or **8191–8215**. The default, 5439, qualifies. > > Steps: > > 1. In the Redshift console, open your workgroup → **Data access** → **Granted accounts** → **Grant access**. > 2. Enter the Delphina AWS account ID (and VPC ID, if you want to restrict access to one VPC) from your Delphina contact. > 3. Tell your Delphina contact once it's granted. We create the endpoint on our side and confirm when it's connected. > [tab] Provisioned > > Requirements: > > * An **RA3** or **RG** cluster with **cluster relocation** turned on, or a **Multi-AZ** deployment. DC2 clusters can't use a VPC endpoint; see [DC2 clusters](/administration/redshift#dc2-clusters) for your options, including an [SSH tunnel](/administration/redshift/ssh-tunnel). > * The cluster port must be in the range **5431–5455** or **8191–8215**. The default, 5439, qualifies. > > Steps: > > 1. In the Redshift console, open your cluster → **Properties** → **Granted accounts** → **Grant access**. > 2. Enter the Delphina AWS account ID (and VPC ID, if you want to restrict access to one VPC) from your Delphina contact. > 3. Tell your Delphina contact once it's granted. We create the endpoint on our side and confirm when it's connected. > > You can also grant access from the CLI: > > ```bash theme={null} > aws redshift authorize-endpoint-access \ > --cluster-identifier \ > --account > ``` ## Step 2: Grant database access Run this as a superuser, such as the admin user created with your workgroup or cluster, connected to **the database Delphina will use**: the one you send us in Step 4. A Delphina connection reads one database. Use a superuser if you can. A non-superuser needs the `CREATE ROLE` permission and the right to grant on every schema and table involved, either by owning them or by holding the privileges `WITH GRANT OPTION`, and can't set default privileges for other users' tables (below). ```sql theme={null} -- Roles apply to the whole workgroup or cluster, so create it once. CREATE ROLE delphina_role; -- Repeat for each schema Delphina should read. GRANT USAGE ON SCHEMA TO ROLE delphina_role; GRANT SELECT ON ALL TABLES IN SCHEMA TO ROLE delphina_role; ``` **Cover tables created later.** `GRANT SELECT ON ALL TABLES` only covers tables that exist when you run it. Set default privileges **for each user that creates tables** in the schema, such as your dbt, Fivetran, or Airflow users. Redshift applies default privileges per creating user, so one statement doesn't cover everyone. ```sql theme={null} -- Repeat for each user that creates tables in the schema. ALTER DEFAULT PRIVILEGES FOR USER IN SCHEMA GRANT SELECT ON TABLES TO ROLE delphina_role; ``` **Other data sources.** | Source | Extra grant | | - | - | | **Spectrum external schemas** (Glue / S3) | `GRANT USAGE ON SCHEMA TO ROLE delphina_role;` The IAM role attached to your cluster or namespace must already be able to read the underlying Glue tables and S3 data (and Lake Formation, if you use it). | | **Datashares** (consumer database) | To read a datashare, send its consumer database as the database in Step 4. Then run `GRANT USAGE ON DATABASE TO ROLE delphina_role;` If the database was created `WITH PERMISSIONS`, also grant access to its objects: `GRANT USAGE ON SCHEMA . TO ROLE delphina_role;` and `GRANT SELECT ON ALL TABLES IN SCHEMA . TO ROLE delphina_role;` | **Give Delphina access to query history.** Delphina learns which tables, joins, and metrics matter from how your team queries them. By default, a non-superuser only sees its own queries in Redshift's query history, so grant the built-in monitoring role. Run this once; it isn't per database. ```sql theme={null} GRANT ROLE sys:monitor TO ROLE delphina_role; ``` This lets Delphina read the text of every user's queries. You can choose which users' queries Delphina uses during onboarding, but that's a setting in Delphina, not a database permission: the role can still read all of them. If some query text contains values Delphina must not be able to access, talk to your Delphina contact before granting it. ## Step 3: Create the database user Create a database user with a strong password and give it the Delphina role. This is the same on Serverless and provisioned. ```sql theme={null} CREATE USER delphina_user PASSWORD ''; GRANT ROLE delphina_role TO delphina_user; ``` Redshift passwords must be 8–64 characters with at least one uppercase letter, one lowercase letter, and one number. They can't contain `'`, `"`, `\`, `/`, `@`, or spaces. Share the password with your Delphina contact through a secure channel, never over email or chat. ## Step 4: Send us the details > [tab] Serverless > > | Detail | Example | > | - | - | > | Workgroup name | `analytics-wg` | > | AWS account ID and region | `123456789012`, `us-east-1` | > | Database | `dev` | > | Default schema (optional) | `analytics` | > | Network option | VPC endpoint | > | Username (share the password separately) | `delphina_user` | > [tab] Provisioned > > | Detail | Example | > | - | - | > | Cluster identifier | `analytics-cluster` | > | AWS account ID and region | `123456789012`, `us-east-1` | > | Node type | `ra3.4xlarge` | > | Database | `dev` | > | Default schema (optional) | `analytics` | > | Network option | VPC endpoint | > | Username (share the password separately) | `delphina_user` | ## Step 5: Verify the connection Your Delphina contact adds the connection, runs a test query, and sends you the list of schemas Delphina can see. Check it against what you meant to grant: a missing schema usually means a missing grant, and an extra one means a grant is broader than intended. Once the connection works, onboarding starts. Delphina reads your schema and table metadata and your team's query history to build its [context layer](/context-layer), and your Delphina contact walks you through reviewing it. ## Troubleshooting | Problem | Fix | | - | - | | **Connection times out** | Confirm the grant to Delphina's account is active, and that the port is in a supported range. | | **Password authentication fails** | Confirm the username and password, and that the user wasn't created with `PASSWORD DISABLE`. | | **Connected, but no tables visible** | Confirm `delphina_role` is granted to `delphina_user`, then check `USAGE` on the schema and `SELECT` on its tables. | | **Tables lose access after a dbt run** | Add `ALTER DEFAULT PRIVILEGES` for the user dbt runs as, then re-run `GRANT SELECT ON ALL TABLES IN SCHEMA` to restore access to existing tables. | | **Spectrum tables fail with a permissions error** | The IAM role attached to your cluster or namespace (not Delphina's role) needs Glue and S3 access to the external data. | # Service Accounts Source: https://docs.delphina.ai/administration/service-accounts Non-human identities with scoped tokens for programmatic API access Service accounts are non-human identities for programmatic access to the Delphina API — for scripts, scheduled jobs, and integrations that shouldn't run under a person's login. Each service account is scoped to specific workspaces and holds one or more API tokens. Organization admins manage service accounts at **Org Admin > Service Accounts**. > [!NOTE] > > Service accounts are for machine-to-machine access. For your own interactive or personal automation, use a personal API token instead — see [User Settings](/user-settings). ## When to use a service account * The credential should belong to a team or system, not an individual, so it keeps working when people join or leave. * You want access scoped to specific workspaces and roles, independent of any person's permissions. * You need several tokens for the same identity (for example, one per environment) that you can rotate independently. ## Creating a service account 1. Go to **Org Admin > Service Accounts**. 2. Click **+ New service account**. 3. Enter a **Name**. This becomes a permanent identifier of the form `name@.svc.delphina.ai`. Use lowercase letters, digits, and hyphens (not at the start or end), up to 64 characters. 4. Optionally add a **Description** explaining what the account is used for. 5. Click **Create**. The name and identifier are fixed at creation and cannot be changed later. Only the description is editable afterward. A new service account has no token yet — Delphina opens its management dialog so you can create the first one. ## Assigning workspace roles A service account can only act in workspaces you assign to it. In the account's management dialog, open the **Workspace roles** tab. 1. Select a **Workspace** and a **Role**, then click **Add**. 2. Repeat for each workspace the account needs. Roles match the [user roles](/administration/user-management): **Developer**, **Explorer**, or **Viewer**. The token acts with the assigned role in each workspace. ### Home workspace The **home workspace** is the workspace the account defaults to when it authenticates. Set it from the **Workspace roles** tab once at least one role is assigned. It must be one of the account's assigned workspaces. ## Managing tokens Open the **Tokens** tab in the account's management dialog. ### Create a token 1. Click **+ Create token**. 2. Optionally give the token a **Name** to identify where it's used. 3. Choose an expiration: **No expiration**, or **7 / 30 / 90 / 180 / 365 days**. 4. Click **Create token**. Delphina shows the full token **once**, along with a ready-to-paste `Authorization: Bearer …` header. Copy it now — for security, the token is never shown again. Afterward the list displays only a masked form (prefix + last four characters). ### Token list Each token row shows its name, masked value, created date, last used date, and expiration. Use this to spot unused or soon-to-expire tokens. ### Revoke a token Click the trash icon on a token row and confirm. Revocation takes effect immediately and cannot be undone — any integration using that token stops working. Revoked tokens are hidden by default; toggle **Show revoked** to see them (kept for the audit trail). ## Using a token Send the token as a bearer credential on your API requests: ```txt theme={null} Authorization: Bearer YOUR_TOKEN ``` The request runs as the service account, scoped to its home workspace and assigned roles. To call the Delphina MCP server with a token, see [Delphina MCP Server](/integrations/delphina-mcp). ## Deleting a service account Click the trash icon on a service account row (or **Delete service account** in its management dialog) and confirm. Deleting an account **revokes all of its tokens immediately** and cannot be undone. Any integration using them stops working. ## Security best practices * Give each integration its own token so you can revoke one without disrupting the others. * Scope service accounts to the fewest workspaces and the lowest role they need. * Set an expiration on tokens where practical, and rotate long-lived tokens periodically. * Never commit tokens to source control. Store them in a secrets manager or environment variables. * Revoke a token as soon as it's no longer needed or may have been exposed. # Snowflake Connection Guide Source: https://docs.delphina.ai/administration/snowflake Connect Delphina to Snowflake with a dedicated user, role, and warehouse Delphina supports either a dedicated Snowflake service user or per-user Snowflake OAuth. A service user needs **SELECT** access to the data you want the agent to query; with per-user OAuth, each person's Snowflake role determines their access. Query history and Cortex Analyst access are optional. > [!NOTE] > > We recommend the warehouse provided be sized **Small or larger** so Delphina can execute queries with acceptable performance. ## Connecting Snowflake ### Step 1: Gather connection details You'll need the following from your Snowflake account: | Field | Where to find it | Example | | - | - | - | | **Account identifier** | Snowflake account URL (without `.snowflakecomputing.com`) | `xy12345.us-east-1` | | **Warehouse** | Name of the warehouse Delphina should use | `DELPHINA_WH` | | **Database** | Default database for the connection | `ANALYTICS` | | **Role** | Role granted to the Delphina user | `DELPHINA_ROLE` | ### Step 2: Create the user, role, and grant data access Run the following DDL in Snowflake. It creates a dedicated user and role and grants SELECT access to every object in a database. Prune the grants down to a smaller set of schemas/tables if you'd rather scope Delphina narrowly. ```sql theme={null} CREATE USER delphina_user ; CREATE ROLE delphina_role; GRANT ROLE delphina_role TO USER delphina_user; GRANT USAGE ON WAREHOUSE TO ROLE delphina_role; GRANT USAGE ON DATABASE TO ROLE delphina_role; GRANT USAGE ON ALL SCHEMAS IN DATABASE TO ROLE delphina_role; GRANT USAGE ON FUTURE SCHEMAS IN DATABASE TO ROLE delphina_role; GRANT SELECT ON ALL TABLES IN DATABASE TO ROLE delphina_role; GRANT SELECT ON FUTURE TABLES IN DATABASE TO ROLE delphina_role; GRANT SELECT ON ALL VIEWS IN DATABASE TO ROLE delphina_role; GRANT SELECT ON FUTURE VIEWS IN DATABASE TO ROLE delphina_role; -- Repeat for any other relevant databases. ``` If a tool like dbt creates or rebuilds tables and views in a schema, also add schema-level future grants for that schema. Snowflake ignores database-level future grants in a schema that has its own. ```sql theme={null} GRANT SELECT ON FUTURE TABLES IN SCHEMA . TO ROLE delphina_role; GRANT SELECT ON FUTURE VIEWS IN SCHEMA . TO ROLE delphina_role; -- Repeat for each schema. Add FUTURE DYNAMIC TABLES / MATERIALIZED VIEWS if you build those. ``` ### Step 3: Grant access to query history Delphina uses query histories from trusted users to prioritize tables and learn how your data is used. Choose one of the two patterns below. > [tab] Option A — IMPORTED PRIVILEGES (simplest) > > Give the role read access to the shared `SNOWFLAKE` database, which exposes `ACCOUNT_USAGE.QUERY_HISTORY`. > > ```sql theme={null} > -- Read access to the SNOWFLAKE shared DB objects > GRANT IMPORTED PRIVILEGES ON DATABASE SNOWFLAKE TO ROLE delphina_role; > > -- Allow the role to read account usage views > GRANT MONITOR USAGE ON ACCOUNT TO ROLE delphina_role; > ``` > [tab] Option B — Scoped secure view > > If you'd rather not grant broad access to `ACCOUNT_USAGE`, create a secure view that exposes only the columns and lookback window Delphina needs. > > ```sql theme={null} > CREATE OR REPLACE SECURE VIEW ..QUERY_HISTORY_SCOPED AS > WITH q AS ( > SELECT > QUERY_ID, USER_NAME, ROLE_NAME, WAREHOUSE_NAME, > DATABASE_NAME, SCHEMA_NAME, QUERY_TEXT, START_TIME, END_TIME, > EXECUTION_STATUS, TOTAL_ELAPSED_TIME > FROM SNOWFLAKE.ACCOUNT_USAGE.QUERY_HISTORY > WHERE START_TIME >= DATEADD(day, -365, CURRENT_TIMESTAMP()) -- pick your lookback > ) > SELECT > QUERY_ID, USER_NAME, ROLE_NAME, WAREHOUSE_NAME, > DATABASE_NAME, SCHEMA_NAME, QUERY_TEXT, START_TIME, END_TIME, > EXECUTION_STATUS, TOTAL_ELAPSED_TIME > FROM q; > > GRANT SELECT ON VIEW ..QUERY_HISTORY_SCOPED TO ROLE delphina_role; > ``` ### Step 4: (Optional) Grant access to Cortex Analyst objects If you use Snowflake Cortex Analyst and want Delphina to reuse your existing semantic definitions, grant the following additional permissions: ```sql theme={null} -- For an internal stage that holds semantic models GRANT READ ON STAGE .. TO ROLE delphina_role; -- For semantic views GRANT SELECT, REFERENCES ON SEMANTIC VIEW .. TO ROLE delphina_role; ``` ### Step 5: Create the connection in Delphina 1. Navigate to [analytics.delphina.ai](https://analytics.delphina.ai/). 2. Click your name in the bottom-left, then **Org Admin > Warehouse Connections**. 3. Click **Add Connection** on the target workspace. 4. Set the **Warehouse Type** to **Snowflake**. 5. Fill in the account identifier, warehouse, database, role, and user credentials from the steps above. 6. Click **Create Connection**, then **Test Connection** to verify Delphina can reach your warehouse, list tables, and access query history. ## Per-user Snowflake OAuth Use this option when queries should run with each person's Snowflake permissions rather than a shared service user's permissions. A Snowflake administrator must create a **custom OAuth security integration** for a confidential client in the same Snowflake account as the connection. Register the exact redirect URI shown in Delphina's Snowflake connection form: append `/oauth/snowflake/callback` to the configured Delphina API URL. For example, an API URL of `https://app.delphina.ai/api` uses `https://app.delphina.ai/api/oauth/snowflake/callback`; a local API URL of `https://localhost:3543` uses `https://localhost:3543/oauth/snowflake/callback`. Do not use the analytics frontend URL. Configure the integration to issue refresh tokens. Set its refresh-token validity and single-use policy to match your security requirements; Delphina persists a rotated refresh token before allowing the next exchange. Keep the client ID and both the client secret and Snowflake account identifier available for the Delphina connection settings. Snowflake's [custom OAuth documentation](https://docs.snowflake.com/en/user-guide/oauth-custom) describes creating the integration and retrieving its client credentials. In **Org Admin > Warehouse Connections**, configure the Snowflake account, warehouse, database, OAuth client ID, and client secret. Choose **User default role** to request `refresh_token` and use each person's Snowflake default role, or **Fixed role** to request `refresh_token session:role:`; for roles needing URL encoding Delphina uses `session:role-encoded:`. The fixed role must be granted to each consenting Snowflake user: choosing it does not grant access by itself. Grant `USAGE` on the warehouse, database, and schemas and `SELECT` on the intended objects to that role. A person's default role also needs those grants when using the default-role option. Each person connects their own Snowflake account from **User Settings > Data Sources** and consents in Snowflake. Reconnect when the integration, OAuth client, role, or account changes or if a refresh exchange fails ambiguously. Delphina retains the service user's credentials for system jobs; human queries using an OAuth-enabled connection do not fall back to that user when consent is missing or invalid. Existing shared or published results retain their current visibility; per-user OAuth governs new queries, not historical result authorization. ## Troubleshooting | Problem | Fix | | - | - | | **Test Connection fails** | Verify the account identifier, warehouse, and role exist and that `delphina_user` can log in with the supplied credentials. | | **"Browse Tables" empty** | Confirm `USAGE` is granted on the database and schema, and `SELECT` on the tables. Future grants only apply to objects created after the grant. | | **Tables lose access after a dbt run** | The schema has its own future grants, so Snowflake ignores the database-level ones. Add the schema-level future grants from Step 2, then re-run `GRANT SELECT ON ALL TABLES` / `ALL VIEWS` to restore access to existing objects. | | **"Show Top Users" empty** | Either `IMPORTED PRIVILEGES ON DATABASE SNOWFLAKE` is missing or the scoped `QUERY_HISTORY_SCOPED` view hasn't been shared with `delphina_role`. | | **Queries time out or feel slow** | Size and scale the warehouse for Delphina's workload — see [Snowflake Performance & Tuning](/administration/snowflake-performance). | | **Cortex Analyst semantics not picked up** | Check that `READ` is granted on the models stage and `SELECT, REFERENCES` on the semantic view. | # Snowflake Performance & Tuning Source: https://docs.delphina.ai/administration/snowflake-performance Size, scale, and monitor your Snowflake warehouse so Delphina queries complete reliably instead of timing out Once Delphina is [connected to Snowflake](/administration/snowflake), the main thing that determines whether it feels fast or flaky is how the warehouse behind it is sized and scaled. This guide covers our learned defaults for sizing, when to scale out versus up, and how to have Delphina diagnose your specific account. > [!NOTE] > > The right numbers vary a lot by workload. Start with the defaults below, then use the > [monitoring prompts](#monitoring-for-queueing) to tune from your account's real behavior. ## Why the 2-minute target matters Delphina enforces a **120-second timeout** on every warehouse query. A query that hasn't returned by then is cancelled and surfaces to the user as a failure. This cap is deliberate — it acts as a **circuit breaker**. When a warehouse gets slow (a cluster is saturated, a large scan is running), queries would otherwise sit in Snowflake's queue and pile up behind each other, with every new query inheriting an ever-growing wait. Cancelling at 120 seconds bounds how long any single query can hold a warehouse slot, so a temporary slowdown doesn't cascade into a much longer queue on your side. The practical implication: **size your warehouse so the queries you care about finish comfortably under 2 minutes**, including any time spent queued. Queue time and execution time share the same budget. Repeated timeouts aren't just errors to dismiss — they're the signal that the warehouse needs to scale. ## The two scaling knobs Snowflake gives you two independent controls, and they fix two different problems: | Symptom | Knob | What to change | | - | - | - | | A single query is slow (large scans, complex joins) | **Warehouse size** — scale *up* | Bump `WAREHOUSE_SIZE` one step (e.g. `SMALL` → `MEDIUM`) and re-measure | | Queries are fast alone but queue up under concurrent load | **Multi-cluster** — scale *out* | Raise `MAX_CLUSTER_COUNT` so Snowflake adds clusters to run queries in parallel | > [!TIP] > > **Start by scaling out, not up.** Delphina issues many independent queries concurrently > (exploration, validation, pipeline steps), so the common failure mode is *queueing*, not a > single query being too big. Adding clusters removes the queue; upsizing only helps if > individual queries are genuinely too slow. ### Recommended starting point A dedicated, multi-cluster warehouse for Delphina: ```sql theme={null} -- Adjust names to your environment. Start here, then tune from measured behavior. CREATE WAREHOUSE IF NOT EXISTS DELPHINA_WH WAREHOUSE_SIZE = 'SMALL' -- smallest size that keeps important queries under ~90s MIN_CLUSTER_COUNT = 1 MAX_CLUSTER_COUNT = 3 -- scale out to absorb concurrent Delphina queries SCALING_POLICY = 'STANDARD' AUTO_SUSPEND = 60 -- seconds idle before suspend (cost control) AUTO_RESUME = TRUE -- resume automatically on the next query INITIALLY_SUSPENDED = TRUE; ``` * **`WAREHOUSE_SIZE = 'SMALL'`** — the smallest size that keeps your important queries under \~90s (leaving headroom below the 120s cutoff). Go larger only if monitoring shows individual queries running long. * **`MAX_CLUSTER_COUNT`** is your concurrency ceiling. If monitoring shows sustained queueing, raise this before touching size. * **`AUTO_SUSPEND = 60`** keeps costs down between bursts without cold-starting on every query. * **Use a dedicated warehouse for Delphina** rather than sharing one with human analysts or ETL. It isolates Delphina's concurrency behavior and makes the monitoring queries below clean to interpret. ### Parallel warehouses (advanced) If different Delphina workloads have very different query profiles — cheap interactive queries versus heavy pipeline scans — consider **separate warehouses per workload** so a run of heavy queries can't starve interactive ones. Each is sized and scaled independently. Start with a single multi-cluster warehouse and only split if monitoring shows contention. ## Monitoring for queueing You don't need to build dashboards — **ask Delphina**. It has read access to your Snowflake query history and can identify its own service-account queries and summarize their runtime and queueing behavior. > [!NOTE] > > This requires query-history access. Delphina's full-history monitoring reads > `SNOWFLAKE.ACCOUNT_USAGE.QUERY_HISTORY`, which needs the `IMPORTED PRIVILEGES` grant from > [Step 3 of the connection guide](/administration/snowflake#step-3-grant-access-to-query-history). > Without it, monitoring falls back to a 7-day, service-account-only window. To run the full diagnosis and get a concrete scale-out-vs-scale-up recommendation, paste this prompt into a Delphina chat: ``` I want to diagnose whether our Snowflake warehouse is sized and scaled correctly for Delphina, and get a specific recommendation. Please do the following as one analysis: 1. Look at the Snowflake query history tables and work out the logic to identify recent queries made by Delphina's service account (i.e. our service account). 2. For those queries over the past month, summarize runtime and queueing behavior: - queue time vs. execution time (totals and percentiles, e.g. p50/p95) - how often queries approach or exceed the 120-second mark (Delphina cancels queries at 120s, so treat that as the SLO) - how queueing correlates with concurrent load and time of day 3. Analyze the overlap between concurrently running queries — how many Delphina queries are typically in flight at once, and whether queue time rises with that concurrency. 4. Based on all of the above, tell me which will reduce overall queuing more: a larger warehouse (scale up) or more horizontal scaling / more clusters (scale out). The rule of thumb: high concurrency/overlap with acceptable per-query runtime → scale out; low overlap but long individual runtimes near the 120s limit → scale up. Give a concrete recommendation (target warehouse size and/or MAX_CLUSTER_COUNT) with the evidence behind it. ``` ### Reading the results | What the data shows | What to do | | - | - | | High queue time, low execution time (high query overlap) | Raise `MAX_CLUSTER_COUNT` — **scale out** | | Low queue time, high execution time near the 120s limit (low overlap) | Bump `WAREHOUSE_SIZE` — **scale up**, or ask Delphina to help optimize the offending queries | | Both high | Do both, scaling out first | # Single Sign-On (SSO) Source: https://docs.delphina.ai/administration/sso Connect your identity provider to Delphina for single sign-on Delphina's SSO is powered by [WorkOS](https://workos.com), so we can support **any identity provider that WorkOS supports** — including any SAML or OIDC provider. See the [WorkOS list of supported identity providers](https://workos.com/docs/integrations) for the full set. **Google Workspace SSO is enabled by default** for every organization — no setup required. To use a different provider, your IdP admin completes the short exchange below and the Delphina team enables it for your organization. The two most common providers we configure are documented here: * [Microsoft Entra ID](/administration/sso-entra-id) * [Okta](/administration/sso-okta) Using a different provider? The flow is the same — your IdP admin creates an OIDC (or SAML) integration, adds the connection-specific callback URI Delphina provides, and sends back the connection details. Contact the Delphina team and we'll set it up. ## How it works 1. Delphina creates a connection for your organization and sends you a **connection-specific callback URI**, in the form: ``` https://auth.workos.com/sso/oidc//callback ``` 2. Your IdP admin configures the integration and returns the connection details (client ID, client secret, and provider domain or discovery endpoint). 3. Delphina wires up the connection and enables it for your organization. 4. Users sign in by entering their email and choosing your provider. ## Required claims Whatever the provider, the ID token must include `sub`, `email`, `given_name`, and `family_name`. Confirm test users have first and last names populated in their directory profiles, or those claims will be empty and sign-in will fail. ## Provisioning Users are auto-provisioned on first successful login (JIT) with a default role, which an org admin can adjust afterward. See [User Management & Roles](/administration/user-management). # Microsoft Entra ID SSO Source: https://docs.delphina.ai/administration/sso-entra-id Connect Microsoft Entra ID to Delphina for single sign-on Delphina supports single sign-on with Microsoft Entra ID over OIDC. Setup is a short exchange: your Entra admin creates an app registration, and sends a few values back to the Delphina team. ## Before you start Delphina provides you a **connection-specific callback (redirect) URI**. It looks like: ``` https://auth.workos.com/sso/oidc//callback ``` Use the exact URL the Delphina team sends you — it is unique to your organization. ## Configure in Entra ID On a new app registration for the Delphina integration: 1. **Redirect URI** — add the callback URI provided by Delphina (platform type: Web). 2. **Optional ID-token claims** — add `given_name` and `family_name`. These are **required**: sign-in fails without them. Accept the Microsoft Graph `profile` permission if prompted. 3. **Client secret** — generate one and record its expiry so it can be rotated before it lapses. ## Required claims The ID token must include `sub`, `email`, `given_name`, and `family_name`. `sub` and `email` are sent by default; `given_name` and `family_name` come from the optional-claims step above. Confirm your test users have first and last names populated in their directory profiles, or the claims will be empty. ## Send back to Delphina | Value | Notes | | - | - | | Client ID | Application (client) ID from the app registration | | Client Secret | Send via a secure channel (e.g. 1Password) | | Discovery endpoint | `https://login.microsoftonline.com/{tenant-id}/v2.0/.well-known/openid-configuration` | | Test users | 1–5 user emails to whitelist for testing | ## Test Once Delphina has wired up the connection, go to Delphina, enter your email, and click **Continue with Entra ID**. If anything errors, a screenshot of the screen you land on helps the team diagnose quickly. ## Provisioning Users are auto-provisioned on first successful login (JIT) with a default role, which an org admin can adjust afterward. See [User Management & Roles](/administration/user-management). # Okta SSO Source: https://docs.delphina.ai/administration/sso-okta Connect Okta to Delphina for single sign-on Delphina supports single sign-on with Okta over OIDC. Setup is a short exchange: your Okta admin creates an app integration, and sends a few values back to the Delphina team. ## Before you start Delphina provides you a **connection-specific sign-in redirect URI**. It looks like: ``` https://auth.workos.com/sso/oidc//callback ``` Use the exact URL the Delphina team sends you — it is unique to your organization. ## Configure in Okta Create a new app integration with these settings: | Setting | Value | | - | - | | Sign-in method | OIDC – OpenID Connect | | Application type | Web Application | | Grant type | Authorization Code | | Sign-in redirect URI | The callback URI provided by Delphina | Then assign your test users to the application. ## Required claims The ID token must include `sub`, `email`, `given_name`, and `family_name`. These are sent by default with the `openid profile email` scopes — just confirm your test users have first and last names populated in their Okta profiles, or the claims will be empty. ## Send back to Delphina | Value | Notes | | - | - | | Client ID | From the app integration | | Client Secret | Send via a secure channel (e.g. 1Password) | | Okta tenant domain | e.g. `yourcompany.okta.com` | | Test users | 1–5 user emails to whitelist for testing | ## Test Once Delphina has wired up the connection, go to Delphina, enter your email, and click **Continue with Okta**. If anything errors, a screenshot of the screen you land on helps the team diagnose quickly. ## Provisioning Users are auto-provisioned on first successful login (JIT) with a default role, which an org admin can adjust afterward. See [User Management & Roles](/administration/user-management). # User Management & Roles Source: https://docs.delphina.ai/administration/user-management Manage users, invitations, and roles across your organization Organization admins manage access and roles. Users are invited to the organization and assigned roles per workspace. ## Roles | Capability | Viewer | Explorer | Developer | | - | - | - | - | | Ask questions and view chats | Yes | Yes | Yes | | Branch conversations and bookmark | Yes | Yes | Yes | | Create and manage Data Apps | No | Yes | Yes | | See all Data Apps and workflows in listings | No | No | Yes | | See published + own Data Apps and workflows | Yes | Yes | — | | Edit knowledge base (`/knowledge`) | No | No | Yes | | Create and manage workflows | No | Yes | Yes | | Manage workspace settings | No | No | Yes | | Manage users and connections (Org Admin) | No | No | Yes | Roles are per workspace. Organization admins can access all workspaces. ## Inviting users 1. Go to **Org Admin > Users**. 2. Click **Invite User**. 3. Enter the email, select workspace(s) and role for each. 4. Send the invitation. ## Managing membership Go to **Org Admin > Users**, find the user, click **Edit** to change workspace assignments or roles. Remove all assignments to remove a user. ## Suggested questions Admins configure starter questions that appear in new chats, per workspace: 1. Go to **Org Admin > Suggested Questions**. 2. Select the workspace, add or edit questions, save. Use specific questions that reference documented metrics for best results. ## Authentication Delphina supports SSO through Google Workspace, Okta, and other SAML/OIDC providers. Configure at **Org Admin > Authentication** or contact the Delphina team. # Warehouse Connections Source: https://docs.delphina.ai/administration/warehouse-connections Connect your data warehouse so the agent can query your data A warehouse connection tells Delphina how to reach your data warehouse. Each connection belongs to a workspace and provides read-only access. Supported: **Snowflake**, **BigQuery**, **Databricks**, **Redshift**, and **PostgreSQL**. ## Adding a connection 1. Go to **Org Admin > Warehouse Connections**. 2. Click **Add Connection**. 3. Choose the workspace, warehouse type, and fill in credentials. 4. Click **Create**. The first connection for a workspace is automatically set as the default. ## Query timeout Each connection has an optional **Query Timeout (seconds)** that caps how long any single query may run before it is cancelled. This protects the warehouse from runaway queries during a chat. * Leave the field blank to use the default of **120 seconds**. * Allowed range is **1–300 seconds**. * The timeout is enforced server-side for every supported warehouse (Snowflake, BigQuery, Databricks, Redshift, and PostgreSQL). * You can change it at any time by editing the connection; the new value applies to chats started afterward. ## Supported warehouses | Warehouse | Authentication | Query history | | - | - | - | | [**Snowflake**](/administration/snowflake) | Private key, password | Supported | | [**BigQuery**](/administration/bigquery) | Service account JSON, per-user OAuth | Supported | | [**Databricks**](/administration/databricks) | Service principal, personal access token, optional per-user OAuth | Supported | | [**Redshift**](/administration/redshift) | IAM role, password | Supported | | **PostgreSQL** | Username/password | Not supported | Query history is used during [automated onboarding](/knowledge-agent/onboarding) to identify important tables and metrics. ## Managing connections * **Default connection** — click the star icon to set which connection the agent uses. * **Edit** — click the edit icon. Existing credentials are preserved if not changed. Workspace and name cannot be changed after creation. * **Delete** — click the delete icon. The connection is soft-deleted. ## Configuring source tables After creating a connection, configure which tables the agent can use: 1. Go to **Context > Sources > Warehouse**. 2. Select a connection. 3. **Tables tab** — browse and select tables for knowledge extraction. Use **Bulk Edit** to paste table names. 4. **Query Users tab** (Snowflake, BigQuery, Databricks, and Redshift) — select users whose query patterns inform the agent's knowledge. ## Troubleshooting | Problem | Fix | | - | - | | Agent can't connect | Verify credentials work from another client, then update | | "Browse Tables" empty | Grant USAGE on the database/schema to the role | | "Show Top Users" empty | Snowflake, BigQuery, Databricks, and Redshift only; ensure access to query history views. On Redshift, grant `sys:monitor` to Delphina's role so it sees other users' queries. | | Query history returns few or no queries | Your queries may not live in the default table — set a custom one under **Advanced** on Context > Sources > Warehouse. | | Connection works but agent ignores it | Set as default for the workspace | | Queries cancelled too early | Increase the connection's **Query Timeout (seconds)** (up to 300) | # Explore Chat History Source: https://docs.delphina.ai/analytics-agent/chat-history Ask the analytics agent to find, compare, and reuse accessible prior Delphina analyses The analytics agent can inspect prior Delphina chats. Ask it to find past work, read results, and use relevant analysis as context for your current question. This capability is available to all users. No setup is required. ## What you can do Use chat history to: * Find analyses by topic, workspace, person, date, status, or feedback. * Summarize conclusions from several related chats. * Compare a current result with earlier analysis. * Reuse prior findings instead of repeating an investigation. * Open a specific chat by sharing its Delphina chat URL. The agent can inspect chat metadata, questions, final results, and individual turns when needed. It can use this context to answer your current question, but it does not change past chats. ## Ask about prior work Ask directly in any analytics chat. Include a topic, time range, workspace, or person when you know it. ```text theme={null} Find recent churn analyses. Summarize their conclusions, disagreements, and open questions. ``` ```text theme={null} What did we learn from chats that received negative feedback this past week? ``` ```text theme={null} Find pipeline coverage analyses from the Revenue Operations workspace between January 1 and March 31, 2026. ``` ```text theme={null} Summarize analyses created by alex@company.com in the past month about enterprise expansion revenue. ``` ## How it works The analytics agent has read-only access to chat history you can access. It can list matching chats within your listing scope, read their assembled transcripts and results, and inspect individual turns for more detail. For broad requests, the agent first finds relevant chats from their metadata, then reads the most useful results. For a specific chat, share its URL so the agent can open it directly. ## Access and privacy The agent uses your Delphina access. Listing depends on your role in each workspace. In workspaces where you have the Developer role, you can list all default-visible chats, matching the **All Chats** page. In other workspaces, you can list only your own chats. Any workspace member can open a default-visible chat by sharing its direct URL, while owner-only chats remain visible only to their owner. The agent cannot send messages, change a chat, or delete chat history. # Critic Agent (Beta) Source: https://docs.delphina.ai/analytics-agent/critic Automatic trustworthiness review of every agent response After the agent finishes a response, a background **critic agent** reviews the full analysis — your question, the SQL, the query results, and the answer — and scores how trustworthy it is. The verdict appears as a **Critic** row beneath the response. > [!NOTE] > > The critic is in beta and rolling out gradually. The review may not be visible in your workspace yet, some users see an earlier, more compact indicator during the rollout, and the checks and appearance may evolve. ## What it checks The critic scores four pillars: | Pillar | Question it answers | | - | - | | **Clear question** | Did unresolved ambiguity in your question damage the answer you received? | | **Grounded context** | Did the answer's definitions and rules come from sound sources the agent actually had? | | **Sound logic** | Given the inputs it had, did the agent compute and interpret correctly? | | **Safe assumptions** | Is the answer grounded in verified data, or does it rest on unverified choices? | It also verifies that the numbers in the answer trace back to actual query results — a figure that can't be traced always marks the response as a likely problem. ## Reading the verdict The collapsed Critic row is the zero-effort signal: * **Green — "all checks passed"**: nothing flagged. * **Amber**: something is worth double-checking; the headline of the most important finding is shown inline. * **Red**: high probability the core answer is wrong. Click the row to expand it. Each pillar shows its findings — a short headline with the detail behind it — and clean pillars show a one-line summary of what was verified. The critic reviews each analysis to assess its trustworthiness; it can be wrong. Treat the verdict as a prioritization signal — a reason to look closer, not a final judgment. ## What to do with findings | Finding under | Typical action | | - | - | | **Clear question** | Rephrase with more specifics — time range, metric name, filters | | **Grounded context** | Document the missing metric, table, or rule with `/knowledge` | | **Sound logic** | Ask the agent to correct the analysis — a logic flaw is usually the agent's error; if it traces back to documentation, fix it with `/knowledge` | | **Safe assumptions** | Confirm or correct the assumption, and document the right definition so the agent doesn't have to guess | Findings that trace back to missing documentation also flag the turn as having a **knowledge gap**. You don't have to act on each one in the moment — Delphina can find these flagged turns later, most naturally through a scheduled workflow that reviews them in bulk and turns recurring gaps into documentation. See [Automating maintenance with workflows](/knowledge-agent/maintenance#automating-maintenance-with-workflows). # Data App Folders Source: https://docs.delphina.ai/analytics-agent/data-app-folders Organize Data Apps in a shared workspace hierarchy and understand who can manage folders Data App folders organize [Classic Data Apps](/analytics-agent/data-apps) and [Next Gen Data Apps](/analytics-agent/data-apps-next-gen) in one shared hierarchy inside each workspace. Use folders to group apps by team, project, customer, or any other structure that helps people find them. Data App folders are available by default in workspaces. If you don't see folders, the folder experience may be disabled for your account or workspace. > [!WARNING] > > A folder changes where a Data App appears, not who can access it. Moving an > app never changes its owner, editors, publication state, direct URL, or other > app-level permissions. ## Browse and find Data Apps The folder tree stays visible while you browse the Data Apps page. Select a folder to see its direct child folders and Data Apps, or select the workspace root (`/`) to return to the top level. Breadcrumbs above the listing show your current location and let you move back through its parent folders. Within each location: * Folders appear before Data Apps. * Existing Data App sorting still controls the order of the apps. * **My**, **Starred**, **Published**, and **All** filter Data Apps only; the full folder hierarchy remains visible. * Workspace search looks across every folder and shows the location of each matching Data App. It returns only apps you can already see. A dimmed folder has no Data App visible to you anywhere in its subtree. It may still contain child folders or Data Apps you cannot access, so dimming does not mean the folder is empty for everyone. ## Organize folders ### Create a folder Explorers and Developers can create a folder at the workspace root or inside the folder they are viewing. Folder names must be unique among sibling folders, regardless of capitalization. When you create or clone a Data App while viewing a folder, the new app is placed in that folder. Data Apps created without a folder context are placed at the workspace root. ### Rename, move, or delete a folder Developers can rename folders, nest them beneath another folder, move them back to the workspace root, and delete them. Deleting a folder does **not** delete its contents. Its direct child folders and directly assigned Data Apps move to the deleted folder's parent. If that move would create two sibling folders with the same name, Delphina blocks the deletion until you resolve the conflict or choose the offered automatic renaming option. ### Move a Data App If you have permission to move a Data App, use its **Move** action to choose another folder or the workspace root. In Tree view, you can also drag a Data App leaf onto a folder or `/`. Grid and List rows are not draggable. Moving either a folder or a Data App preserves stable links and all non-location state. ## Who can manage folders [Workspace roles](/administration/user-management) determine who can change the shared folder hierarchy. | Capability | Viewer | Explorer | Developer | | - | - | - | - | | Browse the complete folder hierarchy | Yes | Yes | Yes | | Create a folder | No | Yes | Yes | | Rename a folder | No | No | Yes | | Move or nest a folder | No | No | Yes | | Delete a folder | No | No | Yes | Permissions use your role in the workspace containing the folder and its destination. A folder created by an Explorer does not belong to that Explorer: creating it does not grant permission to rename, move, or delete it later. > [!NOTE] > > Folder-management permission does not grant permission to move the Data Apps > inside a folder. Data App movement follows the separate rules below. ## Who can move a Data App Data App movement depends on app ownership and privacy, not only on workspace role: * A Data App owner can move their app between folders and the workspace root. * A workspace Developer can move any non-private Data App in the workspace. * A private Data App remains owner-only. If its owner has been deactivated, a Developer can use the existing owner-recovery path. * Being allowed to create or manage folders does not let you move an app you do not otherwise administer. Moving an app never changes its owner, editors, publication state, versions, stars, URLs, content, or refresh behavior. See [Classic Data App ownership and permissions](/analytics-agent/data-apps#ownership-and-permissions) for app-level access details shared by both Data App versions. ## Visibility does not follow folders Every member of a workspace can see its complete folder hierarchy and folder names. Each member still sees only the Data Apps allowed by the existing ownership and publication rules. Folder ancestry never grants access to a Data App and never hides an app you could otherwise access. Search and the listing filters follow the same rule: they can narrow the apps shown to you, but they cannot broaden your access. > [!WARNING] > > A visible or dimmed folder never reveals the count, identity, or metadata of > Data Apps you cannot access. ## Related documentation * [Classic Data Apps](/analytics-agent/data-apps) * [Next Gen Data Apps](/analytics-agent/data-apps-next-gen) * [User Management & Roles](/administration/user-management) # Classic Data Apps Source: https://docs.delphina.ai/analytics-agent/data-apps The original Data Apps. AI-native dashboards, quick to build and always up to date > [!NOTE] > > **These are the original Data Apps.** The new **[Next Gen Data > Apps](/analytics-agent/data-apps-next-gen)** is now available in all > workspaces. Classic apps keep working as described on this page; the listing > badges these apps **Classic** and next-gen apps **Next Gen**. Data Apps are **AI-native dashboards** — quick to build, easy to iterate on, and always up to date. Use Delphina's chat to explore and analyze your data, then create a Data App to turn that analysis into a live, refreshable dashboard. Under the hood, a Data App is a saved pipeline — the SQL queries, transformations, and visualization code that produced your analysis — packaged so it can re-run on demand or on a schedule. For example: * An overview of key company or department metrics that refreshes daily * An advanced analysis you want to share in a visual form and keep up to date with new data ![A Data App dashboard showing Uber Core Metrics with KPI cards, daily trends, and charts](https://mintcdn.com/delphina/HZ-dTGWYRP2B4d1f/images/dashboard.png?fit=max\&auto=format\&n=HZ-dTGWYRP2B4d1f\&q=85\&s=78a9c1eb0a39b6dd77356eb0fc3a089c) Use [Data App Folders](/analytics-agent/data-app-folders) to organize Classic and Next Gen apps in one shared workspace hierarchy. Folder placement changes where an app appears, not who can access it. ## Creating a Data App 1. **Start in chat.** Ask Delphina to analyze your data — describe what you want to see, and iterate until the output looks right. 2. **Create it.** Type **"create data app"** in the chat. Delphina extracts the pipeline (SQL, Python, and rendering steps) from your conversation and packages it as a Data App. It appears as a file in the chat that you can open and interact with. 3. **Iterate.** Refine the output — adjust charts, add filters, change the layout — until you're happy. 4. **Save it.** Click the **Save** button to save your changes. The Data App now appears on the **Data Apps** page in the sidebar. You can also click **+ Create Data App** from the Data Apps page. This opens a prompt where you describe what you want, and Delphina builds it from scratch. From there, iterate until you're happy, then click **Save**. ![The Create Data App dialog where you describe the dashboard you want](https://mintcdn.com/delphina/HZ-dTGWYRP2B4d1f/images/create-app-dialog.png?fit=max\&auto=format\&n=HZ-dTGWYRP2B4d1f\&q=85\&s=438242670c665a38e78ea959b74166e9) ## Viewing a Data App Click any Data App from the listing to open it full-screen. The rendered dashboard loads in the main content area. From here you can: * **Refresh** the dashboard with the latest data (owners only — see [Ownership](#ownership-and-permissions)) * **Chat** with the Data App to ask questions about its output or modify it * **Star** it for quick access from the sidebar All other app-level actions live in the **⋯ menu** in the top bar: **Clone**, **Export PDF**, **Settings**, **Claim ownership** (when available), and **Delete**. ## The pipeline Every Data App has an underlying **pipeline** — an ordered sequence of steps that produce the dashboard: | Step type | What it does | | - | - | | **SQL** | Queries your data warehouse | | **DuckDB** | Runs local SQL transforms on staged data | | **Python** | Runs Python code (transforms, HTML rendering) | | **Bash** | Runs shell commands | View the pipeline in **Settings > Pipeline**. Each step shows its type, description, and code. ## Refreshing **Manual refresh** — Click the **Refresh** button on a Data App you own. Delphina re-runs the pipeline against your current warehouse data and updates the dashboard. **Scheduled refresh** — In **Settings > General**, switch from "On-demand" to "Scheduled" and pick a frequency (e.g., daily, weekly, or a custom cron expression). Refreshes always run using the **owner's** data connections — including scheduled refreshes — so what the app shows reflects the owner's data access (see [Ownership](#ownership-and-permissions)). ## Chatting with a Data App Click **"Chat with this data app"** on any Data App to open a conversation about its current output. For example: * "What happened on April 12?" * "Which region had the highest growth?" * "Can you add a trend line to this chart?" Delphina loads the Data App's pipeline and current output into the conversation, so it has full context to answer questions or make modifications. You can also use this to modify the Data App — then click **Save** to save it as an update to the current one, or as a new Data App. Saving changes to an existing app is **owner-only** (see [Ownership](#ownership-and-permissions)). If you're not the owner, Delphina will offer to save your modifications as a new Data App you own instead. ## Versions Every time a Data App's pipeline definition is updated, a new **version** is created automatically. You can view the full version history in **Settings > Versions**; the owner can restore any previous version if needed. ## Ownership and permissions Every Data App has a single **owner** — initially the person who created it. When a Data App refreshes, its pipeline runs using the **owner's** data connections, no matter who triggered the refresh or whether it ran on a schedule. Because the owner's credentials execute the app's code, changing the app is reserved for the owner: * **The owner** can do everything: modify the app through chat and save changes, refresh it, restore earlier versions, change its settings and schedule, manage its editors, and delete it. * **Editors** — teammates added under **Settings > Editors** — can update the app's settings: name, description, schedule, and publishing. They can't change the app's content or refresh it, since that would run their changes under the owner's data credentials. * **Workspace Developers and org admins** can do what editors can, and can also manage the app's editor list and delete the app. * **Everyone else** in the workspace can view, star, clone, and chat with (ask questions of) a Data App — provided they can discover it (see [Publishing](#publishing)) or have the direct URL. ### Claiming ownership If you need to change an app you don't own, you have two options: * **Clone it** (⋯ menu) to get your own copy with an independent history. * **Claim ownership** (⋯ menu) to take the app over in place. Claiming is available to the app's editors, workspace Developers, and org admins. Claiming makes you the owner: starting with the next refresh — including any existing schedule, which keeps running — the app's pipeline runs using **your** data connections, including queries you didn't write. A confirmation dialog spells this out before you claim. The previous owner stays on the app as an editor, so they keep visibility into its versions and settings. Ownership is never transferred *to* someone by someone else — the person whose credentials will run the app must claim it themselves. ## Publishing By default, a new Data App is only visible to its owner and to Developers (who can see everything). To make a Data App discoverable by Explorers and Viewers in the workspace, toggle the **Publish** icon in the top bar or on the listing page. | Role | What they see on the Data Apps listing | | - | - | | **Developer** | All Data Apps in the workspace | | **Explorer / Viewer** | Their own Data Apps + published Data Apps | Publishing controls **discoverability**, not access. Anyone in the workspace can still open a Data App if they have the direct URL — publishing just determines whether it appears in the listing for Explorers and Viewers. ## Listing page tabs The Data Apps listing organizes apps into tabs: | Tab | What it shows | | - | - | | **My** | Data Apps you created | | **Starred** | Data Apps you've starred | | **Published** | Data Apps published to the workspace | | **All** | Every Data App in the workspace | Viewers see only the **Starred** and **Published** tabs. ## Starring and cloning **Starring** — Click the star icon on any Data App to add it to your **Starred** section in the sidebar. Starred Data Apps also float to the top of the listing page. **Cloning** — Choose **Clone** from the ⋯ menu to create a copy of any Data App. Any Explorer or Developer in the workspace can clone. The clone starts with the same pipeline and output but has independent version history — and you own the copy. ## Known issues The following are known issues that will be fixed soon: 1. **Data Apps may be created when not explicitly requested.** The agent sometimes creates a Data App on its own during a chat session. If this happens, you can delete the unwanted Data App from its settings page. 2. **Extra context is prepended to your messages.** When you chat with a Data App, Delphina automatically adds context to your message so the agent knows which Data App you're viewing. You may see this in the chat as a bracketed prefix like `[Data app: "Dashboard Name" (id) — the user is viewing this app...]`. This is expected behavior and helps the agent give relevant answers, but the formatting will be cleaned up in a coming release. # Next Gen Data Apps Source: https://docs.delphina.ai/analytics-agent/data-apps-next-gen Live, editable dashboards with larger datasets, MCP data sources, agentic insights, and a gated draft-and-publish workflow Next Gen Data Apps is the next generation of [Classic Data Apps](/analytics-agent/data-apps): the same idea (AI-native, always-up-to-date dashboards), now with on-canvas editing and stronger guarantees around what your viewers see. It turns an analysis into a live dashboard you can edit directly on the canvas. You still build with chat, and now you can also drag panels, edit their properties, and rearrange the layout in place, then publish when it's ready. Every version is rebuilt through a checked pipeline, so a change that fails to render never reaches your viewers. ![Dragging a panel to rearrange a Next Gen Data App directly on the canvas](https://mintcdn.com/delphina/HFr1_jG3FsEeRmvM/images/da2-drag-widget-hq.gif?s=0474716a746fd62b6cad1d94b82e5e85) Use [Data App Folders](/analytics-agent/data-app-folders) to organize Next Gen and Classic apps in one shared workspace hierarchy. Folder placement changes where an app appears, not who can access it. ## What's new * **Handles more data.** Dashboards can load much larger datasets, on the order of a million rows, in full. The heavy processing happens in the pipeline up front, so charts and filters stay fast even over large data. * **Complete version history.** Every version is captured with a complete, reliable history. You can review exactly what changed before publishing, keep a clear split between your working draft and what viewers see, and restore any earlier version at any time. * **Render-checked publishing.** Each version is rebuilt and render-checked before it goes live, so a broken change can't reach your viewers. The app keeps serving the last good version. * **A structured app.** Next Gen apps are a React app of separate, editable components, which is what makes on-canvas editing and reliable rebuilds possible. * **On-canvas editing.** Shape the dashboard directly on the canvas (drag, edit, rearrange), with chat always there when you want it. * **More than your warehouse.** Pipelines can pull data from MCP data sources (for example, a GitHub connection) alongside your warehouse, so a dashboard can combine warehouse metrics with data from your connected tools. * **On-demand steps.** Some questions are too big to precompute — one customer's orders among millions, or a live status that shouldn't wait for the next refresh. Steps marked on-demand run when a viewer interacts with the app (for example, picking a value from a dropdown), instead of at refresh time. See [On-demand steps](#on-demand-steps-live-lookups-at-view-time). * **AI-generated insights.** A pipeline can include an agent step that uses AI to produce content, such as a written insights summary of what the data shows, baked right into the app. ![Adding an AI-written insights summary to a dashboard](https://mintcdn.com/delphina/HFr1_jG3FsEeRmvM/images/da2-ai-insights-hq.gif?s=77b9fb8f5327e144f5b69aac7cea8f53) ## Data sources and pipeline steps Every Data App is produced by a pipeline: a DAG of steps, so independent steps run in parallel and each one runs as soon as its inputs are ready. Next Gen Data Apps adds new data-step kinds beyond the warehouse-and-transform steps of Classic: | Step | What it does | | - | - | | **Warehouse (SQL)** | Queries your data warehouse | | **MCP** | Pulls data from a connected source (for example, a GitHub connection) via [MCP connections](/administration/mcp-connections) | | **DuckDB (SQL)** | Local SQL transforms on staged data (reshape, join, roll up) | | **Python** | Python for transforms or custom logic | | **Agent** | Uses AI to generate content as a pipeline step, such as a written insights summary of the data | Those datasets are rendered by a small React codebase (`App.tsx` plus one file per component under `components/`). You can browse both the data steps and the app code from the **Source Code** tab in the editor, or jump straight there with **Source code** in the app's ⋯ menu. ![The Source Code tab showing SQL data steps and the React app code (App.tsx plus per-component files under components/)](https://mintcdn.com/delphina/_rJHR69t6HTOHNAc/images/da2-pipeline.png?fit=max\&auto=format\&n=_rJHR69t6HTOHNAc\&q=85\&s=18afe1f9b299dbfd528f38a0848eab10) A run view organizes the pipeline into three groups: **Steps** (your data steps above), **Gate** (build, then render-check), and **Publish**. Because these steps are captured in the app itself, the whole dashboard is reproducible from its pipeline, and every rebuild is render-checked before it can be published (see [Refreshing](#refreshing)). ## On-demand steps: live lookups at view time By default, every pipeline step runs at **refresh** time and the app serves that snapshot. Any of the step kinds above except built-in tools can instead be marked **on-demand**: it runs at the moment a *viewer* interacts with the app, with values the viewer chose bound in as typed parameters. In the Source Code tab, on-demand steps carry a green **⚡ on-demand** badge along with their parameters and cache duration. Use on-demand steps for two shapes of question: * **Needle in a haystack.** A lookup across a space too big to precompute — one customer's orders among 10M rows, one ticket's detail among thousands. The dashboard's rollups stay precomputed; the viewer's pick queries live. * **Fresher than the refresh.** A pane whose numbers should be minutes old, not as old as the last scheduled refresh — a live status or queue depth, with or without parameters. The rest of the app is unchanged: on-demand results can join against the app's precomputed datasets (for example, "this customer's orders" laid over the daily rollup), and an agent step can run on demand too — generating an AI summary for exactly the record a viewer selected. To use it, just describe the interaction to Delphina — for example, *"add a dropdown of customers, and when I pick one, look up their orders live"*. Delphina marks the right steps on-demand and wires the app. ### What viewers experience * Selecting a value shows a **Live lookup** progress strip while the query runs; results typically land in a few seconds (agent steps take longer). Panes show a **live · as of…** badge telling viewers exactly when their numbers were produced. * Results are **cached per parameter value** for a duration the app author chooses, so repeating a selection (by you or a colleague, where applicable) is instant. * On-demand queries run under **the viewer's own data connections**, not the owner's — the opposite of [refreshes](#refreshing). A viewer's live lookups return exactly what *their* warehouse access allows, and results from credentialed lookups are private to the viewer who ran them. In workspaces where warehouse access is connected per user, a viewer who hasn't connected theirs sees a prompt to do so instead of data. * **PDF exports** print on-demand panes in their empty state for now — live lookups are per-viewer and aren't captured in the exported document. > [!NOTE] > > Because on-demand queries use the viewer's own access, build on-demand panes > for audiences who hold data access themselves. For dashboards aimed at viewers > without warehouse access, keep steps on the default refresh schedule — those > always run under the owner's connections. ## Creating a Data App **1. Explore in chat** Ask Delphina to analyze your data and iterate until the output looks right, just like Classic. **2. Create it** Type "create data app" in the chat. Delphina extracts the pipeline (SQL, transforms, and rendering) from your conversation and packages it as a Data App. **3. Refine it** Open the app and shape it on the canvas: rearrange panels, edit properties, add or remove components. You can also use chat to refine it by asking Delphina to make changes in words. Iterate until you're happy. **4. Publish** Publish the current version to release it to your viewers (see [Draft and publish](#draft-and-publish)). You can also start from scratch with **+ Create Data App** on the Data Apps page and describe what you want. ![The Create Data App dialog on the Data Apps page](https://mintcdn.com/delphina/_rJHR69t6HTOHNAc/images/da2-create.png?fit=max\&auto=format\&n=_rJHR69t6HTOHNAc\&q=85\&s=0f7ac840f26acd384eefc3f051685544) ## Editing on the canvas You can change the dashboard in place, right on the canvas. Editing is reserved for the app's owner (see [Ownership](#ownership-and-permissions)); non-owners get a read-only view of the same surfaces. In edit mode, hover or select a component to reveal its controls: * **Edit props:** change a component's settings (for example, a chart's type, axes, or color) * **Drag to reorder:** rearrange components within the layout * **Delete component:** remove a panel * **Change this component:** open a focused chat to have Delphina change that panel ![Editing a single component in place: tweaking its props directly on the canvas](https://mintcdn.com/delphina/HFr1_jG3FsEeRmvM/images/da2-targeted-editing-hq.gif?s=92c2d1cb6bd20371f3699e66827923c4) ## Asking about the data You can also chat about a component while simply viewing the app: select it and choose **Ask about this data** to ask questions about the data behind that panel. Delphina has the app's pipeline and data in context, so it can answer questions about the output. ![Asking a question scoped to a single component via its chat bubble](https://mintcdn.com/delphina/HFr1_jG3FsEeRmvM/images/da2-ask-widget-hq.gif?s=9d7fa38002e830f62b1da46a228fcac4) ## Draft and publish This is the biggest change from Classic. Your edits save automatically to a draft. The editor banner reads *"Editing — changes save automatically · draft"*, so you can shape a dashboard fully before anyone else sees it. Nothing your viewers see changes until you publish. * The **Versions** panel (right rail) marks your working draft as Latest and the live version as Published. * Open the **Diff** tab to review what's different from the published version. * To make a version live, open it in the **Versions** panel and click **Publish this version**. You can also **Restore** an earlier version or jump **Back to latest**. > [!NOTE] > > Viewers always see the Published version. Your draft edits are private to you > (and other editors) until you publish. ![Opening the Versions panel and publishing a chosen version](https://mintcdn.com/delphina/HFr1_jG3FsEeRmvM/images/da2-publish-version-hq.gif?s=a6356bf7064e002d9f2514b472ac67f6) ## Refreshing Refresh re-runs the app's pipeline against the latest data (warehouse and any MCP sources). The analysis logic is frozen, so a refresh changes the data, not the design. Refreshes always run using the **owner's** data connections, whoever triggers them (see [Ownership](#ownership-and-permissions)). ([On-demand steps](#on-demand-steps-live-lookups-at-view-time) are the one exception: they run outside the refresh, under the viewer's own connections.) * **Manual:** click **Refresh now**. The owner, the app's editors, workspace Developers, and org admins can trigger it. * **Scheduled:** set a frequency in the app's settings (for example, daily). Every refresh replays the pipeline through the same stages: your data **Steps** run, a **Gate** builds the app and render-checks it, then **Publish** releases it. If a refresh fails the render-check, the app keeps serving the last good version and surfaces the failure. Open the run from the failure banner to see what went wrong. ## Versions Next Gen Data Apps keeps a complete, reliable history of your app. Every version is captured automatically, so you can always see how a dashboard evolved and roll back with confidence. * **See the timeline.** Open the Versions history to browse every version, with the current Published version and your Latest draft clearly marked. You can also jump there with **Version history** in the ⋯ menu. * **Review before you publish.** Use the **Diff** tab to see exactly what's different between your unreleased draft and the published version. * **Restore any version.** Restoring makes that version your current draft, which you can review and then publish. Nothing is lost; restoring is itself just another version. (Restoring changes the draft, so it's owner-only — see [Ownership](#ownership-and-permissions).) Because each version is rebuilt through the gated pipeline, restoring or publishing an older version is always render-checked too, so you can't accidentally publish a version that no longer renders. ## Ownership and permissions The permission model is the same as [Classic](/analytics-agent/data-apps#ownership-and-permissions): every app has one **owner**, refreshes run the app's pipeline using the **owner's** data connections (no matter who triggered them), and changing the app's content is therefore reserved for the owner. Next Gen additionally distinguishes what the app's **editors** (added under **Settings > Editors**), workspace Developers, and org admins can do: * **Owner:** everything — canvas and chat editing, publishing, refreshing any version, restoring versions, settings, editors, delete. * **Editors, Developers, and admins:** trigger **Refresh now** (the run still executes under the owner's account), change settings and the schedule, publish a built version, and inspect the app's drafts — see below. * **Everyone else:** view the published app, star it, clone it, and ask questions in chat. ### Inspecting without editing Where the owner sees the Edit pencil, editors (and Developers/admins) see a **History & source** icon instead. It opens the same editor layout **read-only**: browse the version history, read the source code, and review diffs — with a `READ-ONLY` banner naming the owner. You can't change anything from there, but the banner offers **Claim ownership** when you're eligible, and **Clone** is always available in the ⋯ menu. ### Claiming ownership **Claim ownership** (⋯ menu, or the shortcut on the read-only banner) makes you the app's owner, exactly as in [Classic](/analytics-agent/data-apps#claiming-ownership): future refreshes — including the existing schedule — run using **your** data connections, and the previous owner stays on as an editor. A confirmation dialog explains the consequences before you claim. ## Sharing, publishing, and cloning * **Publishing to viewers:** publishing a version (above) controls what content viewers see. Making the app discoverable in the workspace listing works the same way as Classic (see [Publishing](/analytics-agent/data-apps#publishing)). * **Clone:** create your own copy of any app you can view. The clone starts from the same pipeline and output with independent version history. * **Star:** pin an app to your sidebar for quick access. # Analytics Agent Source: https://docs.delphina.ai/analytics-agent/overview Ask questions about your data and get answers with SQL, charts, and analysis Ask a question about your data in plain English. The agent writes SQL, runs it against your warehouse, and returns the answer with data and charts. ## A typical interaction You type: ```text theme={null} What was our revenue last month by product category? ``` The agent responds with: > **Revenue for February 2026 was \$3.2M across all categories.** > > * **Enterprise SaaS** — \$1.8M (56%, +12% MoM) > * **Self-serve** — \$940K (29%, +3% MoM) > * **Professional Services** — \$460K (14%, -8% MoM) > > *Professional Services declined due to two large contracts completing in January. Enterprise SaaS growth was driven by 14 new accounts closed in the last 6 weeks.* Below the response, you can see the SQL the agent ran. If the agent made assumptions, the [critic](/analytics-agent/critic) flags them in its review beneath the response. Follow up in the same chat — context carries forward: ```text theme={null} Show me the weekly trend for Enterprise SaaS over the last 3 months. ``` ## What happens behind the scenes 1. **Searches the knowledge base** for relevant table schemas, metric definitions, and business rules. 2. **Queries your warehouse** — writes and executes read-only SQL, then stages the results as local data files. 3. **Analyzes in a sandbox** — runs Python and DuckDB against the staged data to transform, aggregate, and visualize. The sandbox is an isolated container with no internet access — your data never leaves the secure environment. 4. **Returns results** — plain-English summary, data tables, charts, and the SQL used. 5. **Gets reviewed** by a background [critic agent](/analytics-agent/critic) that scores how trustworthy the answer is. This two-step approach — SQL to stage, Python to analyze — means the agent can do things pure SQL can't: statistical tests, complex reshaping, custom visualizations, and iterative exploration where each step builds on the last. ## Types of questions **Metrics** — "What was revenue last month?" "How many new customers in Q4?" **Trends** — "Daily active users for the past 30 days." "Monthly growth rate this year." **Breakdowns** — "Top 10 products by sales." "Conversion rate by region." **Combined filters** — "Revenue by category in the US for Q4, excluding test accounts." **Charts** — "Bar chart of sales by region." The agent picks a chart type, or you can specify one. **Exploring your data** — "What tables do you know about?" "What metrics are documented for sales?" ## Using your knowledge base The agent is significantly more accurate when it can draw on documented knowledge. If you've defined "MRR" in your knowledge base, the agent uses the documented SQL definition automatically — no guessing about which table or column to use. For metrics you use repeatedly, document them with `/knowledge` for consistency. See [Maintenance](/knowledge-agent/maintenance). ## SQL mode Type `/sql` followed by a query to run it directly against your warehouse, bypassing the agent entirely: ```text theme={null} /sql SELECT date, revenue FROM analytics.daily_revenue WHERE date >= '2024-01-01' ORDER BY date LIMIT 30 ``` Your SQL runs exactly as written with read-only access. Useful for verifying the agent's SQL, testing metric definitions before documenting them, or running queries you've already written. ## File uploads Drag and drop files into the chat to give the agent additional context: * **Tabular data** (CSV, TSV, Excel) — the agent can filter, aggregate, join with warehouse data, and create charts. * **Documents** (PDF, TXT, Markdown) — the agent reads the text and can answer questions about it. * **Images** (PNG, JPG, GIF, WebP) — the agent can describe charts, read text in screenshots, or reproduce visuals with live data. To make files permanently available across all chats, upload them at **Context > Sources > File Uploads**. ## Collaboration All chats are visible to everyone in your workspace. Send a chat URL to share an analysis. **Branching.** Click **Branch** to create an independent copy of any conversation. Continue with your own follow-ups without affecting the original. Branch from a completed turn to explore a different direction from that point. **Bookmarks.** Click the bookmark icon on any response to save it for quick reference. View all bookmarks in the sidebar. Bookmarks are workspace-scoped — all members can see them. ## Other modes | Situation | Use | | - | - | | Multi-step investigation with a written report | [`/research`](/analytics-agent/research) | | Document a table, metric, or business rule | [`/knowledge`](/knowledge-agent/maintenance) | | Build your knowledge base from scratch | [Automated Onboarding](/knowledge-agent/onboarding) | # Projects Source: https://docs.delphina.ai/analytics-agent/projects Organize related analytics chats with shared instructions and files Projects keep the chats for a goal or body of work together. Each project can provide reusable instructions and files to every chat in the project, so you do not need to repeat the same context in each conversation. ## What you can do Use a project to: * Group related analytics chats in one place. * Give Delphina persistent instructions for every project chat. * Upload files that every project chat can use as shared context. * Start a new chat with the project's context already available. * Move chats you own into, between, or out of projects. Projects are scoped to the current workspace. Each project has one owner, but other workspace members can open it through a direct link and collaborate. A chat can belong to one project at a time, and moving a chat does not change that chat's ownership or visibility. ## Collaborate on a project To share a project, copy its page URL and send it to another member of the same workspace. Your **Projects** listing shows only projects you own; projects owned by someone else are accessible through their direct links. There is no separate invitation or collaborator list for a project. Access comes from workspace membership, including the **Viewer** role. A project link does not grant access to someone outside the workspace, and project owners cannot assign read-only access or revoke access for individual workspace members at the project level. | Action | Project owner | Other workspace member | | - | - | - | | Open a project by direct link and read its instructions and files | Yes | Yes | | Start a new chat in the project or add chats they own | Yes | Yes | | Upload new project files | Yes | Yes | | Replace or remove project files | Any file | Only files they originally uploaded | | Rename or delete the project | Yes | No | | Edit project instructions | Yes | No | | Remove a chat from the project without deleting it | Any chat visible to them | Only chats they own | Project access does not override chat privacy. Members can read workspace-visible chats, but an owner-only chat remains visible only to its chat owner, even when someone else owns the project. Only the chat owner can continue, move, or delete that chat. A Developer workspace role does not grant the project owner's permissions. For projects managed from code, renaming, deletion, and instruction edits are reserved for the system that manages the project. ## Create a project **1. Open Projects** Select **Projects** in the sidebar. If the item is not visible, Projects may be disabled for your account or workspace. **2. Create the project** Select **+ Create Project**, enter a name, and select **Create**. **3. Add context** Add instructions, upload files, or both. You can update this context at any time. **4. Start a chat** Enter a question in the composer on the project page. The new chat is automatically added to the project. ## Add shared instructions Instructions tell Delphina how to work across every chat in the project. Use them for context and defaults that should remain consistent, such as: * The project's purpose and intended outcome. * Business definitions, assumptions, and terminology. * Preferred methods, constraints, or output formats. Only the project owner can edit instructions. On the project page, find **Instructions**, select **Edit**, enter your guidance, and select **Save**. Markdown is supported, and instructions can contain up to 5,000 characters. Project instructions act as defaults. A specific request in a chat can override them. Updated instructions apply to subsequent turns; they do not rewrite earlier responses. ## Add shared files Files give every chat in the project a common set of reference material. Any workspace member can select **Upload files**, or drag files onto the **Files** section of the project page. Members can download any project file; only the project owner or the file's original contributor can replace or remove it. Upload limits: * Up to 100 files in one selection. * Up to 5 images in one selection. * Up to 3.75 MB per PNG, JPEG, WebP, or GIF image. * Up to 100 MB per other file. If a file with the same name already exists in the project, you can replace it only if you own the project or originally uploaded that file. ## Move an existing chat You can add only chats that you own. * **From an open chat:** Open the **⋯** menu, select **Move to Project**, and choose a project. * **From Chats:** Open the chat row's **⋯** menu and choose a project. * **From a project:** Open the chat row's **⋯** menu to move it to another project or select **Remove from project**. Removing a chat from a project does not delete the chat. It remains available to its owner in **Chats**. The project owner can also remove another member's visible chat from the project, but cannot move or delete that chat. ## Manage or delete a project Only the project owner can rename or delete a project. Select the project name at the top of its page to rename it. To delete the project, open the **⋯** menu and select **Delete**. Deleting a project removes the project and its shared files. Its chats are detached from the project, not deleted, and retain their existing ownership and visibility. # Research Agent Source: https://docs.delphina.ai/analytics-agent/research Deep, multi-step investigations with written reports The research agent runs a multi-step investigation. The agent creates a plan, executes multiple queries, tests hypotheses, and produces a written report with findings and next steps. Use it when you need to understand *why* something is happening, not just *what* the numbers are. ## When to use it * Broad or strategic questions requiring multiple queries * You want the agent to propose metrics, validate them, and write up findings * Questions like "Why did Q4 revenue spike in week 3?" or "What factors are driving churn?" For quick factual questions ("What was revenue last month?"), use the default [Analytics Agent](/analytics-agent/overview). ## How to start Start a **new chat** with `/research` followed by your question: ```text theme={null} /research analyze churn drivers for enterprise customers over the last 6 months ``` > [!NOTE] > > `/research` can only be used on the **first turn** of a chat. ## What the agent does **1. Planning.** Searches your knowledge base, proposes metrics and SQL, and creates a structured plan with hypotheses. **2. Research.** Queries your warehouse to stage data, then uses Python and DuckDB in a secure sandbox to analyze, test hypotheses, and build charts. Each step builds on the last — the agent can query, inspect results, refine its approach, and query again. All execution happens in an isolated container with no internet access. ## Output * A **plan summary** of the question and approach * **Hypotheses** with statuses: open, supported, or rejected * **Findings** tied to specific SQL results and charts * **Next steps** with concrete follow-up questions ## Getting better results Include time ranges ("last 6 months"), segments ("enterprise customers"), and specific metrics in your question. Document your knowledge base first — the research agent produces better results with documented table schemas and metric definitions. # Search Source: https://docs.delphina.ai/analytics-agent/search Find past chats and data apps in a workspace by keyword Search finds chats and data apps in your current workspace by keyword: what was asked, what the agent answered, the artifacts and files it produced, and what your data apps contain. Results from chats and data apps appear together in one list, best match first. > [!NOTE] > > Search is rolling out workspace by workspace. If you don't see **Search** in the sidebar, it isn't on for your workspace yet. [Let us know](#feedback) if you'd like it. ## Open search * Click **Search** at the top of the sidebar, or * Press ⌘ K on Mac or Ctrl K on Windows and Linux. On the Inbox page, that shortcut opens the Inbox's own command menu instead. Type at least two characters. Results update as you type. Use ↑ and ↓ to move through them, Enter to open one, and Esc to close search. * A **chat** result opens the chat at the turn that matched. A match on the chat's title opens the chat itself. * A **data app** result opens the app. A match in an unpublished draft, marked **Draft**, opens the app's editor. ## Tips for better results * **Use specific words.** Search matches words, not meaning: "net revenue retention" finds those words, not every chat about retention metrics. * **Word forms match.** "churned" also finds "churn" and "churning". Search understands English, Spanish, and Portuguese word forms, and ignores accents. * **The last word matches as a prefix,** so "cohort ret" finds "cohort retention". * **Put a phrase in quotes** to match it exactly: `"weekly active users"`. * **Exclude a word** with a minus sign: `revenue -forecast`. * **Search for table and column names** with **Include SQL & code** on (see below). `fct_orders` matches exactly. * **Names and titles rank first.** A data app whose name matches, or a chat whose title matches, appears above matches in the body of a chat. Among other results, more relevant and more recent ones rank higher. ## Filters The row under the search box narrows results: | Filter | What it does | | - | - | | **All / Mine** | **Mine** shows only chats and data apps you own. | | **All / Chats / Data apps** | Search one kind, or both. | | **Include SQL & code** | Also search the queries and code the agent ran in chats, and data apps' source code. Off by default. Turn it on to find where a table or column was used. | ## What's searchable **In chats:** * Your prompts and the agent's answers * Chat titles and the chat owner's name * The text of the agent's reports and notes, and the column names of tables it showed (not the rows) * The names of files you attached and files the agent created * With **Include SQL & code**: the SQL, Python, and other tool calls the agent ran **In data apps:** * The app's name, description, and owner's name * The steps' prompts and descriptions * Report templates, such as the Markdown a report is built from * With **Include SQL & code**: the app's source files, such as SQL, Python, `App.tsx`, and pipeline configuration. Chart titles and labels written in the app's code are found this way too. Both the published version of a data app and its unpublished draft are searchable. Which drafts you see depends on your role (see [Who sees what](#who-sees-what)). ## What's not searchable * **Query results and data:** the rows a query returned, tables, and datasets * **Rendered reports and dashboards,** including titles or numbers computed when the app runs. These change on every refresh. * **The contents of files.** File names are searchable, but not what's inside them. * **Images** * **Chats and data apps in other workspaces.** Search covers the workspace you're in. * **Deleted chats and data apps** * **Background data app refreshes and branch builds.** These chats are never indexed. * **A turn that's still running.** It becomes searchable when it finishes. * **Very old code matches:** with **Include SQL & code** on, only the most recent 2,000 matching tool calls in a workspace are ranked. Use a more specific query to find an older one. ## How quickly new work shows up * **Chats:** a turn is usually searchable within a few seconds of finishing. Renaming a chat updates its title in search just as quickly. In the rare case indexing fails, the turn is picked up overnight. * **Data apps:** a new app, a release, and changes to its name, description, or sharing are usually searchable within a few seconds. Edits to an unpublished draft can take until the next day to show up. * **Chats from before search was turned on** are added in the background when search is enabled for a workspace. A large workspace can take several hours to finish. * **Deleting a chat or data app, or making it private,** removes it from other people's results right away. If something you expect still doesn't appear after a few minutes, [tell us](#feedback). ## Who sees what Search shows you the same chats and data apps you can browse, never more. What that includes depends on your role in the workspace: | | Developer | Explorer or Viewer | | - | - | - | | **Chats** | Every chat in the workspace, except other people's private chats and chats run by Delphina's automated agents | Your own chats | | **Data apps** | Every app except private apps you don't own or edit (published private apps are included) | Published apps, plus apps you own, edit, or starred | | **Unpublished drafts** | Drafts of non-private apps, and of apps you own or edit | Drafts of apps you own or edit | Private chats are only ever shown to their owner. Making a chat or data app private, or deleting it, removes it from other people's results immediately. If your role changes, your results change with it the next time you search. ## Feedback Search is new, and we're tuning what it finds and how it ranks results. If a search didn't find what you expected, ranked something oddly, or was slow, email [support@delphina.ai](mailto:support@delphina.ai) with: * what you searched for, * what you expected to find, such as a link to the chat or data app, * which filters were on. We read every report, and it directly shapes how search works. # Slack Integration Source: https://docs.delphina.ai/analytics-agent/slack Ask Delphina data questions directly in Slack Tag `@Delphina` in any Slack channel to ask data questions. The agent responds in the thread with answers, tables, and charts — using the same knowledge base and warehouse connections as the web app. ## Getting started 1. Invite Delphina to your channel: `/invite @Delphina` 2. Tag `@Delphina` with your question 3. The agent responds in the thread If the integration isn't installed yet, Slack admins can install it at [analytics.delphina.ai/slack](https://analytics.delphina.ai/slack). ## How it works ```text theme={null} @Delphina what was our revenue last month? ``` Follow-ups work naturally in the thread — no need to re-explain context: ```text theme={null} Break that down by region ``` Charts are rendered and posted as images in the thread. For deeper analysis, every Slack conversation has a corresponding chat in the web app. ## Limits * Text truncated at 4,000 characters (link to full response included) * Tables limited to 100 rows * Only image attachments are processed * Editing a message doesn't re-trigger the agent ## Review channel Admins can configure a review channel where the agent posts a summary of each chat turn — the question, a description of the response, and a link to the full chat. 1. Create a channel (e.g., `#delphina-review`) 2. Invite `@Delphina` 3. Configure in **Org Admin > Slack integration settings** ## Privacy * Responses are visible to everyone in the channel * The agent sees thread messages for context, not broader channel history * DMs with `@Delphina` are visible to your organization in the web app # Workflows Source: https://docs.delphina.ai/analytics-agent/workflows Automate recurring analyses with templates, schedules, and Slack delivery Automate recurring analyses. Define a prompt template with variables, schedule it on a cron, and get results delivered to Slack. ## Creating a workflow 1. Go to **Workflows** in the sidebar. 2. Click **Create Workflow**. 3. Choose a built-in template or start blank. 4. Configure variables and schedule. 5. Save. ## Built-in templates | Template | What it does | | - | - | | **Weekly Business Review** | Key metrics week-over-week with trends and anomalies | | **Anomaly Deep Dive** | Detects, quantifies, and explains anomalies in a metric | | **Bad Data Deep Dive** | Data quality audit — nulls, duplicates, schema drift, freshness | | **Funnel Analysis** | Conversion rates and drop-offs across steps | | **A/B Test** | Statistical significance, effect sizes, confidence intervals | | **Pre/Post Analysis** | Compares metrics before and after an event | ## Custom workflows Define a prompt with variables in YAML frontmatter: ```yaml theme={null} --- variables: region: label: "Region" placeholder: "e.g. North America" notes: label: "Additional Notes" placeholder: "e.g. Focus on enterprise customers" multiline: true --- Analyze sales performance for {{ region }} over the last 30 days. {{ notes }} ``` ## Scheduling and notifications Enable **Schedule** in the workflow editor and set the frequency (daily, weekly, monthly, or custom cron). Enable **Slack Notifications** to deliver results to a channel. ## Proactive agents A proactive agent runs on a schedule and **decides whether to notify you** based on what it finds. Instead of always sending a report, it only notifies when something noteworthy happens. Set notification mode to **Agent Decides** instead of **Always Notify**. ## Publishing By default, a new workflow is only visible to its owner and to Developers (who can see everything). To make a workflow discoverable by Explorers and Viewers in the workspace, toggle the **Publish** icon in the top bar or on the listing page. | Role | What they see on the Workflows listing | | - | - | | **Developer** | All workflows in the workspace | | **Explorer / Viewer** | Their own workflows + published workflows | Publishing controls **discoverability**, not access. Anyone in the workspace can still open a workflow if they have the direct URL — publishing just determines whether it appears in the listing for Explorers and Viewers. ## Managing workflows * **My Workflows** / **All Workflows** / **Starred** — star frequently-used workflows for quick sidebar access. * Each workflow keeps a **run history** with status, trigger type, timestamps, and duration. Click any run to see the full analysis. # Context Factory Source: https://docs.delphina.ai/context-layer How Delphina builds, validates, and maintains the knowledge that makes answers trustworthy Without documented context, the agent has to guess what `amt` means, whether churn includes downgrades, or which ID joins orders to customers. The context layer eliminates that guesswork — it's a versioned knowledge base of your tables, metrics, business rules, and domain knowledge that the agent draws on for every answer. Delphina builds the context layer automatically, validates it continuously, and surfaces gaps for your team to fix: **Sources** feed **Jobs** that build **Knowledge**, **Evaluations** validate it, the **Inbox** surfaces gaps, you fix the knowledge, and the next cycle gets better. ![The Context Factory dashboard showing Sources, Jobs, Knowledge, Evaluations, and the Inbox](https://mintcdn.com/delphina/HZ-dTGWYRP2B4d1f/images/context-layer.png?fit=max\&auto=format\&n=HZ-dTGWYRP2B4d1f\&q=85\&s=d7926459dc25cc0d4b0d76de9e4d7aed) ## Sources Sources are the raw inputs that feed your context layer — database connections, file uploads, and MCP connections: * **Warehouse connections** — Snowflake, BigQuery, Databricks, Redshift, or PostgreSQL with read-only credentials. * **File uploads** — CSVs, spreadsheets, or other reference data uploaded through the UI. * **MCP connections** — External tools and APIs connected via the Model Context Protocol. Manage connections from **Org Admin**. See: [Warehouse Connections](/administration/warehouse-connections) | [MCP Connections](/administration/mcp-connections) ## Jobs Jobs build and keep the context layer up to date. They are started from chat with `/knowledge` prompts — the agent plans the work with you before running it. Past and in-progress runs are listed on the update history page (**View History** on the Sources page). * **Knowledge update** — Detects what changed in your sources, then documents your most important tables, metrics, and business rules. This is what runs during [automated onboarding](/knowledge-agent/onboarding). Start with `/knowledge Plan knowledge updates` — the agent plans a full onboarding if the knowledge base is empty, and scopes to recent source changes otherwise. * **Knowledge validation** — Checks every document against the live warehouse: schema drift, broken metric SQL, broken cross-references, and coverage gaps. Critical findings become issues in the Inbox. Start with `/knowledge Run knowledge validation.` * **Evaluations update** — Generates test cases from your current knowledge base so the system can validate its own accuracy. Start with `/knowledge Create evals`. ## Knowledge Knowledge is the documented context the agent uses to answer questions — descriptions of tables, metrics, business rules, and known data nuances, organized into namespaces. Every edit is versioned for rollback. The agent writes knowledge automatically during onboarding and jobs. Your team edits it with `/knowledge` in chat or directly in the UI. See: [Automated Onboarding](/knowledge-agent/onboarding) | [Maintenance](/knowledge-agent/maintenance) ## Evaluations Evaluations are quality checks that validate agent answers. Delphina auto-generates test cases from your knowledge base, and an LLM judge scores each response against expected results. Run them anytime from **Context Factory > Evaluations** — typically after a knowledge update or periodically (e.g. weekly) — and review results, with failures diagnosed and filed as issues in the Inbox. A background [critic agent](/analytics-agent/critic) also reviews each chat response after it completes, scoring its trustworthiness — the verdict appears as a **Critic** row beneath the answer. See: [Evaluations & Quality](/trust-and-quality/evaluations) ## Inbox When an evaluation fails or a validation run finds a critical problem, it surfaces as an issue in the **Context Factory > Inbox**. From there you can read the failure, open `/knowledge` to fix the documentation, and mark it resolved. Fix the knowledge, re-run evaluations, and the failing test passes. # Delphina MCP Server Source: https://docs.delphina.ai/integrations/delphina-mcp Call Delphina from Claude Code, Claude Desktop/Cowork, Codex, Cursor, and custom MCP clients The Delphina MCP server lets you call Delphina's analytics agent from MCP-compatible clients. Ask data questions directly from your development environment, or integrate Delphina into automated workflows. ## How it works Delphina exposes an MCP server using the Streamable HTTP transport. MCP clients connect to it and gain access to tools for starting chats, sending messages, and retrieving results — the same capabilities available through the web app and Slack. Delphina uses OAuth for MCP authorization when your client supports it. OAuth is preferred because it is usually simpler to set up and more secure: supported clients can handle the browser-based sign-in flow for you, and you do not need to copy or store a long-lived API key in client configuration. If your MCP client does not support OAuth, use API key authorization instead. ## Configure Delphina MCP In Delphina, go to **User Settings > Connect to Delphina MCP**. The page includes setup tabs for **General**, **Claude Code**, **Claude Desktop/Cowork**, **Codex**, and **Cursor**. > [!NOTE] > > If you do not see the **Connect to Delphina MCP** tab, contact your > organization administrator to request access. ### General Use this MCP server URL for any MCP-compatible client: ```txt theme={null} https://app.delphina.ai/api/mcp ``` ### Claude Code We recommend the Delphina plugin for Claude Code. It sets up the MCP server for you, and adds two optional features: a local copy of your knowledge base, and trace capture. To install it: ```bash theme={null} claude plugin marketplace add delphina-ai/claude-plugin claude plugin install delphina@delphina ``` If you ran these from inside Claude Code, run `/reload-plugins`. Then run `/delphina:setup`. It checks your connection, opens a browser to sign in on first use, and asks before turning on either optional feature. Auto-update is off by default for plugin marketplaces other than Anthropic's. To get new Delphina tools as they ship, run `/plugin`, select **Marketplaces**, choose `delphina`, and select **Enable auto-update**. The plugin's [README](https://github.com/delphina-ai/claude-plugin#readme) covers team-wide deployment through managed settings, custom server URLs, and troubleshooting. #### Knowledge sync Ask Claude to "sync the Delphina knowledge base", or just ask about one of your metrics. Claude downloads a read-only snapshot of your workspace's metrics, tables, notes, and rules to `.delphina/knowledge//`, then answers definition questions by reading those files. The folder is git-ignored automatically. A repeat sync transfers nothing if the knowledge base has not changed. Editing the local files does not change anything in Delphina. #### Trace capture Trace capture uploads Claude Code transcripts to your Delphina organization, where they help improve the knowledge base your team's agent uses. They are private to your org. Trace capture is off by default, and it stays off until two things are true: an organization admin has turned on **Org Admin > Trace Capture**, and you have enabled it on your own machine through `/delphina:setup`. Admins can review uploaded sessions under **Org Admin > Traces**. To turn capture off on your machine: ```bash theme={null} printf '{"enabled": false}\n' > ~/.delphina/traces.json ``` #### Without the plugin To add only the MCP server, choose an installation scope under **Connect to Delphina MCP > Claude Code** in Delphina: * **User** (`--scope user`) — available in all projects for the current user. * **Local** (`--scope local`) — available only in the current project directory. Then run the copied command in your terminal: ```bash theme={null} claude mcp add --scope user --transport http delphina https://app.delphina.ai/api/mcp ``` Use `--scope local` instead if you selected **Local**. ### Claude Desktop/Cowork In Claude Desktop/Cowork, go to **Customize > Connectors > Add custom Connector**, then paste the Delphina MCP server URL: ```txt theme={null} https://app.delphina.ai/api/mcp ``` ### Codex Add the Delphina MCP server: ```bash theme={null} codex mcp add delphina --url https://app.delphina.ai/api/mcp ``` Then authenticate Codex with Delphina OAuth: ```bash theme={null} codex mcp login delphina ``` ### Cursor In Delphina, use the **Cursor** tab to open the Cursor install link. If the link does not open Cursor, create or edit `~/.cursor/mcp.json` for global setup or `.cursor/mcp.json` for project setup, then paste this JSON: ```json theme={null} { "mcpServers": { "Delphina": { "url": "https://app.delphina.ai/api/mcp", "headers": {} } } } ``` ## Network allowlists Some MCP hosts restrict which domains the model can fetch from. Claude's web app, for example, only follows links to hosts on its allowlist. Delphina returns short links on `app.delphina.ai` that redirect to a per-customer content host, also under `delphina.ai`, so chat files, CSVs, and chart images download correctly only when the host can reach both. If downloads from Delphina tools are refused, add `*.delphina.ai` to your client's domain allowlist. In Claude, this is under **Settings > Capabilities**; on Team or Enterprise plans an org owner must make the change. ## API key authorization OAuth is preferred because it is usually simpler to set up and more secure than copying a long-lived API key into client configuration. If your MCP client does not support OAuth, go to **User Settings > Connect to Delphina MCP > General**, expand **API Key Authorization**, and copy the **Authorization Header** value. Use that value as the `Authorization` header in your MCP client configuration: ```txt theme={null} Authorization: Bearer YOUR_API_KEY ``` For JSON-based MCP configs, include the header like this: ```json theme={null} { "mcpServers": { "delphina": { "url": "https://app.delphina.ai/api/mcp", "headers": { "Authorization": "Bearer YOUR_API_KEY" } } } } ``` You can also find your API key in **User Settings > API Key** if that tab is enabled for your account. Keep your API key secure — do not commit it to source control. # Welcome to Delphina Source: https://docs.delphina.ai/introduction An AI analytics agent that connects to your data warehouse and answers questions in plain English Delphina is an AI analytics agent that connects to your data warehouse and answers questions in plain English. Ask a question, and get back SQL, numbers, charts, and written analysis — grounded in a [context layer](/context-layer) that builds itself, validates itself, and flags what it doesn't know. ## Get started 1. Sign in at [analytics.delphina.ai](https://analytics.delphina.ai) (an admin must have [connected a warehouse](/administration/warehouse-connections)). 2. Click **New Chat** and ask a question in plain English. ## The foundation: a context layer that builds itself Delphina captures context from your warehouse schemas, query history, and analyst knowledge to create a compiled, canonical knowledge base that agents can trust. Every answer is grounded in shared definitions rather than guesswork. > [card] Ingest > > Reads your warehouse data and query history to build a living map of the data landscape. > [card] Refine > > Systematizes business definitions, metrics, and unwritten rules from your top analysts. > [card] Validate > > Auto-generates evaluations for metric accuracy. Every answer passes through a built-in [critic agent](/analytics-agent/critic) with SQL lineage and org-wide observability. > [card] Evolve > > Autonomously learns and adapts as priorities shift, schemas update, and teams ask new questions. [Learn more about the context layer](/context-layer) | [Set up automated onboarding](/knowledge-agent/onboarding) ## The products your context layer powers > [card] [Analytics Agent](/analytics-agent/overview) > > Natural-language answers with SQL, tables, charts, and analysis — automatically reviewed by a critic agent. > [card] [Data Apps](/analytics-agent/data-apps) > > Interactive dashboards from prompts with context-aware, refreshable KPIs and forecasts. > [card] [Workflows](/analytics-agent/workflows) > > Scheduled analyses and KPI digests that deliver narrative findings via Slack. > [card] [Research Agent](/analytics-agent/research) > > Expert-level investigations that iterate on plans, evaluate hypotheses, and produce written reports. > [card] [Proactive Agents](/analytics-agent/workflows#proactive-agents) > > Always-on agents that flag anomalies, milestones, and insights tied to your interests. > [card] [MCP Server](/integrations/delphina-mcp) > > Point Claude Code, Cursor, or your own agents at Delphina for inherited context and answer quality. ## Where to use Delphina **Web application** — full analysis, visualizations, knowledge management, and workflows at [analytics.delphina.ai](https://analytics.delphina.ai). **Slack** — tag `@Delphina` in any channel. [Set up Slack](/analytics-agent/slack). **MCP clients** — call Delphina from Claude Code, Cursor, or your own agents. [Set up MCP](/integrations/delphina-mcp). # Maintenance Source: https://docs.delphina.ai/knowledge-agent/maintenance Create, update, and maintain knowledge base documents Use `/knowledge` to create and edit documents. The agent structures content consistently, validates SQL, and adds wiki links between related documents. You can also edit documents directly in the knowledge base UI. > [!NOTE] > > `/knowledge` requires the Developer role. Explorers can use the analytics agent but cannot modify the knowledge base. ## Creating documents **Document a table:** ```text theme={null} /knowledge Document the sales.orders table. Revenue = total_amount where status = 'completed'. Always exclude test accounts. ``` The agent creates a document at `sales/table/orders` with schema, relationships, common filters, and usage notes. **Create a metric:** ```text theme={null} /knowledge Create a metric for MRR. MRR = sum of monthly subscription prices for active subscriptions. Exclude trial and test customers. ``` The agent creates a document at `finance/metric/mrr` with the business definition, tested SQL, source tables, and filters. **Create a business rule:** ```text theme={null} /knowledge Document the rule for excluding test data. Test accounts have is_test_account = TRUE or email ending in @company.com. ``` **Create a note:** ```text theme={null} /knowledge Create an overview note for the sales namespace. Covers order transactions, customer relationships, and revenue tracking. ``` ## Providing better context The more context you give, the better the documentation. Compare: ```text theme={null} /knowledge Document the orders table ``` vs: ```text theme={null} /knowledge Document the sales.orders table. Key columns: order_id, customer_id, total_amount, status, order_date. Revenue = total_amount where status = 'completed'. Join to customers on customer_id. Exclude test orders where customer.is_test = true. ``` ## Letting Delphina investigate You don't have to hand the agent a complete definition — ask it to investigate. In a `/knowledge` chat the agent can query your warehouse, mine your query history for how your analysts actually compute things, read uploaded source files under `raw/`, and check documents pulled in from MCP connections, then ground the new documentation in that evidence: ```text theme={null} /knowledge Create a new metric called revenue_by_platform. Investigate how our Looker dashboards compute it in the query history, and check the dashboard definitions uploaded under [[raw/other/looker/]]. ``` Point it at whatever you know: the tables to look at, the users or dashboards whose SQL to trust, the uploaded files to read. The agent reports what it found — the dominant SQL pattern, conflicting definitions across dashboards, edge-case filters — for you to confirm before anything is documented, and validates the final SQL against your warehouse. This works for updates too: ```text theme={null} /knowledge Our finance team says the MRR number looks off. Investigate how MRR is queried in practice — check the query history and our dbt repo from the GitHub connection — and reconcile it with the documented metric. ``` ## Automating maintenance with workflows The same investigation can run on a schedule. Create a [workflow](/analytics-agent/workflows) in **Knowledge** mode and give it a recurring maintenance job. Two patterns work well: **Find gaps from real usage** — periodically compare what people actually ask in chats against what the knowledge base covers: ```text theme={null} Are there gaps in our knowledge base based on what people are actually asking? Look at chat history for this workspace over the last 7 days and compare it against what's documented — tables, metrics, rules, business logic. Group the questions into themes. For each theme, is the agent answering from documented knowledge, or guessing because nothing is there? Flag questions that come up repeatedly and get vague or inconsistent answers. For each real gap — one that recurs and hurts answer quality — create an issue describing it, with a couple of example chats, unless one is already open. Assign it to whoever owns that domain. ``` Turns the [critic agent](/analytics-agent/critic) flagged for missing context are ready-made candidates for this review — the workflow can start from them instead of scanning every chat. **Keep documentation in sync with sources** — check whether the configured knowledge sources changed and propose updates: ```text theme={null} Check changes to our knowledge sources within the past day and update the knowledge base accordingly. If you hit a problem you can't resolve, create an issue and assign it to the knowledge base owner. ``` Start with a modest cadence, e.g. weekly, and let the workflow deliver its findings as issues or a Slack summary rather than acting silently. ## Namespace structure Documents are organized hierarchically: `{domain}/table/{name}`, `{domain}/metric/{name}`, `{domain}/rule/{name}`, `{domain}/note/{name}`. Documents reference each other with wiki links like `[[sales/table/orders]]`. ## Keeping documentation current **Schema changes** — when tables are renamed or columns change: ```text theme={null} /knowledge The orders table was renamed to sales_orders. Update all documents. ``` **Fix incorrect SQL:** ```text theme={null} /knowledge The MRR metric should exclude churned subscriptions. Update the SQL to filter where status != 'churned'. ``` **Update business definitions:** ```text theme={null} /knowledge Enterprise is now ARR >= \$50k (changed from \$100k). Update all metrics. ``` **Validate periodically:** ```text theme={null} /knowledge Validate all metric SQL queries and fix any errors ``` ```text theme={null} /knowledge Check all wiki links and report any broken references ``` **Add new documentation** as your data grows: ```text theme={null} /knowledge Document the new marketing.campaigns and marketing.ad_spend tables ``` For larger additions, configure new sources at **Context Factory > Sources**, then start a knowledge update from chat: ```text theme={null} /knowledge Plan knowledge updates ``` The agent detects what changed, proposes a plan, and builds the documentation in a guided session. See the [Onboarding guide](/knowledge-agent/onboarding). Whichever path you take, the agent shows you what it plans to write before it writes it, and every edit is versioned so you can see what changed and roll it back. # Automated Onboarding Source: https://docs.delphina.ai/knowledge-agent/onboarding Build your knowledge base automatically from your data warehouse Delphina analyzes your warehouse — schemas, query history, expert users' SQL, and uploaded documents — and documents your most important tables, metrics, and business rules automatically. ## Prerequisites * A data warehouse is connected. See [Warehouse Connections](/administration/warehouse-connections). * You have the Developer role. ## Step 1: Configure sources Tell Delphina where to look. Go to **Context Factory > Sources** and configure the raw inputs the agent will use to build your knowledge base. **Tables** — Select which warehouse tables should be in scope. Click **Add from Catalog** to browse your schema and check the tables you want documented, or use **Bulk Edit** to paste table names if you have many. **Query Users** — (Snowflake, BigQuery, and Databricks) Select the users whose query history the agent should analyze. Click **Add from History** to pick from recently active users. Pick your most experienced analysts — the agent learns join patterns, filter conventions, and metric definitions from their SQL. **File Uploads** — Upload reference documents that describe your data: dashboard definitions (LookML, Tableau), dbt project files, data dictionaries, or any other documentation. The agent extracts metric definitions, business rules, and table relationships from these. **MCP Connections** — Pull documentation that lives in external tools (Notion, GitHub, Slack, and others) via the Model Context Protocol. Set a **knowledge pull prompt** on the connection to scope what the agent ingests — for example, "Pull all pages under the Metrics space". See [MCP Connections](/administration/mcp-connections). ## Step 2: Update knowledge Start a new chat and send: ```text theme={null} /knowledge Plan knowledge updates ``` Or, to scope the update to recent source changes: ```text theme={null} /knowledge Plan knowledge updates using sources that were updated in the past day ``` Or steer it explicitly — name the tables, domains, and sources it should use: ```text theme={null} /knowledge Plan knowledge updates for the marketing and finance domains. Onboard analytics.marketing.campaigns, analytics.marketing.ad_spend, and analytics.finance.invoices. Use the LookML files uploaded under raw/looker/ and the "Metric definitions" pages from our Notion MCP connection for metric definitions. ``` The agent figures out the right flow on its own: with an empty knowledge base it plans a full onboarding; with an existing one it checks what changed in your sources and scopes the update to that. In the chat, the agent works through the update with you: 1. **Orients** — it checks what is already in your knowledge base, then compares your warehouse schemas, uploaded files, query configuration, and MCP content against their state at the last update, so it knows what is new or changed. 2. **Proposes a plan** — how many tables, metrics, dimensions, and rules it will document, and from which sources. Review the counts and tell the agent to adjust the scope before it builds. For very large warehouses the agent may suggest onboarding in multiple passes, one domain at a time. 3. **Builds the knowledge** once you confirm — table documentation, metric definitions with tested SQL, and business rules. Progress is visible on the update history page (**View History** on the Sources page) while the build runs; open a run to see per-step detail. Larger warehouses take a while — you can leave the chat and come back. ## Step 3: Validate knowledge Knowledge updates validate what they build as they go, but before creating evaluations it is worth running a standalone validation pass over the whole knowledge base — and you can re-run it anytime, not just during onboarding. Start a new chat and send: ```text theme={null} /knowledge Run knowledge validation ``` This checks every document against the live warehouse — schema drift, broken metric SQL, broken cross-references, contradictory definitions, and coverage gaps. Knowledge stays read-only during validation: the agent reports what it finds in the chat without changing anything. To have critical findings filed as issues in **Context Factory > Inbox** — each with a suggested fix — ask for it: ```text theme={null} /knowledge Run knowledge validation and open issues for critical findings ``` You can then fix the findings with Delphina: open an issue and ask it to investigate from the issue page, or remediate several at once from a `/knowledge` chat: ```text theme={null} /knowledge Investigate the open issues from the latest validation — schema drift and broken metric SQL — fix the ones you are highly confident about, and leave the ones that need a decision from our knowledge captains open, with a note on what needs deciding. ``` ## Step 4: Create evaluations Start a new chat and send: ```text theme={null} /knowledge Create evals ``` This also starts a guided session: the agent plans a set of test cases from the knowledge it just built — questions paired with expected SQL and acceptance criteria — and builds them once the plan looks right. When adding to an existing suite, scope the prompt to what's new: ```text theme={null} /knowledge Create ~15 new eval cases for the newly onboarded marketing knowledge ``` Review the candidate evaluations with your team. These validate that the agent answers questions consistently with your documented definitions. See [Evaluations & Quality](/trust-and-quality/evaluations). ## Step 5: Run an evaluation Go to **Context Factory > Evaluations** and click **New Run**. All test cases are selected by default (a full run) — narrow the selection to specific cases or domains for a quicker partial run. The run page shows live progress: each case gets a pass/fail verdict with the judge's explanation, and failed cases are analyzed automatically and land as issues in **Context Factory > Inbox**. See [Evaluations & Quality](/trust-and-quality/evaluations) for reviewing results and fixing failures. ## After onboarding The agent immediately starts using your documented metrics, rules, and tables. * Use `/knowledge` in chat for ongoing refinement as schemas change. See [Maintenance](/knowledge-agent/maintenance). * Re-run the update prompt from Step 2 when expanding to a new domain or after updating sources. The Sources page shows a **Sources changed since last update** banner when Delphina detects drift, and the agent scopes the update to what changed. * Re-run the validation prompt from Step 3 periodically, or after big warehouse changes. * Re-run your evaluation suite after knowledge changes to catch regressions. # Acceptable Use Policy Source: https://docs.delphina.ai/legal/acceptable-use-policy Restrictions on use of Delphina's services **Effective:** May 29, 2026 This Acceptable Use Policy ("**AUP**") sets forth certain restrictions relating to the access to, and use of, the Services by Customer or someone on Customer's behalf under Customer's agreement with Delphina Inc. ("**Delphina**") applicable to the Services ("**Agreement**"). The restrictions set forth in this AUP are not exhaustive. Any capitalized terms used but not defined herein shall have the meaning set forth in the Agreement. Any violation of this AUP may result in the suspension or termination of Customer's access to and use of the Delphina Services. ## Prohibited uses **Customer shall not (and shall not permit its authorized users to):** a. attempt to access, search, or create accounts for any of Delphina's services by any means other than Delphina's publicly supported interfaces or as otherwise authorized by Delphina; b. use the Delphina Services to violate the security or integrity of, or otherwise abuse, any system of any party (including without limitation the Services), including but not limited to gaining unauthorized access to any system (including attempting to probe, scan, monitor, or test the vulnerability of a system), forging any headers or other parts of any message describing its origin or routing, interfering with the proper functioning of any system (including any deliberate attempt by any means to maliciously overload a system), implementing denial-of-service attacks, operating non-permissioned network services (including open proxies, mail relays or recursive domain name servers), using any means to bypass system usage limitations, or storing, transmitting or installing malicious code; c. use the Services to distribute or facilitate the sending of unsolicited or unlawful (i) email or other messages, or (ii) promotions of any kind; d. use the Services to engage in or promote any other fraudulent, deceptive or illegal activities, including accessing or using the Services from any country or territory subject to a U.S. government embargo or designated as a state sponsor of terrorism; e. use the Services to generate, store, distribute, or facilitate: (i) content that constitutes or facilitates child sexual abuse material (CSAM) or the exploitation of minors in any way; (ii) non-consensual intimate imagery or deepfake content of real individuals; (iii) content designed to harass, bully, threaten, or intimidate any individual; or (iv) content that is defamatory, harmful, or deceptive; f. use the Services to process, store or transmit material, including any Customer Data, in violation of any law or any third party rights, including without limitation privacy rights; g. use any automated tool, script, or third-party agent to scrape, extract, or systematically collect data from the Services or any content accessible through the Services, except where such access is authorized by an authorized user and conducted through the Services' APIs or Customer's authorized integrations; h. disclose to any third party (1) the results of any testing or benchmarking of the Services that Customer might conduct or (2) the results of any other performance-related statistics pertaining to the Services unless preapproved by Delphina in writing (except to a contractor bound to maintain the confidentiality of such information and solely for the purposes of supporting Customer's use of the Services); i. use the Services to make or materially support decisions with legal or similarly significant effects on individuals, including decisions relating to employment, finance, healthcare, housing, insurance, education, criminal justice, or eligibility for public benefits, without appropriate human review and oversight, or otherwise use the Services for practices prohibited under applicable law, including, to the extent applicable, the EU Artificial Intelligence Act; j. use the Services to generate individualized legal, medical, financial, or other professional advice unless reviewed by a qualified professional before use or delivery; k. use the Services to predict, infer, or categorize individuals based on protected characteristics or sensitive attributes, except where permitted by law and used for fraud prevention, security, compliance, or bias testing; l. use the Services, outputs, or interactions with the Services to develop, train, fine-tune, test, or improve any product, model, or service that competes with Delphina, or to copy, replicate, or reverse-engineer any feature, function, or user interface of the Services; or resell, sublicense, or commercially redistribute access to the Services or any outputs to third parties, except as expressly permitted under the Agreement; m. use the Services in a manner that violates any applicable third-party AI provider policy or model provider terms; misrepresent the origin of any AI-generated output by claiming or implying it was created by a human; or remove any markings automatically applied to indicate content was AI-generated; n. disable, evade, disrupt, or interfere with any content filters or safety systems that are part of the Services; o. authorize agents, automated workflows, or third-party integrations to access or act through the Services without appropriate permissions, monitoring, and safeguards. Customer is responsible for all actions taken through such agents, workflows, or integrations; and p. engage in abusive, threatening, harassing, or intimidating conduct directed at Delphina personnel, whether through support channels, social media, email, or any other medium. ## Disclosure of AI to end users When Customer deploys the Services in a product or service made available to end users, Customer must appropriately disclose to those end users the role of artificial intelligence in generating any outputs they receive, to the extent required by applicable law. ## Sensitive and regulated data The Services are not designed for use with sensitive, restricted, or regulated data categories as may be defined in the Agreement or applicable law. Customer is solely responsible for understanding and applying any laws, regulations, and industry standards applicable to Customer's data when using the Services. ## Related documents * [Terms of Service](/legal/terms-of-service) — the master agreement that incorporates this AUP. * [Data Processing Addendum](/legal/data-processing-addendum) — how Delphina processes Customer Data. * [Sub-Processors](/legal/sub-processors) — third parties Delphina engages to deliver the Services. # Data Processing Addendum Source: https://docs.delphina.ai/legal/data-processing-addendum How Delphina processes customer personal data on behalf of Customer **Effective:** May 29, 2026 This Data Processing Addendum ("**Addendum**") is entered into between the customer that accepts or is otherwise bound by the Agreement ("**Customer**") and Delphina Inc. ("**Service Provider**") (each, a "**Party**" and collectively, the "**Parties**"). This Addendum forms part of and is incorporated into the Agreement (defined below), and is effective upon Customer's acceptance of the Agreement, unless separately executed by the parties. Capitalized terms not otherwise defined herein have the meanings given to them under applicable Data Protection Laws or the Agreement (as may be applicable). ## 1. Definitions **"Agreement"** means the Delphina [Terms of Service](/legal/terms-of-service), any applicable order form, statement of work, subscription, online checkout, or other written or online agreement between Customer and Delphina governing Customer's use of the Services, in each case as updated from time to time and to the extent such agreement incorporates this Addendum. **"Customer Data"** means any and all Personal Data and Customer's Confidential Information (as defined in the Agreement) that Service Provider Processes on behalf of Customer in the course of providing the Services. **"Controller"** means the entity that determines the purposes and means of the Processing of Personal Data. This definition includes the term "business" under the CCPA and any other similar term used in Data Protection Laws. **"Data Subject,"** means an identified or identifiable natural person. This definition includes the term "consumer" as used in the CCPA and Other U.S. State Privacy Laws. **"Processor"** means an entity that Processes Personal Data on behalf of the Controller. This definition includes the term "service provider" as used in Data Protection Laws. **"Data Protection Laws"** means all applicable state or regional, national, and international laws, orders, regulations, and regulatory guidance now or in the future relating to information security, privacy and data protection applicable to the Processing of Customer Data by Service Provider under the Agreement including without limitation where applicable: (a) the California Consumer Privacy Act of 2018, as amended by the California Privacy Rights Act of 2020 ("**CCPA**") and (b) the Colorado Privacy Act, the Connecticut Data Privacy Act, the Oregon Consumer Privacy Act, the Texas Data Privacy and Security Act, the Utah Consumer Privacy Act, the Virginia Consumer Data Protection Act, and other similar comprehensive state privacy laws that are or may become applicable to Service Provider's Processing of Customer Data (collectively, "**Other U.S. State Privacy Laws**"); in each case, as may be amended, superseded, repealed, consolidated, or replaced, and including any implementing regulations thereunder. **"Security Incident"** means any act or omission that compromises the security, confidentiality, or integrity of Customer Data, including any unauthorized Processing of, unauthorized disclosure of, or unauthorized access to Customer Data, or the compromise of any information technology systems used to Process Customer Data. For clarity, a Security Incident does not include unsuccessful login attempts, pings, port scans, denial-of-service attacks, or other network attacks that do not result in unauthorized access to or compromise of Customer Data, or incidents caused by Customer's acts or omissions, including Customer misconfiguration, unauthorized sharing of credentials, or third-party integrations enabled by Customer. **"Personal Data"** means information that identifies, relates to, describes, is reasonably capable of being associated with, or could reasonably be linked, directly or indirectly, with a particular Data Subject or household. This definition includes the terms "personal information" and "personally identifiable information" as used in Data Protection Laws. **"Process", "Processes", or "Processing"** means any operation or set of operations which is performed upon Customer Data, whether or not by automatic means, such as collection, recording, organization, structuring, storage, adaptation or alteration, retrieval, consultation, use, disclosure by transmission, dissemination or otherwise making available, alignment or combination, restriction, erasure, or destruction. This definition includes the term "Process", "Processes", or "Processing" as may otherwise be defined by applicable Data Protection Laws. **"Services"** is defined in the Agreement or otherwise means the services to be provided by Service Provider to Customer under the Agreement. **"Sub-Processor"** means a third-party subcontractor engaged by Service Provider which, as part of Service Provider's role of delivering the Services, will Process Personal Data of Customer. ## 2. Scope and Applicability This Addendum applies to the Processing of Customer Data, including Personal Data, by Service Provider on behalf of Customer pursuant to the Agreement. For the purposes of this Addendum, with respect to any Personal Data, as between Service Provider and Customer, Customer is the Controller and Service Provider is the Processor. As between Customer and Service Provider, all Customer Data is owned by Customer; nothing in the Addendum shall confer any rights or ownership in such information to Service Provider. The nature and purposes of Processing of Customer Data, duration of the Processing, categories of Personal Data processed by Service Provider pursuant to the Agreement, and other details of the Processing are set forth in **Annex 1**. The Parties acknowledge and agree that Customer has no knowledge or reason to believe that Service Provider is unable to comply with the provision of this Addendum. ## 3. Service Provider's Obligations Service Provider shall: a. only Process Customer Data in accordance with the instructions provided by Customer and only to the extent necessary to perform the Services and its obligations under the Agreement; b. not retain, use, disclose, de-identify, aggregate, or otherwise Process any Customer Data (i) in any manner that is not explicitly permitted in this Addendum or the Agreement and fully compliant with all Data Protection Laws, or (ii) for any purposes, including any business or commercial purposes, other than those set forth in the Agreement or as permitted by applicable Data Protection Laws. If Service Provider de-identifies Personal Data or receives de-identified data from Customer, Service Provider shall (1) take reasonable measures to ensure that the de-identified data cannot be re-identified or otherwise associated with a particular Data Subject or household, and (2) publicly commit to maintain and use the data in de-identified form and not attempt, or permit any third party to attempt, to re-identify the information; c. comply with all Data Protection Laws, including by providing the same level of privacy protection for Customer Data as required by such laws; d. at Customer's request at any time during the term, provide Customer with a complete copy of or full access to any and all Customer Data that Service Provider is Processing on behalf of Customer; e. immediately notify Customer if it makes a determination that it can no longer meet its obligations under Data Protection Laws, the Agreement, or this Addendum; f. grant Customer the right, upon notice, to take reasonable steps to stop and remediate any unauthorized use of Personal Data; g. not sell (for monetary or other valuable consideration), including however a "sale" may be defined by Data Protection Laws, or "share" (as that term is defined by the CCPA), or otherwise Process for "targeted advertising" purposes (as that phrase is defined by Data Protection Laws), any Customer Data; h. not retain, use, or disclose Customer Data outside of the direct business relationship between Service Provider and Customer, except as permitted by Data Protection Laws; and i. not combine any Personal Data Processed on behalf of Customer with Personal Data that the Service Provider receives from, or on behalf of, another person or business, or that Service Provider collects from its own interactions with the Data Subject outside the business purposes set forth in the Agreement and its direct business relationship with Customer. ## 4. Service Provider Personnel Service Provider shall preserve and protect the confidentiality of the Customer Data, including by ensuring that access to Customer Data is limited to those employees and contractors of Service Provider ("**Personnel**") who have a need to know or need to access Customer Data to enable Service Provider to perform its obligations under the Agreement. Service Provider shall ensure that its Personnel engaged in the Processing of Personal Data are informed of the confidential nature of the Customer Data, have received appropriate training on their responsibilities, and are subject to appropriate non-use and non-disclosure obligations (whether statutory or contractual) no less restrictive than those contained in this Addendum that survive the termination of the Personnel's engagement with Service Provider. Service Provider has appointed, where required by applicable Data Protection Laws, a data protection officer who meets the requirements under such laws for the performance of their duties. ## 5. Security Service Provider shall implement and maintain appropriate technical and organizational measures to ensure a level of security of Customer Data appropriate to the risk, including at minimum the security measures set forth in **Annex 2** to this Addendum, which is incorporated herein by reference. ## 6. Sub-Processors Service Provider may engage Sub-Processors in connection with the provision of Services, provided that (i) a list of current Sub-Processors is maintained in Annex 3, (ii) a Sub-Processor must be bound by a written agreement that contains substantially similar obligations as those contained in this Addendum and as required by Data Protection Laws and (iii) Service Provider shall notify Customer in writing of any proposed new sub-processor at least 30 days prior to such sub-processor processing any Customer Data. If Customer reasonably objects to a new Sub-Processor in writing within fourteen (14) days of notification, Service Provider shall use commercially reasonable efforts to make available an alternative solution or otherwise address Customer's concerns. Service Provider's list of currently approved Sub-Processors is set forth in **Annex 3** to this Addendum. In connection with any Sub-Processor's Processing of Customer Data, Service Provider shall be liable for any noncompliance by any Sub-Processor with the obligations under the Agreement, this Addendum, or applicable Data Protection Laws. ## 7. Security Incident Service Provider shall: (a) provide Customer with the name and contact information for an employee of Service Provider who will serve as Customer's primary security contact; and (b) notify Customer of any Security Incident that occurs as soon as practicable, but no later than seventy-two (72) hours after Service Provider becomes aware of the Security Incident. Immediately following Service Provider's notification to Customer of a Security Incident, the Parties shall coordinate with each other to investigate the Security Incident. Service Provider agrees to reasonably cooperate with Customer in Customer's handling of the matter, including, without limitation assisting with any investigation and making available all relevant records, logs, files, data reporting and other materials required to comply with applicable law, regulation, industry standards or as otherwise required by Customer. Service Provider shall promptly use best efforts to remedy any Security Incident and prevent any further Security Incident, at Service Provider's sole cost and expense, except to the extent that the Security Incident was caused by Customer's actions, omissions, or breach of the Agreement. Service Provider shall not inform any third party of any Security Incident without first notifying Customer, other than to inform a complainant that the matter has been forwarded to Customer's legal counsel. Service Provider will reasonably cooperate with Customer in any litigation or other formal action deemed necessary by Customer to protect or enforce its rights with respect to the Customer Data. ## 8. Data Subject Requests Service Provider shall notify Customer within five (5) business days of receipt of a request from a Data Subject for information, access to, correction, amendment, deletion, erasure, portability, restriction of Processing of that person's Personal Data included in the Customer Data, withdrawal of consent to Processing, or other request pursuant to any Data Protection Laws (each a "**DSR**"). Service Provider shall not respond to any DSR without first notifying and obtaining Customer's prior written consent, except to confirm that the request relates to Customer and has been forwarded to Customer for review and response. Service Provider shall provide reasonable cooperation, assistance, and information to Customer for the purposes of responding to and resolving any DSR, queries, complaints, or other correspondence from any Data Subject, including by amending, updating, supplementing, returning, or deleting any Personal Data as soon as reasonably practicable according to Customer's instructions. ## 9. Compliance Cooperation Service Provider will promptly refer to Customer any inquiries received by Service Provider regarding the information security or privacy practices of Customer, including with respect to Service Provider's handling of Customer Data. Service Provider will cooperate with Customer in compiling necessary records of Processing activities with regard to Customer Data being Processed pursuant to the Agreement. Service Provider shall: (a) maintain a record in writing of all categories of Processing carried out on behalf of Customer as required by law and make such records available to Customer upon request from Customer or a relevant data protection authority or regulator ("**Data Protection Authority**"); (b) inform Customer without undue delay of any actions or measures taken by a Data Protection Authority or any other authority with respect to the Processing of Customer Data and make every effort to support Customer insofar as Customer is subject to an inspection by a Data Protection Authority, an administrative or criminal procedure, a claim by a Data Subject, or any other claim in connection with the Processing of Customer Data by Service Provider; and (c) assist Customer with the compilation of any data protection impact assessment or with consultation of the relevant Data Protection Authority where legally required. Service Provider will not disclose Customer Data to any third parties, including any Data Protection Authority, unless Service Provider is specifically authorized to do so in writing by Customer, the Agreement, or this Addendum, or as otherwise required by Data Protection Laws. If Service Provider is required by Data Protection Laws to disclose Customer Data to a third party, Service Provider shall provide notice to Customer of the legal requirement and allow Customer an opportunity to object or challenge the requirement, to the extent such notice is permitted by law. ## 10. Audit Rights Customer (or a third party acting at its direction) shall have the right upon reasonable advance notice to Service Provider and during normal business hours to assess or audit Service Provider's compliance with the Agreement, this Addendum, or Data Protection Laws, provided that Service Provider may satisfy such audit request by making available relevant security documentation, certifications, audit reports, security questionnaires, or other written responses sufficient to verify Service Provider's compliance with this Addendum. Any onsite, technical, or systems-level audit will be conducted only to the extent required by applicable Data Protection Laws or following a Security Incident, and must be subject to reasonable confidentiality, security, scope, timing, and access restrictions mutually agreed by the Parties. ## 11. Equitable Relief Service Provider acknowledges that any breach of its covenants or obligations set forth in this Addendum may cause Customer irreparable harm for which monetary damages would not be adequate compensation and agrees that, in the event of such breach or threatened breach, Customer is entitled to seek equitable relief, including a restraining order, injunctive relief, specific performance and any other relief that may be available from any court, without the necessity of posting a bond, in addition to any other remedy to which Customer may be entitled at law or in equity. Such remedies shall not be deemed to be exclusive but shall be in addition to all other remedies available at law or in equity, subject to any express exclusions or limitations in the Agreement to the contrary. ## 12. Material Breach Service Provider's failure to comply with any of the provisions of this Addendum is a material breach of the Agreement. In such event, Customer may terminate the Agreement effective immediately upon written notice to the Service Provider without further liability or obligation to Customer. ## 13. Return or Disposal of Data Upon Customer's request, and in any event upon termination or expiration of the Agreement for any reason, Service Provider will return or delete and destroy (at Customer's choice), and will direct all Personnel and Sub-Processors to return or delete and destroy (at Customer's choice), all Customer Data (including any copies) in its (and their) possession or control, including in accordance with the Agreement. ## 14. Indemnification Service Provider hereby agrees to indemnify, defend, and hold harmless Customer and its affiliates, and any of their respective officers, directors, employees, representatives, and agents from and against any and all claims, causes of action, liabilities, damages, losses, costs and expenses (including reasonable attorneys' fees and legal costs, which shall be reimbursed as incurred) arising from gross negligence or willful misconduct of Service Provider, or any Security Incident. ## 15. Liability The parties agree that any liability arising under this Addendum, including for Security Incidents, is subject to the limitations and exclusions of liability set forth in the Agreement, except to the extent prohibited by applicable law. ## 16. Miscellaneous Notwithstanding anything to the contrary in the Agreement, in the event and to the extent that the terms of this Addendum conflict with any of the terms of the Agreement, this Addendum supersedes the Agreement and controls solely with respect to the Processing of Personal Data and Customer Data under applicable Data Protection Laws. In the event of any conflict or inconsistency between the body of this Addendum and any contractual clauses entered into pursuant to Data Protection Laws (e.g., the EU SCCs), such legally-required clauses shall control, unless this Addendum prescribes or requires conduct that is more protective of Data Subjects or Customer. Service Provider's obligations under this Addendum shall survive the termination of the Agreement and the completion of all services subject thereto. Service Provider may update this Addendum from time to time as described in the Agreement or as necessary to comply with applicable law. ## Annex 1 — Details of Processing ### A. List of Parties **Data Exporter** * **Name:** Customer, as identified in the Agreement or applicable order form/account. * **Address:** As provided by Customer. * **Contact Person's Name, Email, Position:** As provided by Customer. * **Role (controller/processor):** Controller **Data Importer** * **Name:** Delphina Inc. * **Address:** 74 Banks Street, San Francisco, CA 94110 * **Contact Person's Name, Email, Position:** Jeremy Hermann, [jeremy@delphina.ai](mailto:jeremy@delphina.ai), CEO * **Role (controller/processor):** Processor ### B. Nature and Purpose of the Processing **1. Categories of data subjects whose Personal Data is processed** Employees, consultants, agents, contractors, or users of Customer whose Personal Data is disclosed with Service Provider. **2. Categories of Personal Data processed** With respect to employees, consultants, agents, or contractors of Customer: Name, email address, phone number, job title, account settings, IP address, and other business contact information. Information on the Customer's users may also be processed subject to the discretion of the customer. **3. The frequency of the transfer (e.g., whether the data is transferred on a one-off or continuous basis)** Continuous. **4. Nature of the processing** Service Provider provides an AI-powered analytics platform that connects to Customer's data sources to perform automated data discovery, preparation, and predictive analytics. Processing includes the ingestion, transformation, and analysis of Customer Data for the purpose of generating insights, forecasts, and other analytical outputs in support of Customer's business operations. **5. Purpose(s) of the data transfer and further processing** To provide the Services pursuant to the Agreement. **6. The period for which the Personal Data will be retained, or, if that is not possible, the criteria used to determine that period** The Processing will continue until the date which is the earlier to occur of: (a) the expiration or termination of the Agreement, or (b) the date that Processor retains any Personal Data related to the Agreement in its possession or control. **7. For transfers to (sub-) processors, also specify subject matter, nature and duration of the processing.** The subject matter of the Processing of Personal Data are set out in the Agreement and this Addendum. **8. The duration of the Processing activities** Shall be for the term set forth in the Agreement. The purpose of the Processing of Personal Data by Service Provider is the performance of the Services pursuant to the Agreement. **9. Special Categories of Data (if applicable)** Customer shall not submit Special Categories of Data, protected health information subject to HIPAA, or other sensitive Personal Data to the Services unless expressly agreed by Service Provider in writing, including under a business associate agreement where required. ## Annex 2 — Data Security Measures This Annex forms part of the Addendum. Service Provider will comply with the information security requirements set forth in this Annex. ### General approach Service Provider employs a combination of policies, procedures, guidelines, and technical and physical controls that are kept up to date at levels that are at least equivalent to those that are generally accepted industry standards employed by other service providers of Service Provider's peer group to protect the Customer Data it processes from accidental loss and unauthorized access, disclosure, or destruction. Service Provider shall review and update such policies and standards no less frequently than annually. ### Governance and policies Service Provider assigns personnel with responsibility for the determination, review and implementation of security policies and measures. Service Provider: * has documented the security measures it has implemented in a security policy and/or other relevant guidelines and documents; * reviews its security measures and policies on a regular basis to ensure they continue to be appropriate for the data being protected. Service Provider establishes and follows secure configurations for systems and software and ensures that security measures are considered during project initiation and the development of new IT systems. ### Breach response Service Provider has a breach response plan that has been developed to address data breach events. The plan is regularly tested and updated at least annually. ### Intrusion, anti-virus, and anti-malware defences Service Provider IT systems used to process Customer Data have appropriate data security software installed on them, including: * regular, and no less frequent than annual penetration testing; * regular, and no less frequent than quarterly vulnerability scanning; * daily collection, and maintenance, review and audit, of event logs, and retention of such audit logs for a minimum period of six (6) months; * use of appropriate firewall technologies to protect servers where Customer Data is stored, where such firewalls only have necessary services and ports open to the server; * use of appropriate intrusion detection and/or prevention systems; * deployment of current anti-malware software on all servers and workstations, and such anti-malware software is kept current with the most recent updates and patches; * deployment of data loss prevention tools at network and host level. Service Provider implements an active threat monitoring program and shall utilize antivirus programs that are capable of detecting, removing, and protecting against all known types of malicious or unauthorized software with antivirus signature updates at least every twenty-four (24) hours. ### Access controls Service Provider limits access to Customer Data by implementing appropriate access controls, including: * limiting administrative access privileges and use of administrative accounts; * changing all default passwords before deploying operating systems, assets or applications; * requiring authentication and authorization to gain access to IT systems (i.e. require users to enter a user id and password before they are permitted access to IT systems); * ensuring that personnel with access to Customer Data have an individual and unique account that authenticates that individual's access to the data which is different from the individual's standard, corporate assigned network account; * only permitting user access to Customer Data which the user needs to access for his/her job role or the purpose they are given access to Service Provider's IT systems for (i.e., Service Provider implements measures to ensure least privilege access to IT systems); * having in place appropriate procedures for controlling the allocation and revocation of Customer Data access rights, including appropriate procedures for revoking employee access to IT systems within twenty-four (24) hours of the end of the employee's need to access such systems, when they leave their job or change role, and following termination of the Agreement; * incorporation of appropriate segregation of duties in access rights management procedures (e.g., users cannot change their own privileges or approve their own requests); * enforcing the use of strong passwords with over eight characters and that include three of the following requirements: upper case letters, lower case letters, numbers and special characters; * use of multi-factor authentication when providing remote access to Service Provider's systems or Customer Data; * all Service Provider and Customer account passwords shall be hashed with strong cryptographic hash functions (e.g., SHA-256, SHA-3, etc.) and Service Provider shall not use deprecated functions (e.g., MD5, SHA-1, etc.). Each user's password shall be hashed with a different salt, and Service Provider shall not reuse the same salt in multiple hashes or use short salts. Salts must be at least the same size as the output of the hash function (e.g., the output of SHA256 is 256 bits (32 bytes), so the salt should be at least 32 random bytes); * automatic timeout and locking of user terminals if left idle; * access to IT system is blocked after multiple failed attempts to enter correct authentication and/or authorization details; * monitoring and logging access to IT systems; * monitoring and logging amendments to data or files on IT systems; * deployment of a written process regarding: * the addition of Customer users' access to Customer Data processed by Service Provider; * the deletion of IDs of Customer users who are no longer Customer employees or who no longer require access to Customer Data processed by Service Provider; * provision of reports detailing additions and deletions of Customer users upon request. Service Provider shall have the capability to provide these reports on a more frequent basis at the request of the Customer. If the Service being provided by Service Provider is on a web server, Service Provider shall ensure that only digitally signed ActiveX Control Files and only digitally signed Java Applets may be downloaded to the client's IE web browser. If Service Provider undergoes an inspection by appropriately qualified security auditors to produce security accreditation (such as ISO 27001 or SOC II) reports, such audit report shall be provided to Customer within three (3) months upon the completion of every year's Services by Service Provider to Customer. ### Availability and back-up of Customer Data Service Provider has a documented disaster recovery plan that ensures that key systems and data can be restored in a timely manner in the event of a physical or technical incident. The plan is regularly tested and updated at least annually. At the Customer's request, Service Provider will provide results of the most recent disaster recovery test (either by providing a copy or through online presentation by Service Provider). Service Provider regularly backs up information on IT systems, and such back-ups are made at least once a week. Service Provider keeps back-ups in separate locations. Back-ups of information are tested periodically, and at least annually. Back-ups are protected from compromise to allow successful restoration in the event the main back-ups are corrupted. Service Provider ensures that there is a level of redundancy in its systems required to ensure the continued ability to provide access to Customer Data, deliver the Service and meet any agreed service level agreements. Such measures include the following: mirroring of hard disks, e.g., RAID technology; uninterruptible power supply (UPS); remote storage; anti-virus/firewall systems. ### Segmentation of Customer Data Service Provider: * stores Customer Data on backend database servers that are physically or logically separate from the web server. The web server and backend database server shall be separated by a firewall that allows only authorized traffic to pass back and forth between the web server and the backend database server; * separates and limits access between network components and, where appropriate, implements measures to provide for separate processing (storage, amendment, deletion, transmission) of Customer Data collected and used for different purposes; * does not use live data for testing its systems. ### Disposal of IT equipment Service Provider: * has in place processes to securely remove all Customer Data before disposing of IT systems; * uses appropriate technology to purge equipment of data and/or destroy hard disks. ### Encryption Service Provider uses encryption technology where appropriate to protect Customer Data held electronically, including: * encryption of data at rest and in transit using appropriate, up-to-date and secure encryption technology; * encryption of portable devices used to process Customer Data using 128-bit or higher encryption. Encryption keys are stored separately from the encrypted information, and are subject to appropriate, up to date and secure security measures. ### Transmission or transport of Customer Data Appropriate controls are implemented by Service Provider to secure Customer Data during transmission or transit, including: * use of VPNs; * encryption in transit; * logging Customer Data when transmitted electronically; * logging Customer Data when transported physically; * ensuring physical security for Customer Data when transported on portable electronic devices or in paper form. ### Device hardening Service Provider removes unused software and services from devices used to process Customer Data. Service Provider ensures that default passwords that are provided by hardware and software producers are not used. ### Asset and software management Service Provider maintains an inventory of IT assets and the data stored on them, together with a list of owners of the relevant IT assets. Service Provider: * documents and implements rules for acceptable use of IT assets; * requires network level authentication and uses client certificates and network access controls to validate and authenticate systems; * deploys automated patch management tools and software update tools for operating systems and software; * proactively monitors software vulnerabilities and promptly implements any out of cycle patches; * permits the use of only the latest versions of fully supported web browsers and email clients; * does not allow local administrator rights to end users, restricting such rights to IT support staff only. Service Provider stores all API keys securely, including as follows: * Service Provider stores API keys directly in its environment variables; * Service Provider does not store API keys on client side; * Service Provider does not publish API key credentials in online code repositories (whether private or not); and * Service Provider uses API key management tools to retrieve and manage credentials for large development projects. ### Physical security Service Provider implements physical security measures to safeguard Customer Data, including deployment and enforcement of appropriate policies to ensure that: * Customer Data is printed only where this is necessary for a person to perform his/her job role. * Sensitive Customer Data or large amounts of Customer Data held in hardcopy are kept securely e.g., in locked rooms or filing cabinet. Generally, steps are taken to ensure that access to hardcopy Customer Data is limited in the same way it would be on an electronic IT system i.e., access is limited to those individuals where it is necessary for them to have access in order for them to perform their job role. * Hardcopy documents containing Customer Data are only taken off site where necessary for a person's job role. * When travelling or working away from the office, hard copy documents and portable devices containing Customer Data are kept secure e.g., never left in a car or unsecured in a public place. * Paper records which contain confidential information (including Customer Data and sensitive personal data) are shredded after use. ### Staff training and awareness Service Provider's agreements with staff and contractors and employee handbooks set out its personnel's responsibilities in relation to information security. Service Provider carries out: * regular (and at least annual) staff training on data security and privacy issues relevant to their job role and ensures that new starters receive appropriate training before they start their role (as part of the on boarding procedures); * appropriate screening and background checks on individuals that have access to sensitive Customer Data; * regular (and at least annual) social engineering/phishing testing of staff. Service Provider ensures that information security responsibilities that are applicable immediately before termination or change of employment and those which apply after termination/change of employment are communicated and implemented. Staff are subject to disciplinary measures for breaches of Service Provider's policies and procedures relating to data privacy and security. Service Provider: * maintains a record of all individuals that have access to Customer Data, as well as evidence of their training, and shall make such records and information available to the Customer on request; * conducts background checks, to the extent permitted under applicable law, on any of its personnel prior to assigning them to positions in which they will have access to Customer Data. ### Selection of service providers and commission of services Service Provider assesses service providers' ability to meet their security requirements before engaging them. Service Provider has written contracts in place with service providers which require them to implement appropriate security measures to protect the Customer Data they have access to and limit the use of Customer Data in accordance with Service Provider's instructions. Service Provider conducts audits of vendors (including Sub-Processors) that have access to Service Provider's data at least annually either through physical inspection by appropriately qualified security auditors or by reviewing vendors' security accreditation (such as ISO 27001 or SOC II) reports. Service Provider's breach response protocol and agreements with vendors provide for the audit of vendors (and Sub-Processors) following receipt of any notice of a security incident from that vendor. ## Annex 3 — Sub-Processors List This Annex forms part of the Addendum. Customer approves the engagement of the Sub-Processors set forth in Delphina's published Sub-Processors list, available at [https://docs.delphina.ai/legal/sub-processors](/legal/sub-processors), which is incorporated herein by reference. Delphina will update that list as Sub-Processors are added or removed in accordance with Section 6 (Sub-Processors). # Legal Source: https://docs.delphina.ai/legal/overview Delphina's legal agreements, policies, and terms The agreements, policies, and notices governing your use of Delphina's products, services, and website. ## Customer and user agreements > [card] [Terms of Service](/legal/terms-of-service) > > The master agreement governing customer use of Delphina's products and services. > [card] [Acceptable Use Policy](/legal/acceptable-use-policy) > > Rules and restrictions that apply to all use of Delphina's services. ## Data and security > [card] [Data Processing Addendum](/legal/data-processing-addendum) > > How Delphina processes and protects customer personal data, including GDPR and CCPA obligations. > [card] [Sub-Processors](/legal/sub-processors) > > Third parties Delphina engages to help deliver the Services. > [card] [Security](/security) > > Delphina's security controls, certifications, and deployment options. ## Website > [card] [Privacy Policy](/legal/privacy-policy) > > How we collect, use, and share personal information across Delphina's website and services, including our use of cookies and similar technologies. > [card] [Terms of Use](/legal/terms-of-use) > > The terms governing your use of the Delphina website and free product offerings. ## Questions For questions about these documents, contact [legal@delphina.ai](mailto:legal@delphina.ai). # Privacy Policy Source: https://docs.delphina.ai/legal/privacy-policy How Delphina collects, uses, and shares personal information **Last updated:** July 16, 2024 This privacy notice for Delphina Inc. ("we," "us," or "our"), describes how and why we might collect, store, use, and/or share ("process") your information when you use our services ("Services"), such as when you: * Visit our website at [https://www.delphina.ai](https://www.delphina.ai), or any website of ours that links to this privacy notice * Engage with us in other related ways, including any sales, marketing, or events Questions or concerns? Reading this privacy notice will help you understand your privacy rights and choices. If you do not agree with our policies and practices, please do not use our Services. If you still have any questions or concerns, please contact us at [info@delphina.ai](mailto:info@delphina.ai). ## Summary of key points This summary provides key points from our privacy notice, but you can find out more details about any of these topics by clicking the link following each key point or by using our table of contents below to find the section you are looking for. **What personal information do we process?** When you visit, use, or navigate our Services, we may process personal information depending on how you interact with us and the Services, the choices you make, and the products and features you use. Learn more about personal information you disclose to us. **Do we process any sensitive personal information?** We do not process sensitive personal information. **Do we collect any information from third parties?** We do not collect any information from third parties. **How do we process your information?** We process your information to provide, improve, and administer our Services, communicate with you, for security and fraud prevention, and to comply with law. We may also process your information for other purposes with your consent. We process your information only when we have a valid legal reason to do so. Learn more about how we process your information. **In what situations and with which parties do we share personal information?** We may share information in specific situations and with specific third parties. Learn more about when and with whom we share your personal information. **How do we keep your information safe?** We have organizational and technical processes and procedures in place to protect your personal information. However, no electronic transmission over the internet or information storage technology can be guaranteed to be 100% secure, so we cannot promise or guarantee that hackers, cybercriminals, or other unauthorized third parties will not be able to defeat our security and improperly collect, access, steal, or modify your information. Learn more about how we keep your information safe. **What are your rights?** Depending on where you are located geographically, the applicable privacy law may mean you have certain rights regarding your personal information. Learn more about your privacy rights. **How do you exercise your rights?** The easiest way to exercise your rights is by submitting a data subject access request, or by contacting us. We will consider and act upon any request in accordance with applicable data protection laws. Want to learn more about what we do with any information we collect? Review the privacy notice in full below. ## Table of contents 1. [What information do we collect?](#1-what-information-do-we-collect) 2. [How do we process your information?](#2-how-do-we-process-your-information) 3. [What legal bases do we rely on to process your personal information?](#3-what-legal-bases-do-we-rely-on-to-process-your-personal-information) 4. [When and with whom do we share your personal information?](#4-when-and-with-whom-do-we-share-your-personal-information) 5. [Do we use cookies and other tracking technologies?](#5-do-we-use-cookies-and-other-tracking-technologies) 6. [How long do we keep your information?](#6-how-long-do-we-keep-your-information) 7. [How do we keep your information safe?](#7-how-do-we-keep-your-information-safe) 8. [Do we collect information from minors?](#8-do-we-collect-information-from-minors) 9. [What are your privacy rights?](#9-what-are-your-privacy-rights) 10. [Controls for do-not-track features](#10-controls-for-do-not-track-features) 11. [Do United States residents have specific privacy rights?](#11-do-united-states-residents-have-specific-privacy-rights) 12. [Do we make updates to this notice?](#12-do-we-make-updates-to-this-notice) 13. [How can you contact us about this notice?](#13-how-can-you-contact-us-about-this-notice) 14. [How can you review, update, or delete the data we collect from you?](#14-how-can-you-review-update-or-delete-the-data-we-collect-from-you) ## 1. What information do we collect? ### Personal information you disclose to us *In Short: We collect personal information that you provide to us.* We collect personal information that you voluntarily provide to us when you express an interest in obtaining information about us or our products and Services, when you participate in activities on the Services, or otherwise when you contact us. **Personal Information Provided by You.** The personal information that we collect depends on the context of your interactions with us and the Services, the choices you make, and the products and features you use. The personal information we collect may include the following: * email addresses * job titles * names * phone numbers **Sensitive Information.** We do not process sensitive information. All personal information that you provide to us must be true, complete, and accurate, and you must notify us of any changes to such personal information. ### Information automatically collected *In Short: Some information — such as your Internet Protocol (IP) address and/or browser and device characteristics — is collected automatically when you visit our Services.* We automatically collect certain information when you visit, use, or navigate the Services. This information does not reveal your specific identity (like your name or contact information) but may include device and usage information, such as your IP address, browser and device characteristics, operating system, language preferences, referring URLs, device name, country, location, information about how and when you use our Services, and other technical information. This information is primarily needed to maintain the security and operation of our Services, and for our internal analytics and reporting purposes. Like many businesses, we also collect information through cookies and similar technologies. You can find out more about this in [Section 5](#5-do-we-use-cookies-and-other-tracking-technologies) below. The information we collect includes: * **Log and Usage Data.** Log and usage data is service-related, diagnostic, usage, and performance information our servers automatically collect when you access or use our Services and which we record in log files. Depending on how you interact with us, this log data may include your IP address, device information, browser type, and settings and information about your activity in the Services (such as the date/time stamps associated with your usage, pages and files viewed, searches, and other actions you take such as which features you use), device event information (such as system activity, error reports (sometimes called "crash dumps"), and hardware settings). * **Device Data.** We collect device data such as information about your computer, phone, tablet, or other device you use to access the Services. Depending on the device used, this device data may include information such as your IP address (or proxy server), device and application identification numbers, location, browser type, hardware model, Internet service provider and/or mobile carrier, operating system, and system configuration information. * **Location Data.** We collect location data such as information about your device's location, which can be either precise or imprecise. How much information we collect depends on the type and settings of the device you use to access the Services. For example, we may use GPS and other technologies to collect geolocation data that tells us your current location (based on your IP address). You can opt out of allowing us to collect this information either by refusing access to the information or by disabling your Location setting on your device. However, if you choose to opt out, you may not be able to use certain aspects of the Services. ## 2. How do we process your information? *In Short: We process your information to provide, improve, and administer our Services, communicate with you, for security and fraud prevention, and to comply with law. We may also process your information for other purposes with your consent.* We process your personal information for a variety of reasons, depending on how you interact with our Services, including: * **To request feedback.** We may process your information when necessary to request feedback and to contact you about your use of our Services. * **To send you marketing and promotional communications.** We may process the personal information you send to us for our marketing purposes, if this is in accordance with your marketing preferences. You can opt out of our marketing emails at any time. For more information, see "What are your privacy rights?" below. * **To identify usage trends.** We may process information about how you use our Services to better understand how they are being used so we can improve them. * **To save or protect an individual's vital interest.** We may process your information when necessary to save or protect an individual's vital interest, such as to prevent harm. ## 3. What legal bases do we rely on to process your personal information? *In Short: We only process your personal information when we believe it is necessary and we have a valid legal reason (i.e., legal basis) to do so under applicable law, like with your consent, to comply with laws, to provide you with services to enter into or fulfill our contractual obligations, to protect your rights, or to fulfill our legitimate business interests.* **If you are located in the EU or UK, this section applies to you.** The General Data Protection Regulation (GDPR) and UK GDPR require us to explain the valid legal bases we rely on in order to process your personal information. As such, we may rely on the following legal bases to process your personal information: * **Consent.** We may process your information if you have given us permission (i.e., consent) to use your personal information for a specific purpose. You can withdraw your consent at any time. * **Legitimate Interests.** We may process your information when we believe it is reasonably necessary to achieve our legitimate business interests and those interests do not outweigh your interests and fundamental rights and freedoms. For example, we may process your personal information for some of the purposes described in order to: * Send users information about special offers and discounts on our products and services * Analyze how our Services are used so we can improve them to engage and retain users * Understand how our users use our products and services so we can improve user experience * **Legal Obligations.** We may process your information where we believe it is necessary for compliance with our legal obligations, such as to cooperate with a law enforcement body or regulatory agency, exercise or defend our legal rights, or disclose your information as evidence in litigation in which we are involved. * **Vital Interests.** We may process your information where we believe it is necessary to protect your vital interests or the vital interests of a third party, such as situations involving potential threats to the safety of any person. **If you are located in Canada, this section applies to you.** We may process your information if you have given us specific permission (i.e., express consent) to use your personal information for a specific purpose, or in situations where your permission can be inferred (i.e., implied consent). You can withdraw your consent at any time. In some exceptional cases, we may be legally permitted under applicable law to process your information without your consent, including, for example: * If collection is clearly in the interests of an individual and consent cannot be obtained in a timely way * For investigations and fraud detection and prevention * For business transactions provided certain conditions are met * If it is contained in a witness statement and the collection is necessary to assess, process, or settle an insurance claim * For identifying injured, ill, or deceased persons and communicating with next of kin * If we have reasonable grounds to believe an individual has been, is, or may be victim of financial abuse * If it is reasonable to expect collection and use with consent would compromise the availability or the accuracy of the information and the collection is reasonable for purposes related to investigating a breach of an agreement or a contravention of the laws of Canada or a province * If disclosure is required to comply with a subpoena, warrant, court order, or rules of the court relating to the production of records * If it was produced by an individual in the course of their employment, business, or profession and the collection is consistent with the purposes for which the information was produced * If the collection is solely for journalistic, artistic, or literary purposes * If the information is publicly available and is specified by the regulations ## 4. When and with whom do we share your personal information? *In Short: We may share information in specific situations described in this section and/or with the following third parties.* We may need to share your personal information in the following situations: * **Business Transfers.** We may share or transfer your information in connection with, or during negotiations of, any merger, sale of company assets, financing, or acquisition of all or a portion of our business to another company. ## 5. Do we use cookies and other tracking technologies? *In Short: We may use cookies and other tracking technologies to collect and store your information.* We may use cookies and similar tracking technologies (like web beacons and pixels) to gather information when you interact with our Services. Some online tracking technologies help us maintain the security of our Services, prevent crashes, fix bugs, save your preferences, and assist with basic site functions. We also permit third parties and service providers to use online tracking technologies on our Services for analytics and advertising, including to help manage and display advertisements, to tailor advertisements to your interests, or to send abandoned shopping cart reminders (depending on your communication preferences). The third parties and service providers use their technology to provide advertising about products and services tailored to your interests which may appear either on our Services or on other websites. To the extent these online tracking technologies are deemed to be a "sale"/"sharing" (which includes targeted advertising, as defined under the applicable laws) under applicable US state laws, you can opt out of these online tracking technologies by submitting a request as described below under section "Do United States residents have specific privacy rights?" Specific information about how you can refuse certain cookies is set out below under "Cookies and similar technologies" in [Section 9](#9-what-are-your-privacy-rights). ### Google Analytics We may share your information with Google Analytics to track and analyze the use of the Services. To opt out of being tracked by Google Analytics across the Services, visit [https://tools.google.com/dlpage/gaoptout](https://tools.google.com/dlpage/gaoptout). For more information on the privacy practices of Google, please visit the [Google Privacy & Terms](https://policies.google.com/) page. ## 6. How long do we keep your information? *In Short: We keep your information for as long as necessary to fulfill the purposes outlined in this privacy notice unless otherwise required by law.* We will only keep your personal information for as long as it is necessary for the purposes set out in this privacy notice, unless a longer retention period is required or permitted by law (such as tax, accounting, or other legal requirements). When we have no ongoing legitimate business need to process your personal information, we will either delete or anonymize such information, or, if this is not possible (for example, because your personal information has been stored in backup archives), then we will securely store your personal information and isolate it from any further processing until deletion is possible. ## 7. How do we keep your information safe? *In Short: We aim to protect your personal information through a system of organizational and technical security measures.* We have implemented appropriate and reasonable technical and organizational security measures designed to protect the security of any personal information we process. However, despite our safeguards and efforts to secure your information, no electronic transmission over the Internet or information storage technology can be guaranteed to be 100% secure, so we cannot promise or guarantee that hackers, cybercriminals, or other unauthorized third parties will not be able to defeat our security and improperly collect, access, steal, or modify your information. Although we will do our best to protect your personal information, transmission of personal information to and from our Services is at your own risk. You should only access the Services within a secure environment. ## 8. Do we collect information from minors? *In Short: We do not knowingly collect data from or market to children under 18 years of age.* We do not knowingly collect, solicit data from, or market to children under 18 years of age, nor do we knowingly sell such personal information. By using the Services, you represent that you are at least 18 or that you are the parent or guardian of such a minor and consent to such minor dependent's use of the Services. If we learn that personal information from users less than 18 years of age has been collected, we will deactivate the account and take reasonable measures to promptly delete such data from our records. If you become aware of any data we may have collected from children under age 18, please contact us at [info@delphina.ai](mailto:info@delphina.ai). ## 9. What are your privacy rights? *In Short: Depending on your state of residence in the US or in some regions, such as the European Economic Area (EEA), United Kingdom (UK), Switzerland, and Canada, you have rights that allow you greater access to and control over your personal information. You may review, change, or terminate your account at any time, depending on your country, province, or state of residence.* In some regions (like the EEA, UK, Switzerland, and Canada), you have certain rights under applicable data protection laws. These may include the right (i) to request access and obtain a copy of your personal information, (ii) to request rectification or erasure; (iii) to restrict the processing of your personal information; (iv) if applicable, to data portability; and (v) not to be subject to automated decision-making. In certain circumstances, you may also have the right to object to the processing of your personal information. You can make such a request by contacting us by using the contact details provided in the section "How can you contact us about this notice?" below. We will consider and act upon any request in accordance with applicable data protection laws. If you are located in the EEA or UK and you believe we are unlawfully processing your personal information, you also have the right to complain to your Member State data protection authority or UK data protection authority. If you are located in Switzerland, you may contact the Federal Data Protection and Information Commissioner. **Withdrawing your consent:** If we are relying on your consent to process your personal information, which may be express and/or implied consent depending on the applicable law, you have the right to withdraw your consent at any time. You can withdraw your consent at any time by contacting us by using the contact details provided in the section "How can you contact us about this notice?" below. However, please note that this will not affect the lawfulness of the processing before its withdrawal nor, when applicable law allows, will it affect the processing of your personal information conducted in reliance on lawful processing grounds other than consent. **Opting out of marketing and promotional communications:** You can unsubscribe from our marketing and promotional communications at any time by clicking on the unsubscribe link in the emails that we send, replying "STOP" or "UNSUBSCRIBE" to the SMS messages that we send, or by contacting us using the details provided in the section "How can you contact us about this notice?" below. You will then be removed from the marketing lists. However, we may still communicate with you — for example, to send you service-related messages that are necessary for the administration and use of your account, to respond to service requests, or for other non-marketing purposes. **Cookies and similar technologies:** Most Web browsers are set to accept cookies by default. If you prefer, you can usually choose to set your browser to remove cookies and to reject cookies. If you choose to remove cookies or reject cookies, this could affect certain features or services of our Services. For further information, please see [Section 5](#5-do-we-use-cookies-and-other-tracking-technologies) above. If you have questions or comments about your privacy rights, you may email us at [info@delphina.ai](mailto:info@delphina.ai). ## 10. Controls for do-not-track features Most web browsers and some mobile operating systems and mobile applications include a Do-Not-Track ("DNT") feature or setting you can activate to signal your privacy preference not to have data about your online browsing activities monitored and collected. At this stage, no uniform technology standard for recognizing and implementing DNT signals has been finalized. As such, we do not currently respond to DNT browser signals or any other mechanism that automatically communicates your choice not to be tracked online. If a standard for online tracking is adopted that we must follow in the future, we will inform you about that practice in a revised version of this privacy notice. California law requires us to let you know how we respond to web browser DNT signals. Because there currently is not an industry or legal standard for recognizing or honoring DNT signals, we do not respond to them at this time. ## 11. Do United States residents have specific privacy rights? *In Short: If you are a resident of California, Colorado, Connecticut, Delaware, Florida, Indiana, Iowa, Kentucky, Montana, New Hampshire, New Jersey, Oregon, Tennessee, Texas, Utah, or Virginia, you may have the right to request access to and receive details about the personal information we maintain about you and how we have processed it, correct inaccuracies, get a copy of, or delete your personal information. You may also have the right to withdraw your consent to our processing of your personal information. These rights may be limited in some circumstances by applicable law. More information is provided below.* ### Categories of personal information we collect We have collected the following categories of personal information in the past twelve (12) months: | Category | Examples | Collected | | - | - | - | | A. Identifiers | Contact details, such as real name, alias, postal address, telephone or mobile contact number, unique personal identifier, online identifier, Internet Protocol address, email address, and account name | YES | | B. Personal information as defined in the California Customer Records statute | Name, contact information, education, employment, employment history, and financial information | NO | | C. Protected classification characteristics under state or federal law | Gender, age, date of birth, race and ethnicity, national origin, marital status, and other demographic data | NO | | D. Commercial information | Transaction information, purchase history, financial details, and payment information | NO | | E. Biometric information | Fingerprints and voiceprints | NO | | F. Internet or other similar network activity | Browsing history, search history, online behavior, interest data, and interactions with our and other websites, applications, systems, and advertisements | YES | | G. Geolocation data | Device location | YES | | H. Audio, electronic, sensory, or similar information | Images and audio, video or call recordings created in connection with our business activities | NO | | I. Professional or employment-related information | Business contact details in order to provide you our Services at a business level or job title, work history, and professional qualifications if you apply for a job with us | NO | | J. Education information | Student records and directory information | NO | | K. Inferences drawn from collected personal information | Inferences drawn from any of the collected personal information listed above to create a profile or summary about, for example, an individual's preferences and characteristics | NO | | L. Sensitive personal information | | NO | We may also collect other personal information outside of these categories through instances where you interact with us in person, online, or by phone or mail in the context of: * Receiving help through our customer support channels; * Participation in customer surveys or contests; and * Facilitation in the delivery of our Services and to respond to your inquiries. We will use and retain the collected personal information as needed to provide the Services or for: * Category A — As long as the user has an account with us * Category F — As long as the user has an account with us * Category G — As long as the user has an account with us ### Sources of personal information Learn more about the sources of personal information we collect in "What information do we collect?" ### How we use and share personal information Learn about how we use your personal information in the section "How do we process your information?" ### Will your information be shared with anyone else? We may disclose your personal information with our service providers pursuant to a written contract between us and each service provider. Learn more about how we disclose personal information in the section "When and with whom do we share your personal information?" We may use your personal information for our own business purposes, such as for undertaking internal research for technological development and demonstration. This is not considered to be "selling" of your personal information. We have not disclosed, sold, or shared any personal information to third parties for a business or commercial purpose in the preceding twelve (12) months. We will not sell or share personal information in the future belonging to website visitors, users, and other consumers. ### Your rights You have rights under certain US state data protection laws. However, these rights are not absolute, and in certain cases, we may decline your request as permitted by law. These rights include: * Right to know whether or not we are processing your personal data * Right to access your personal data * Right to correct inaccuracies in your personal data * Right to request the deletion of your personal data * Right to obtain a copy of the personal data you previously shared with us * Right to non-discrimination for exercising your rights * Right to opt out of the processing of your personal data if it is used for targeted advertising (or sharing as defined under California's privacy law), the sale of personal data, or profiling in furtherance of decisions that produce legal or similarly significant effects ("profiling") Depending upon the state where you live, you may also have the following rights: * Right to obtain a list of the categories of third parties to which we have disclosed personal data (as permitted by applicable law, including California's and Delaware's privacy law) * Right to obtain a list of specific third parties to which we have disclosed personal data (as permitted by applicable law, including Oregon's privacy law) * Right to limit use and disclosure of sensitive personal data (as permitted by applicable law, including California's privacy law) * Right to opt out of the collection of sensitive data and personal data collected through the operation of a voice or facial recognition feature (as permitted by applicable law, including Florida's privacy law) ### How to exercise your rights To exercise these rights, you can contact us by submitting a data subject access request, by emailing us at [info@delphina.ai](mailto:info@delphina.ai), or by referring to the contact details at the bottom of this document. Under certain US state data protection laws, you can designate an authorized agent to make a request on your behalf. We may deny a request from an authorized agent that does not submit proof that they have been validly authorized to act on your behalf in accordance with applicable laws. ### Request verification Upon receiving your request, we will need to verify your identity to determine you are the same person about whom we have the information in our system. We will only use personal information provided in your request to verify your identity or authority to make the request. However, if we cannot verify your identity from the information already maintained by us, we may request that you provide additional information for the purposes of verifying your identity and for security or fraud-prevention purposes. If you submit the request through an authorized agent, we may need to collect additional information to verify your identity before processing your request and the agent will need to provide a written and signed permission from you to submit such request on your behalf. ### Appeals Under certain US state data protection laws, if we decline to take action regarding your request, you may appeal our decision by emailing us at [info@delphina.ai](mailto:info@delphina.ai). We will inform you in writing of any action taken or not taken in response to the appeal, including a written explanation of the reasons for the decisions. If your appeal is denied, you may submit a complaint to your state attorney general. ### California "Shine The Light" law California Civil Code Section 1798.83, also known as the "Shine The Light" law, permits our users who are California residents to request and obtain from us, once a year and free of charge, information about categories of personal information (if any) we disclosed to third parties for direct marketing purposes and the names and addresses of all third parties with which we shared personal information in the immediately preceding calendar year. If you are a California resident and would like to make such a request, please submit your request in writing to us by using the contact details provided in the section "How can you contact us about this notice?" ## 12. Do we make updates to this notice? *In Short: Yes, we will update this notice as necessary to stay compliant with relevant laws.* We may update this privacy notice from time to time. The updated version will be indicated by an updated "Revised" date at the top of this privacy notice. If we make material changes to this privacy notice, we may notify you either by prominently posting a notice of such changes or by directly sending you a notification. We encourage you to review this privacy notice frequently to be informed of how we are protecting your information. ## 13. How can you contact us about this notice? If you have questions or comments about this notice, you may email us at [info@delphina.ai](mailto:info@delphina.ai) or contact us by post at: Delphina Inc. 74 Banks Street San Francisco, CA 94110 United States ## 14. How can you review, update, or delete the data we collect from you? Based on the applicable laws of your country or state of residence in the US, you may have the right to request access to the personal information we collect from you, details about how we have processed it, correct inaccuracies, or delete your personal information. You may also have the right to withdraw your consent to our processing of your personal information. These rights may be limited in some circumstances by applicable law. To request to review, update, or delete your personal information, please contact us at [info@delphina.ai](mailto:info@delphina.ai). # Sub-Processors Source: https://docs.delphina.ai/legal/sub-processors Third parties that may process Customer Data on behalf of Delphina **Last updated:** November 2, 2026 This page is the current list of Sub-Processors engaged by Delphina Inc. ("Delphina") to support the delivery of the Services. It forms part of the [Data Processing Addendum](/legal/data-processing-addendum) (Annex 3) and is incorporated into Customer's agreement with Delphina. Customer's acceptance of the Agreement constitutes approval of the engagement of the Sub-Processors listed below. Delphina updates this list as Sub-Processors are added or removed. Customers who wish to receive notice of changes to this list should contact [legal@delphina.ai](mailto:legal@delphina.ai). | Category | Name of Sub-Processor | Contact details (Address and Country) | Service(s) provided | | - | - | - | - | | AI and model providers | Anthropic, PBC | 548 Market St, PMB 90375, San Francisco, CA 94104, U.S.A. | Large language model provider | | AI and model providers | Fireworks.ai, Inc. | 2317 Broadway, Suite 200, Redwood City, CA 94063, U.S.A. | Hosted large language model inference provider | | AI and model providers | Google LLC (AI services) | 1600 Amphitheatre Parkway, Mountain View, CA 94043, U.S.A. | Large language model provider (Gemini / Vertex AI) | | AI and model providers | Modal Labs, Inc. | 233 Spring Street, Floor 11, New York, NY 10013, U.S.A. | Hosted large language model inference provider | | AI and model providers | OpenAI, L.L.C. | 3180 18th Street, San Francisco, CA 94110, U.S.A. | Large language model provider | | Cloud infrastructure | Amazon Web Services (AWS) | 410 Terry Avenue North, Seattle, WA 98109-5210, U.S.A. | Cloud infrastructure provider | | Cloud infrastructure | Snowflake Inc. | 106 E. Babcock Street, Suite 3A, Bozeman, MT 59715, U.S.A. | Data warehousing provider | | Cloud infrastructure | Fivetran Inc. | 1221 Broadway, Floor 20, Oakland, CA 94612, U.S.A. | Data replication into the data warehouse | | Identity and user management | WorkOS, Inc. | 169 Madison Avenue, Suite 2298, New York, NY 10016, U.S.A. | User authentication, SSO, and directory sync | | Billing and payments | Stripe, Inc. | 354 Oyster Point Boulevard, South San Francisco, CA 94080, U.S.A. | Payment processing and billing | | Customer engagement | Attio, Ltd. | 5 New Street Square, London EC4A 3TW, United Kingdom | Customer relationship management | | Productivity and collaboration | Google Workspace | 1600 Amphitheatre Parkway, Mountain View, CA 94043, U.S.A. | Communication, storage, productivity, and collaboration | | Productivity and collaboration | Slack Technologies, LLC | 500 Howard Street, San Francisco, CA 94105, U.S.A. | Messaging and file sharing platform | | Software development | GitHub, Inc. | 88 Colin P Kelly Jr. Street, San Francisco, CA 94107, U.S.A. | Version control and software development platform | | Security, monitoring, and analytics | Datadog, Inc. | 620 8th Avenue, 45th Floor, New York, NY 10018-1741, U.S.A. | Security monitoring and analytics platform | | Security, monitoring, and analytics | Drata Inc. | 4660 La Jolla Village Drive, Suite 100, San Diego, CA 92122, U.S.A. | Security compliance platform | | Security, monitoring, and analytics | PostHog Inc. | 2261 Market Street #4008, San Francisco, CA 94114, U.S.A. | Product analytics platform | # Terms of Service Source: https://docs.delphina.ai/legal/terms-of-service Master agreement governing customer use of Delphina's products and services **Effective:** May 29, 2026 This agreement ("Agreement") is between Customer and Delphina Inc. ("Delphina"). "Customer" means the entity or individual creating an account or using the Service. By creating an account or using the Service, Customer agrees to the [Acceptable Use Policy](/legal/acceptable-use-policy), the [Data Processing Addendum](/legal/data-processing-addendum), and the [Documentation](https://docs.delphina.ai/), each of which is part of this Agreement. ## 1. Service **1.1. Service Usage Rights.** During the applicable subscription period, Delphina grants Customer a limited, non-exclusive right to access and use the Service for Customer's internal business operations, subject to the terms of this Agreement, applicable plan limits, and timely payment of all fees. Access to the Service is limited to individuals authorized by Customer ("Permitted Users"). Each Permitted User must maintain separate login credentials and individual accounts may not be shared between users. Customer is responsible for all activity occurring under its accounts, including actions taken by Permitted Users, and for maintaining appropriate administrative controls, permissions, and account security. **1.2. Service Restrictions.** Customer will not, directly or indirectly: reverse engineer, decompile, disassemble or otherwise attempt to discover the source code, object code or underlying structure, ideas, know-how or algorithms relevant to the Services or any software, documentation or data related to the Services ("Software"), except to the extent applicable law prohibits this restriction or as permitted under Delphina's vulnerability disclosure program for good-faith security research; modify, translate, or create derivative works based on the Services or any Software (except to the extent expressly permitted by Delphina or authorized within the Services); use the Services or any Software for timesharing or service bureau purposes or otherwise for the benefit of a third party; remove any proprietary notices or labels; use the Service or any Outputs generated through the Service to develop, train, or improve a competing artificial intelligence or software offering; use the Service for benchmarking, competitive analysis, or monitoring the availability or performance of the Service; use automated means to scrape or extract data from the Service except through authorized integrations or APIs; or use the Service in violation of applicable law, the Acceptable Use Policy, or this Agreement. Delphina may terminate or suspend access to the Service if it reasonably believes Customer or any Permitted User has violated this Section or the Acceptable Use Policy. **1.3. Service Support.** Delphina will provide support for the Service in accordance with the Support Terms set forth in Exhibit A. **1.4. Customer Systems and Third-Party Services.** Customer is responsible for any systems, applications, integrations, or Third-Party Services used in connection with the Service. Delphina makes no warranties regarding Third-Party Services or Customer-managed systems. **1.5. Changes to the Service.** Delphina may add, remove, modify, discontinue, or update features or functionality of the Service from time to time, including underlying models, infrastructure, integrations, or third-party providers. Certain features may be unavailable or restricted in particular jurisdictions in order to comply with applicable laws or regulatory requirements. Where practicable, Delphina will make reasonable efforts to notify Customer of material changes to the Service. Changes to the Service will not constitute a breach of this Agreement so long as the Service continues to provide substantially similar core functionality. **1.6. Usage Data.** Delphina may collect and analyze data relating to the access, use, provision, and performance of the Service and related systems and technologies (including metadata, telemetry, authentication information, usage statistics, and operational analytics relating to the performance and use of the Service, but excluding Customer Data itself except in aggregated or de-identified form) ("Usage Data"). Delphina may (during and after the term of this Agreement) (i) use Usage Data to improve and enhance the Services and for other development, diagnostic, security, and corrective purposes in connection with the Services and other Delphina offerings, and (ii) disclose such data solely in aggregate or other de-identified form in connection with its business. Delphina will not re-identify Usage Data in a manner that identifies Customer or any Permitted User, and will not use Usage Data for third-party advertising or sell Usage Data to data brokers. **1.7. Service Improvement.** Delphina may use prompts, Inputs, Outputs, and related interaction data generated through Customer's use of the AI Services to improve, maintain, and develop the Service and related AI functionality, provided that such use is limited to internal product improvement purposes and does not include disclosure of Customer Data to other customers or third parties except as necessary to provide the Service. Customer may opt out of such use by written notice, and Delphina will cease such use prospectively within a commercially reasonable period. Opting out may limit certain features or the optimization of the Service. Such use does not grant Delphina access to Customer systems or Customer Data beyond the content submitted to or generated by the AI Services. **1.8. AI Services.** The Service may include artificial intelligence or machine learning capabilities, including features powered by third-party model providers or automated systems ("AI Services"). Use of certain AI Services may require Delphina to transmit Customer Data, prompts, Inputs, or related content to third-party providers for processing and response generation. Customer authorizes Delphina to share such information as necessary to provide the AI Services. A current list of AI Services providers is available at [https://docs.delphina.ai/legal/sub-processors](/legal/sub-processors). Delphina will use commercially reasonable efforts to require third-party AI providers to maintain the confidentiality of Customer Data processed in connection with the AI Services. Third-party AI providers are independent from Delphina, and Delphina is not responsible for interruptions, inaccuracies, or performance issues attributable to those providers. **1.9. Customer Responsibilities.** (a) Customer is responsible for reviewing and evaluating all Outputs before relying on them. Delphina does not guarantee the accuracy, completeness, or suitability of AI-generated content. (b) The AI Services are not a substitute for professional judgment. Customer may not use the AI Services where use or failure could lead to death, personal injury, or environmental damage, or to make consequential decisions about individuals without appropriate human oversight as required by applicable law. (c) Customer is responsible for configuring and managing its integrations, permissions, workflows, and use of Third-Party Services in connection with the Service. Any actions initiated through Customer-authorized automations, APIs, or integrations will be treated as actions taken by Customer. Delphina is not responsible for interruptions, limitations, or changes in functionality caused by third-party providers or integrations. (d) Customer is solely responsible for ensuring that its use of agents through the Service complies with the terms, policies, and technical requirements of any Third-Party Service or platform accessed by or on behalf of Customer. Customer acknowledges that any Third-Party Service or platform may at any time restrict, suspend, or prohibit the use of agents, and that such restrictions may result in loss of functionality and Delphina will have no obligation to modify the Service to accommodate such changes. **1.10. Third-Party Services.** The Service integrates with Third-Party Services. Customer is responsible for enabling and configuring each integration. Delphina may share or receive Customer Data through these integrations to provide the Service. Third-Party Services are not under Delphina's control, and Customer's use of them is governed by Customer's agreement with the applicable provider. **1.11. Beta Services.** Delphina may make available products, features, or functionality not yet generally available, whether labeled as beta, alpha, pilot, preview, experimental, or similar ("Beta Services"). Beta Services are provided "as is," are not intended for production use, and may be modified, discontinued, or never made generally available. Beta Services are excluded from the warranty in Section 4.1 and any service level commitments, as may be applicable. Delphina has no liability arising from Customer's use of a Beta Service. Notwithstanding the foregoing, Delphina's obligations regarding data security, confidentiality, and Customer Data protection under this Agreement continue to apply to Beta Services. ## 2. Ownership **2.1. Ownership of Intellectual Property.** As between the parties, Customer retains all rights, title, and interest in and to Customer Data, including Inputs submitted by Customer and Outputs generated for Customer through the Service. Except for the limited rights expressly granted under this Agreement, Delphina does not acquire ownership of Customer Data. Customer's rights in Outputs do not include ownership of the Service itself or any underlying software, models, algorithms, workflows, prompts, templates, or related technology used to generate such Outputs. Delphina does not guarantee that any Output is eligible for copyright or other intellectual property protection under applicable law. Customer may not remove, alter, or obscure any proprietary notices contained in the Service. Delphina and its licensors retain all rights, title, and interest in and to the Service, Software, Documentation, and all related technology, improvements, enhancements, derivative works, and intellectual property rights therein. Except for the rights expressly granted in this Agreement, no license or right is granted to either party by the other party by implication or otherwise. **2.2. Feedback.** Customer may voluntarily provide Delphina with suggestions, feature requests, or other feedback concerning the Service ("Feedback"). Delphina may use Feedback to maintain, improve, and enhance Delphina's products and services without restriction or payment to Customer. Delphina will not identify Customer as the source of any Feedback. Feedback will not include Customer Data. **2.3. License to Customer Data.** Customer grants Delphina a nonexclusive, worldwide, transferable, sublicensable, royalty-free license to process, display, copy, store, modify, transmit, and otherwise access and use Customer Data solely to provide the Service to Customer and its Permitted Users and for such other purposes as described in this Agreement. ## 3. Fees **3.1. Fees.** Customer will pay Delphina the then applicable fees described on the [Pricing page](https://delphina.ai/pricing/) (the "Fees"). If Customer's use of the Services exceeds the Service capacity for the relevant Fee tier, Customer shall be billed for such usage and Customer agrees to pay the additional fees in the manner provided herein. Delphina reserves the right to change the Fees or applicable charges and to institute new charges and Fees at the end of the Initial Subscription Term (as defined below) or then-current renewal term, upon thirty (30) days prior notice to Customer (which may be sent by email). Except as otherwise stated herein, all Fees are in U.S. Dollars and are non-refundable, except as required by law. **3.2. Taxes.** Customer is responsible for all sales, use, GST, value-added, withholding, or similar taxes or levies, other than Delphina's income tax ("Taxes"). Fees are exclusive of Taxes. If Customer is required to deduct or withhold Taxes, Customer will pay additional amounts so that Delphina receives the full amount it would have received without the deduction. **3.3. Authorization.** Customer authorizes Delphina to charge the payment method associated with Customer's account for all applicable fees, Taxes, and other amounts owed under this Agreement, including recurring subscription charges and usage-based fees. Delphina may seek pre-authorization of payment methods to verify validity and available funds. **3.4. Subscription Terms.** The Service includes subscription-based plans with automatically recurring payments ("Subscription Service"). A Subscription Service begins on the date Customer first purchases or activates a subscription ("Subscription Billing Date") and continues for the selected subscription period ("Initial Subscription Term"). Subscriptions automatically renew for successive periods of the same duration as the Initial Subscription Term (the Initial Subscription Term and any renewal period thereafter, are each a "Subscription Term") unless Customer cancels or Delphina terminates. Customer's account will be charged the applicable Subscription Fee automatically on each Subscription Billing Date and each renewal date thereafter. Customer must cancel before the renewal date to avoid being charged for the next Subscription Term. Customer may cancel via the Service or at [support@delphina.ai](mailto:support@delphina.ai). **3.5. Delinquent Accounts.** Delphina may suspend or terminate access to the Service, including fee-based portions of the Service, for any account for which any amount is due but unpaid. Undisputed fees not paid when due bear interest at 1.5% per month (or the maximum rate permitted by law, if lower). If Customer disputes fees in good faith, Customer must pay the undisputed amount and the parties will work to resolve the dispute. In addition to the amount due for the Service and the foregoing interest, a delinquent account will be charged with fees or charges that are incidental to any chargeback or collection of any unpaid amount, including collection fees. If Customer's payment method is no longer valid at the time a renewal Fee is due, then Delphina reserves the right to delete Customer's account and any information or Customer Data associated with Customer's account, by providing a 15-day notice to Customer, without any liability to Customer. **3.6. Usage Pricing.** Certain features of the Service may be subject to usage limits, quotas, consumption-based pricing or other usage-based pricing or fees as specified in the Subscription Service. Delphina may modify such limits or pricing upon reasonable prior notice to Customer, and any such changes will apply only prospectively from the effective date specified in the notice. Delphina will invoice Customer any such usage-based Fees monthly in arrears. If Customer exceeds the usage limits or quantities included in its Subscription Service, Delphina may notify Customer of the overage and charge Customer for additional usage at Delphina's then-current rates, prorated as applicable for the remainder of the then-current Subscription Term. **3.7. Payment Processors.** Customer may pay for the Service through a third-party payment processor ("Payment Processor"). Customer's payment obligations and relationship with any Payment Processor are governed by Customer's agreement with them. Delphina may disclose information about Customer or this Agreement to such Payment Processor. **3.8. Free Trials.** Delphina may offer a trial of the Service ("Trial"). Trials are limited to the features and duration communicated by Delphina and may be used only for evaluating the Service. Upon expiration, access ceases unless Customer purchases a Subscription Service. Trials do not auto-renew. ## 4. Warranty and Liability **4.1. Limited Warranty.** Delphina warrants that the Service will conform in all material respects to the Documentation during the Subscription Term. This warranty does not apply to the extent a nonconformity results from (a) modification of the Service by or on behalf of anyone other than Delphina, (b) use of the Service with Customer systems not recommended in the Documentation, or (c) use of the Service not in conformance with the Documentation. This warranty does not apply to Trials or Beta Services and does not extend to the accuracy or completeness of Documentation. **4.2. Representation.** Each party represents that it has validly entered into this Agreement and has the legal power to do so. **4.3. Remedy.** If the Service does not conform to the warranty in Section 4.1, Delphina will, as its sole obligation and Customer's sole remedy, at Delphina's election: (i) use commercially reasonable efforts to correct the nonconformity, provided it can be recreated by Delphina; (ii) replace the nonconforming Service; or (iii) if neither is commercially feasible, terminate the Subscription Service for the affected Service and refund Customer the prepaid and unused fees corresponding to the remaining period. Customer must notify Delphina in writing within ten (10) days of identifying a nonconformity, with a specific description, and Delphina will verify it before proceeding. **4.4. DISCLAIMER.** EXCEPT AS PROVIDED IN SECTION 4.1, THE DELPHINA PROPERTIES, AI SERVICES, AND ANY CODE, APPLICATIONS, OR OTHER CONTENT GENERATED BY THE SERVICE ARE PROVIDED "AS IS" AND "AS AVAILABLE." DELPHINA DISCLAIMS ALL WARRANTIES, WHETHER EXPRESS, IMPLIED, OR STATUTORY, INCLUDING WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE. DELPHINA DOES NOT GUARANTEE THAT THE SERVICE OR AI SERVICES WILL BE ERROR-FREE, UNINTERRUPTED, OR MEET CUSTOMER'S REQUIREMENTS. AI SERVICES MAY PRODUCE INACCURATE OUTPUTS, INCLUDING HALLUCINATIONS. DELPHINA MAKES NO WARRANTIES REGARDING THE ACCURACY OF ANY OUTPUT. CUSTOMER IS RESPONSIBLE FOR VERIFYING ALL OUTPUTS BEFORE USE. CUSTOMER ASSUMES ALL RISK IN CONNECTION WITH ITS USE OF AND RELIANCE ON THE DELPHINA PROPERTIES, AI SERVICES, THIRD-PARTY SERVICES, AND ALL OUTPUTS. DELPHINA HAS NO LIABILITY FOR ANY LOSS CAUSED BY THE UNAVAILABILITY, INCOMPLETENESS, OR INACCURACY OF CUSTOMER DATA. **4.5. CUSTOMER COMPLIANCE REPRESENTATIONS.** Customer represents and warrants that: (a) Customer is not a "Covered Person" as defined under Executive Order 14117 or its implementing regulations (including 28 C.F.R. Part 202); (b) Customer will not use the Service to transfer or make available bulk sensitive personal data or government-related data (as defined in such regulations) to any country of concern or Covered Person; and (c) Customer will comply with all applicable laws governing the export, transfer, and handling of data through the Service. **4.6. LIABILITY.** (a) NEITHER PARTY WILL BE LIABLE FOR ANY INCIDENTAL, SPECIAL, PUNITIVE, EXEMPLARY, CONSEQUENTIAL, OR INDIRECT DAMAGES, LOSS OF REVENUES OR PROFITS, LOSS OF DATA, OR COST OF COVER, WHETHER OR NOT ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. (b) EXCEPT FOR CUSTOMER'S PAYMENT OBLIGATIONS, BREACH OF SECTION 1.2 (SERVICE RESTRICTIONS), INDEMNIFICATION OBLIGATIONS, BREACH OF SECTION 7.3 (RESTRICTED AND AT-RISK DATA) OR EACH PARTY'S LIABILITY ARISING FROM GROSS NEGLIGENCE OR WILLFUL MISCONDUCT, EACH PARTY'S TOTAL LIABILITY FOR ALL CLAIMS ARISING OUT OF THIS AGREEMENT, INCLUDING CLAIMS ARISING OUT OF DATA BREACHES OR UNDER THE DPA OR THE BAA (AS APPLICABLE), WILL NOT EXCEED THE FEES PAID OR PAYABLE BY CUSTOMER IN THE TWELVE (12) MONTHS PRECEDING THE INITIAL INCIDENT GIVING RISE TO THE LIABILITY. (c) THIS LIMITATION APPLIES REGARDLESS OF THE FORM OF ACTION AND NOTWITHSTANDING THE FAILURE OF ANY LIMITED REMEDY. ## 5. Indemnity Customer will defend Delphina against any third-party claim arising out of (i) Customer's violation of this Agreement or applicable law, (ii) Customer Data infringing or violating third-party rights, (iii) Customer's configuration or use of the AI Services, including automated agents, integrations, and workflows, (iv) Customer's submission of data through the Service, including Restricted Data or At-Risk Data, or (v) any Customer system, and will indemnify and hold Delphina harmless from damages, losses, and expenses (including reasonable attorneys' fees) awarded or incurred. Delphina must promptly notify Customer, give Customer control of the defense and settlement, and provide reasonable assistance. ## 6. Confidential Information **6.1. Confidential Information.** Any information furnished to one party ("Recipient") by the other party ("Discloser") that (i) is marked at the time of disclosure as being "Confidential" or words of similar import or (ii) is identified orally as being confidential or proprietary, or (iii) is of such a nature or the circumstances of the disclosure are such that a reasonable person would understand that the information should be treated as confidential is deemed "Confidential Information." The Delphina Properties are deemed Delphina's Confidential Information regardless of whether so marked. Customer Data is deemed Customer's Confidential Information. Confidential Information will not include information that Recipient can demonstrate by contemporaneous records (a) was rightfully known by Recipient prior to the date it was disclosed by Discloser, (b) is lawfully disclosed to Recipient without obligation of confidentiality by a third party, (c) becomes generally known to the public through no act or omission on the part of Recipient, or (d) is independently developed by Recipient without reference to or reliance upon any Confidential Information of Discloser. **6.2. Use Restriction and Disclosure.** The Recipient will (i) not use Confidential Information of the Discloser for any purposes other than for performing its obligations or exercising its rights under this Agreement and (ii) hold such Confidential Information in strict confidence and protect such Confidential Information with the same degree of care (but no less than a reasonable degree of care) the Recipient uses to protect its own Confidential Information. Notwithstanding the foregoing, the Recipient may disclose Confidential Information of the Discloser (a) to the Recipient's directors, officers, or legal or business advisors to the extent reasonably necessary to carry out its obligations or exercise its rights under this Agreement, and to investors and acquirers in connection with due diligence, provided that such persons are legally bound to maintain such information as confidential as required by this section, or (b) if required to be disclosed by the Recipient pursuant to a judicial or governmental statute, rule, or order, provided that the Recipient gives sufficient written notice (to the extent permissible) prior to any disclosure to seek a protective order or injunction or other opportunity to limit disclosure, and the Recipient will disclose only such Confidential Information as is required to be disclosed. ## 7. Protection of Customer Data **7.1. Data Protection.** **7.1.1. Security Measures.** Delphina will use commercially reasonable efforts to implement and maintain physical, technical, and administrative security measures designed to protect the Customer Data stored with Delphina. For further information, see Delphina's security program available at [https://delphina.ai/security/](https://delphina.ai/security/). **7.1.2. Personal Data.** Each party warrants that it will use, collect, store and/or process personal data as defined under and in accordance with any applicable data privacy laws ("Personal Data"). Customer agrees to the terms of the Delphina [Data Processing Addendum](/legal/data-processing-addendum) ("DPA"), which is hereby incorporated by reference into this Agreement and is subject to its terms. **7.1.3. HIPAA Data.** If Customer is located in the United States, Customer agrees not to upload to the Service any Protected Health Information ("PHI") as defined under the Health Insurance Portability and Accountability Act of 1996 ("HIPAA") data unless Customer has entered into a Business Associate Agreement ("BAA") with Delphina first. Unless a BAA is in place, Delphina will have no liability under this Agreement for HIPAA data, notwithstanding anything to the contrary in this Agreement or in HIPAA or any similar federal or state laws, rules, or regulations. Upon mutual execution of the BAA, the BAA is incorporated by reference into this Agreement and is subject to its terms. **7.2. Access to Customer Data.** Customer understands and acknowledges that the ability of Customer and its Permitted Users to operate and utilize the Service is dependent upon Customer providing or making available for access by the Service (and Third-Party Services) all required Customer Data via Customer system(s). As between Customer and Delphina, Customer is solely and exclusively responsible for obtaining and providing all consents, authorizations, permissions, notices, and access to Customer system(s), as may be necessary or helpful to facilitate the Service's access to the Customer Data. Customer acknowledges and agrees that Delphina will not be liable to Customer or to any third party for any failure, delay, or deficiency in the performance of the Service arising from (i) any system failure or technical deficiency on the part of Customer or its service providers that prevents or limits access by the Service to Customer Data or other necessary Customer content, materials, data, or information, or (ii) any error or deficiency in the Customer Data. As between Customer and Delphina, Customer is solely responsible for the accuracy, quality, integrity, legality, reliability, and appropriateness of all Customer Data, and for ensuring that Customer Data does not: (a) infringe, misappropriate, or violate the intellectual property rights, rights of privacy or publicity, or other proprietary rights of any third party, (b) violate any applicable law, or (c) contain any malware, viruses, Trojan horses, spyware, worms, or other malicious or harmful code. **7.3. Restricted and At-Risk Data.** (a) **Restricted Data.** The Service is not built with the security controls necessary for data subject to heightened regulatory or industry-specific requirements ("Restricted Data"), including payment card data governed by PCI-DSS and nonpublic personal information under the Gramm-Leach-Bliley Act, except as separately addressed for PHI in Section 7.1.3. Delphina makes no representations regarding the suitability of the Service for processing Restricted Data. Customer may not submit Restricted Data to the Service unless Customer has executed additional service terms with Delphina covering the applicable compliance environment. Delphina may make such compliance environments available from time to time, as described at [https://delphina.ai/security/](https://delphina.ai/security/). (b) **At-Risk Data.** The Service does not include specialized safeguards for biometric identifiers, precise geolocation data, data relating to individuals under 18, genetic data, or health-related data not covered by a BAA ("At-Risk Data"). Customer accepts all risk associated with submitting At-Risk Data to the Service. Delphina's obligations with respect to At-Risk Data are limited to those set forth in Section 7.1. (c) **Customer Configuration.** Customer is solely responsible for configuring and using the Services in compliance with Customer's legal and regulatory obligations. Delphina is not liable for any data exposure, non-compliance, or security incident resulting from Customer's configuration choices. **7.4. External Storage of Customer Data.** The Service does not include data backup, archival, or retention services. Customer is solely and exclusively responsible for the backing up, archiving, and retaining of all Customer Data. Delphina does not make any representations, warranties, or guarantees that any Customer Data or other of Customer's information, data or materials will not be lost, altered, destroyed, damaged, or corrupted. Other than Data Breaches, Delphina has no obligation or liability for any loss, alteration, destruction, damage, corruption, or recovery of any Customer Data through or in connection with Customer's use of the Service. ## 8. Term and Termination **8.1. Term.** This Agreement will remain in effect for as long as Customer maintains an active account or paid Subscription Service, unless terminated earlier pursuant to this Section 8. **8.2. Termination for Breach.** Either party may terminate this Agreement upon written notice if the other party materially breaches this Agreement and fails to cure within thirty (30) days of written notice specifying the breach. Delphina may alternatively suspend the Service if Customer violates the Service Restrictions (Section 1.2) or if any undisputed amount is past due for more than thirty (30) days. **8.3. Termination by Delphina.** Delphina may terminate this Agreement or cancel Customer's account at any time for any reason, including inactivity of one hundred eighty (180) days or more. If Delphina cancels Customer's Subscription Service, Customer may not create a new account without Delphina's consent. **8.4. Termination for Insolvency.** Either party may terminate this Agreement and any Subscription Service immediately upon written notice to the other party if the other party has a receiver appointed, or an assignee for the benefit of creditors or in the event of any insolvency or inability to pay debts as they become due by the other party, except as may be prohibited by applicable bankruptcy laws. **8.5. Effect of Termination.** Upon termination of the Agreement: (a) Customer's access to and Delphina's obligations to provide the Service and Support will cease; and (b) upon Customer's written request made within thirty (30) days following termination or expiration, Delphina will delete Customer Data in Delphina's possession within a commercially reasonable period, except to the extent Delphina is required to retain such data by applicable law or in standard backup systems maintained in accordance with Delphina's retention policies, provided such retained data remains subject to this Agreement's confidentiality obligations. **8.6. Survival.** The provisions of the following Sections of this Agreement will survive any expiration or earlier termination of the Agreement: Section(s) 1.2 (Service Restrictions), 1.6 (Usage Data), 1.7 (Service Improvement), 2 (Ownership), 3.1–3.8 (Fees), 4.4 (Disclaimer), 4.6 (Liability), 5 (Indemnity), 6 (Confidential Information), 7 (Protection of Customer Data), 8.5 (Effect of Termination), 8.6 (Survival), and 9 (with exception of 9.11) (Miscellaneous). ## 9. Miscellaneous **9.1. Severability.** If any provision of this Agreement is found to be unenforceable or invalid, that provision will be limited or eliminated to the minimum extent necessary so that this Agreement will otherwise remain in full force and effect and enforceable. **9.2. Assignment.** Neither this Agreement nor any rights granted hereunder may be assigned or otherwise transferred (whether by operation of law or otherwise), in whole or in part, by either party, without the prior written consent of the other party, whose consent will not be unreasonably withheld or delayed. However, no such consent will be required in the event of an assignment to either party's Affiliate, or in the event of a merger, change of control, corporate reorganization, or a sale of substantially all of the assigning party's assets that relate to this Agreement. Any attempted assignment will be void and of no effect unless permitted by the foregoing. This Agreement will inure to the benefit of the parties' permitted successors and assigns. **9.3. Entire Agreement.** This Agreement is the complete and exclusive statement of the mutual understanding of the parties and supersedes and cancels all previous written and oral agreements, communications and other understandings relating to the subject matter of this Agreement, and all waivers and modifications must be in a writing signed by both parties, except as otherwise provided herein. **9.4. Relationship.** No agency, partnership, joint venture, or employment is created as a result of this Agreement and Customer does not have any authority of any kind to bind Delphina in any respect whatsoever. **9.5. Attorneys' Fees.** In any action or proceeding to enforce rights under this Agreement, the prevailing party will be entitled to recover costs and attorneys' fees. **9.6. Notices.** All notices and communications under this Agreement ("Notices") will be in writing. Delphina may send Notices to Customer by email to the address associated with Customer's account or through the Service. Customer will send all Notices to Delphina at [legal@delphina.ai](mailto:legal@delphina.ai). **9.7. Governing Law.** This Agreement shall be governed by the laws of the State of Delaware without regard to its conflict of laws provisions. **9.8. Injunctive Relief.** Customer acknowledges and agrees that any breach of its obligations with respect to Delphina's Confidential Information, intellectual property rights, or the Service Restrictions in Section 1.2 may cause Delphina irreparable harm that could not be adequately remedied by monetary damages alone. Accordingly, Delphina will be entitled, in addition to any other rights or remedies, to seek injunctive or other equitable relief in any court of competent jurisdiction without the necessity of proving actual damages or posting a bond. **9.9. No Waiver.** Neither party's failure nor delay in exercising any of its rights will constitute a waiver of such rights unless expressly waived in writing. **9.10. Force Majeure.** Delphina will not be liable for any delay or failure in the performance of its obligations under this Agreement if the delay or failure is due to any cause outside of Delphina's reasonable control. For the avoidance of doubt, Customer's payment obligations under this Agreement are not excused by a Force Majeure event. **9.11. Publicity.** Solely for marketing and promotional purposes, Customer agrees that Delphina may identify Customer as a Delphina customer in Delphina's promotional, marketing, or other materials and refer to Customer by name, trade name and trademark as applicable. Customer hereby grants Delphina a license to use Customer's name and applicable trademarks in accordance with this section. Customer may opt out anytime by emailing [support@delphina.ai](mailto:support@delphina.ai). **9.12. Definitions.** Capitalized terms not otherwise defined will have the meaning set forth in this section. **"Affiliate"** means any individual, corporation, partnership, or business entity that controls, is controlled by, or is under common control with an entity with an ownership of more than 50% of the voting shares. **"Customer Data"** means any data, code, information, or other content that is made available, by or on behalf of Customer or any Permitted User, for upload to or access, analysis, or processing by the Service. Customer Data also includes Inputs and Outputs. **"Data Breach"** means an actual breach of Delphina's security that is directly caused by a breach under Section 7.1 of this Agreement leading to the accidental or unlawful destruction, loss, alteration, unauthorized disclosure of, or access to, Personal Data in Delphina's possession, custody or control. Data Breaches do not include unsuccessful attempts or activities that do not compromise the security of Personal Data, including unsuccessful log-in attempts, pings, port scans, denial of service attacks, or other network attacks on firewalls or networked systems. **"Delphina Properties"** means the Service, Documentation, and Usage Data, including all copies, portions, extracts, selections, arrangements, compilations, adaptations, modifications, and improvements thereof, and all derivative works of any of the foregoing. **"Documentation"** means Delphina's published user documentation that describes the design, functions, operation, or use of the Service ordinarily made available to all its customers as may be updated by Delphina from time to time. **"Service"** means any Service and associated APIs made available by Delphina to Customer under the Subscription Service. **"Input"** means Customer Data submitted by or on behalf of Customer to the AI Services for processing. **"Output"** means content generated by the AI Services in response to an Input. **"Permitted User"** means a Customer employee or contractor who is authorized by Customer to use the Service on behalf of Customer. **"Personal Data"** means personal data or personal information as defined under applicable data privacy laws. **"Subscription Fee"** means the recurring fees applicable to Customer's Subscription Service, as set forth at [https://delphina.ai/pricing/](https://delphina.ai/pricing/). **"Support"** means support service in connection with the Service under the respective support plan indicated in the Subscription Service, if any. **"Third-Party Service"** means third-party services, technology, or applications which are not provided by Delphina, including Customer's own hardware or systems and third-party applications which host Customer Data. ## Exhibit A — Support Terms Delphina will provide Technical Support to Customer via electronic mail on weekdays during the hours of 9:00 am through 5:00 pm Pacific time, with the exclusion of Federal Holidays ("Support Hours"). Customer may initiate a helpdesk ticket during Support Hours by emailing [support@delphina.ai](mailto:support@delphina.ai). Delphina will use commercially reasonable efforts to respond to all Helpdesk tickets within one (1) business day. # Terms of Use Source: https://docs.delphina.ai/legal/terms-of-use Terms governing use of the Delphina website, sandbox environments, and demo services **Delphina Inc. — Terms of Use** **Last Updated:** March 11, 2026 ## 1. Acceptance of Terms These Terms of Use ("Terms") govern your access to and use of the Delphina platform, including the website at delphina.ai, any associated sandbox environments, demos, APIs, and related services (collectively, the "Service"), provided by Delphina Inc. ("Delphina," "we," "us," or "our"). By accessing or using the Service, you agree to be bound by these Terms. If you do not agree to these Terms, you may not access or use the Service. If you are using the Service on behalf of an organization, you represent and warrant that you have the authority to bind that organization to these Terms. **Eligibility.** You must be at least eighteen (18) years of age to access or use the Service. By using the Service, you represent and warrant that you are at least 18 years old and have the legal capacity to enter into these Terms. If you are under 18, you may not use the Service under any circumstances. ## 2. Description of Service Delphina provides an AI-powered analytics platform that connects to data warehouses and other data sources to enable natural language data analysis. The Service may include public sandbox environments featuring sample datasets, including but not limited to sports and entertainment data (such as NCAA March Madness data), Anthropic usage data, New York City trip data, and other publicly available datasets, for demonstration and evaluation purposes. ## 3. Important Disclaimers Regarding AI-Generated Content **YOU EXPRESSLY ACKNOWLEDGE AND AGREE THAT:** (a) **Not Financial, Betting, or Investment Advice.** The Service, including all outputs, analyses, predictions, insights, and data visualizations generated by or through the Service (collectively, "Outputs"), are provided for informational and entertainment purposes only. Outputs do not constitute and shall not be construed as financial advice, investment advice, betting or gambling advice, trading recommendations, or any other form of professional advice. You should not rely on Outputs to make financial decisions, place wagers, or inform any betting or gambling activity. (b) **No Guarantee of Accuracy.** Outputs are generated by artificial intelligence models and may contain errors, inaccuracies, hallucinations, incomplete information, or outdated data. Delphina does not warrant or guarantee the accuracy, completeness, reliability, or timeliness of any Output. (c) **No Professional Substitute.** The Service is not a substitute for professional financial, legal, medical, or other expert advice. You should always consult qualified professionals before making important decisions based on data analysis of any kind. (d) **Assumption of Risk.** Any reliance you place on Outputs is strictly at your own risk. Delphina shall not be liable for any losses, damages, or harm arising from your use of or reliance on any Output. ## 4. Sandbox and Demo Environments Delphina may offer public sandbox or demo environments that provide access to sample datasets for evaluation and demonstration purposes. These environments are provided on an as-is basis and may be modified, suspended, or discontinued at any time without notice. Data available in sandbox environments may be sample, synthetic, or publicly available data and should not be treated as authoritative or current. Sandbox environments may be subject to usage limitations, including but not limited to query volume limits, session duration limits, and feature restrictions. Delphina reserves the right to restrict or terminate sandbox access at its sole discretion. ## 5. Acceptable Use You agree not to use the Service to: (a) Violate any applicable law, regulation, or third-party right; (b) Scrape, crawl, or use automated means to extract data or content from the Service, except as expressly permitted by Delphina in writing; (c) Reverse engineer, decompile, or attempt to derive the source code, algorithms, or models underlying the Service; (d) Use the Service to build a competing product or service; (e) Redistribute, resell, or sublicense any underlying data, Software, or proprietary content of the Service (for clarity, this restriction does not apply to Outputs you own under Section 6); (f) Introduce viruses, malware, or other harmful code into the Service; (g) Attempt to gain unauthorized access to any part of the Service or its underlying systems; (h) Use the Service in any manner that could damage, disable, overburden, or impair the Service; (i) Access or use the Service from any country or territory subject to comprehensive U.S. economic sanctions (including but not limited to Cuba, Iran, North Korea, Syria, and the Crimea, Donetsk, and Luhansk regions of Ukraine), or if you are a person or entity on the U.S. Treasury Department's Specially Designated Nationals List or any other applicable restricted party list. You represent and warrant that you are not located in, under the control of, or a national or resident of any such country or territory, and are not on any such list. ## 6. Intellectual Property The Service, including all software, algorithms, models, designs, text, graphics, and other content provided by Delphina, is owned by or licensed to Delphina and is protected by intellectual property laws. These Terms do not grant you any right, title, or interest in the Service except for the limited right to use the Service in accordance with these Terms. **Ownership of Outputs.** As between you and Delphina, you own all Outputs generated through your use of the Service. Delphina hereby assigns to you all right, title, and interest in and to such Outputs. Notwithstanding the foregoing, Delphina retains a non-exclusive, royalty-free, worldwide license to use Outputs in aggregated, anonymized, or de-identified form for the purposes of improving and enhancing the Service, conducting internal research, and for other legitimate business purposes. For clarity, this license does not permit Delphina to publish or disclose your individual Outputs to third parties in a form that identifies you. **Customer Data.** If you connect your own data warehouse or provide your own data to the Service pursuant to a separate enterprise agreement, ownership of such data shall be governed by the terms of that agreement. For clarity, publicly available sample data provided in sandbox or demo environments is not "Customer Data" and remains the property of Delphina or its licensors. Delphina retains all rights in and to the Service, the underlying models and algorithms, and any aggregated or anonymized data derived from use of the Service. ## 7. Feedback If you provide Delphina with any suggestions, ideas, feedback, bug reports, feature requests, or other input regarding the Service ("Feedback"), you grant Delphina a worldwide, perpetual, irrevocable, royalty-free, fully paid, sublicensable license to use, reproduce, modify, incorporate, and otherwise exploit such Feedback for any purpose without restriction or compensation to you. Delphina has no obligation to implement any Feedback. ## 8. Data Use and Model Training Except as otherwise provided in an applicable Enterprise Agreement (as defined in Section 17), Delphina will not use your individual queries, inputs, or personal data to train artificial intelligence or machine learning models offered to other users or third parties. Notwithstanding the foregoing, Delphina may collect and use aggregated, anonymized, and de-identified data derived from your use of the Service to improve and enhance the Service, develop new features, conduct internal research, and for other legitimate business purposes. Such aggregated data will not identify you personally and may be used by Delphina without restriction during and after the term of your use of the Service. ## 9. Third-Party Data and Content The Service may incorporate or display data from third-party sources, including but not limited to sports statistics providers, public data sources, and data warehouse platforms. Such third-party data is provided subject to the terms and conditions of the respective data providers. Delphina makes no representations or warranties regarding the accuracy or availability of third-party data. ## 10. Privacy and Confidentiality Your use of the Service is also governed by our [Privacy Policy](/legal/privacy-policy). By using the Service, you acknowledge that you have read and understood the Privacy Policy. Any account information, query history, session data, and other non-public information associated with your use of the Service will be treated as confidential and handled in accordance with the Privacy Policy. Delphina will not disclose your individual account information or usage data to third parties except as described in the Privacy Policy, as required by law, or with your consent. ## 11. Disclaimer of Warranties THE SERVICE IS PROVIDED "AS IS" AND "AS AVAILABLE" WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE, AND NON-INFRINGEMENT. DELPHINA DOES NOT WARRANT THAT THE SERVICE WILL BE UNINTERRUPTED, ERROR-FREE, SECURE, OR FREE OF VIRUSES OR OTHER HARMFUL COMPONENTS. Delphina specifically disclaims any warranty that Outputs will be accurate, complete, current, or suitable for any particular purpose, including but not limited to financial analysis, sports predictions, betting, investment decisions, or any form of wagering. ## 12. Limitation of Liability TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, IN NO EVENT SHALL DELPHINA, ITS AFFILIATES, OFFICERS, DIRECTORS, EMPLOYEES, AGENTS, OR LICENSORS BE LIABLE FOR ANY INDIRECT, INCIDENTAL, SPECIAL, CONSEQUENTIAL, OR PUNITIVE DAMAGES, INCLUDING BUT NOT LIMITED TO LOSS OF PROFITS, DATA, USE, GOODWILL, OR OTHER INTANGIBLE LOSSES, ARISING OUT OF OR RELATING TO YOUR ACCESS TO OR USE OF (OR INABILITY TO ACCESS OR USE) THE SERVICE. TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, DELPHINA'S TOTAL AGGREGATE LIABILITY FOR ALL CLAIMS ARISING OUT OF OR RELATING TO THESE TERMS OR THE SERVICE SHALL NOT EXCEED THE GREATER OF (A) THE AMOUNT YOU PAID TO DELPHINA IN THE TWELVE (12) MONTHS PRECEDING THE CLAIM, OR (B) ONE HUNDRED U.S. DOLLARS (\$100). ## 13. Indemnification You agree to indemnify, defend, and hold harmless Delphina and its affiliates, officers, directors, employees, and agents from and against any claims, liabilities, damages, losses, costs, and expenses (including reasonable attorneys' fees) arising out of or relating to: (a) your violation of these Terms; (b) your violation of any applicable law or third-party right; or (c) any decisions or actions you take based on Outputs. For clarity, ordinary use of the Service in compliance with these Terms shall not give rise to an indemnification obligation. ## 14. Modifications to Terms Delphina reserves the right to modify these Terms at any time. We will notify you of material changes by posting the updated Terms on our website, updating the "Last Updated" date, and, where practicable, providing at least thirty (30) days' advance notice before material changes take effect. Your continued use of the Service after such changes take effect constitutes your acceptance of the revised Terms. If you do not agree to the revised Terms, you may discontinue use of the Service before the changes take effect, and the prior version of the Terms shall govern your use during that notice period. ## 15. Termination Delphina may suspend or terminate your access to the Service at any time for any reason upon fifteen (15) days' prior notice to you, or immediately and without notice if you breach these Terms, engage in conduct that could harm Delphina or other users, or if required by law. You may terminate your use of the Service at any time by discontinuing access. Upon termination by either party, your right to use the Service will cease; however, you will retain ownership of any Outputs generated prior to termination. Sections 3, 6, 7, 8, 10, 11, 12, 13, 16, and 17 shall survive any termination of these Terms. ## 16. Governing Law and Dispute Resolution These Terms shall be governed by and construed in accordance with the laws of the State of California, without regard to its conflict of laws principles. **Mandatory Arbitration.** You and Delphina agree that any dispute, claim, or controversy arising out of or relating to these Terms or the Service (collectively, "Disputes") shall be resolved exclusively through final and binding arbitration, rather than in court, except that either party may bring claims in small claims court if eligible. The arbitration shall be administered by JAMS under its Streamlined Arbitration Rules and Procedures, and shall take place in Santa Clara County, California. The arbitrator's decision shall be final, binding, and enforceable in any court of competent jurisdiction. **Class Action Waiver.** YOU AND DELPHINA AGREE THAT EACH PARTY MAY BRING DISPUTES AGAINST THE OTHER ONLY IN AN INDIVIDUAL CAPACITY AND NOT AS A PLAINTIFF OR CLASS MEMBER IN ANY PURPORTED CLASS, CONSOLIDATED, OR REPRESENTATIVE ACTION. The arbitrator may not consolidate more than one person's claims and may not preside over any form of class or representative proceeding. **Arbitration Fees.** For any Dispute in which you seek relief valued at $10,000 or less, Delphina will pay all JAMS filing, administration, and arbitrator fees. For Disputes seeking relief valued above $10,000, the payment of JAMS fees shall be governed by the JAMS rules. Regardless of the amount in dispute, Delphina will not seek its attorneys' fees or costs in arbitration unless the arbitrator determines that your claim was frivolous or brought in bad faith. **Opt-Out.** You may opt out of this arbitration agreement by sending written notice to Delphina at the address set forth in Section 18 within thirty (30) days of first accepting these Terms. If you opt out, Disputes shall be resolved exclusively in the state or federal courts located in Santa Clara County, California, and you consent to the personal jurisdiction of such courts. ## 17. General Provisions These Terms, together with the Privacy Policy and any other agreements expressly referenced herein, constitute the entire agreement between you and Delphina regarding the Service. If any provision of these Terms is found to be unenforceable, the remaining provisions shall remain in full force and effect. Delphina's failure to enforce any right or provision of these Terms shall not constitute a waiver of such right or provision. You may not assign or transfer these Terms without Delphina's prior written consent. Delphina may assign these Terms without restriction. **Relationship to Enterprise Agreements.** In the event that you or your organization have entered into a separate Master Services Agreement, Services Agreement, or other enterprise agreement with Delphina (each, an "Enterprise Agreement") — including Delphina's [Terms of Service](/legal/terms-of-service) — the terms of the Enterprise Agreement shall govern your use of the Service to the extent of any conflict with these Terms. These Terms shall apply to any features, environments, or aspects of the Service not expressly covered by the Enterprise Agreement. ## 18. Contact Information If you have any questions about these Terms, please contact us at: Delphina Inc. 74 Banks Street, San Francisco, CA 94110 [info@delphina.ai](mailto:info@delphina.ai) # Anthropic Economic Index Source: https://docs.delphina.ai/sandbox/anthropic-economic-index Explore occupational AI adoption patterns, autonomy levels, and geographic distributions The Anthropic Economic Index (AEI) is a snapshot of how people actually use AI — which occupational tasks it handles, how often it succeeds, how autonomous it is, and where in the world it's being used. The data links observed Claude usage to real occupations via O\*NET task classifications. ## At a glance | | | | - | - | | **Schema** | `ANTHROPIC.ECONOMIC_INDEX` | | **Platforms** | 1P API (developer integrations) and Claude.ai Free/Pro (consumer) | | **Data window** | November 13-20, 2025 (one-week static snapshot) | | **Refresh** | None — this is a fixed release | | **Geography** | Global, country, and state level (state-level for Claude.ai only) | | **Source** | [Anthropic Economic Index](https://www.anthropic.com/research/the-anthropic-economic-index) research paper | > [!NOTE] > > This measures AI task-usage patterns, not wages or employment. The API and Claude.ai channels serve different populations (developers vs consumers) — treat them separately unless you're explicitly comparing. ## Tables | Table | Description | Rows | | - | - | - | | `AEI_1P_API_METRICS` | API channel (developer integrations) | 187,772 | | `AEI_CLAUDE_AI_METRICS` | Claude.ai channel (Free and Pro users) | 458,778 | Both tables have the same schema. The Claude.ai table is larger because it includes country and state-level geographic breakdowns (the API table is global-only). ## How the data is structured Each row is one metric observation. The key columns: | Column | What it is | | - | - | | `FACET` | The dimension being measured (e.g. `onet_task::use_case`, `request::collaboration`) | | `LEVEL` | Hierarchy depth (0, 1, or 2). **Don't aggregate across levels.** | | `VARIABLE` | What `VALUE` represents — a count, percentage, mean, index, etc. | | `CLUSTER_NAME` | Category bucket (empty for scalar metrics; populated for categorical breakdowns) | | `VALUE` | The metric value | | `GEO_ID` / `GEOGRAPHY` | Geographic grain: global, country, or country-state | ### Types of metrics The data includes counts (volume), percentages (shares), averages, index values (ratio vs global average, where 1.0 = average), confidence intervals, and distribution histograms. ### What's measured | Category | Metrics | | - | - | | **Activity** | Use-case distribution (work / personal / coursework), request counts by cluster | | **Outcomes** | Task success rate, time savings vs human-only, O\*NET task success by task type | | **Collaboration** | Mode share (directive / feedback loop / validation), human-only ability share | | **Complexity** | Education-year proxy for difficulty, AI autonomy levels, O\*NET task counts | | **Geography** | Usage by country/state, coverage counts | ## Try asking ### Use-case mix * "What share of Claude.ai usage is work vs personal vs coursework?" * "Top use-case clusters by volume on the API?" * "How does the use-case mix differ between API and Claude.ai?" ### Task outcomes * "Overall task success rate on each platform?" * "Which O\*NET tasks does AI complete most successfully?" * "How much time does AI save vs human-only completion?" ### Complexity and autonomy * "What education level are the tasks AI is handling?" * "How does AI autonomy differ between API and Claude.ai?" * "Which tasks require the most education years?" ### Collaboration * "What share of interactions are directive vs feedback loop vs validation?" * "How many tasks are flagged as requiring uniquely human ability?" ### Geography * "Which countries use Claude.ai the most?" * "Top US states by usage volume?" * "How many countries are represented?" ## Good to know | Note | Detail | | - | - | | **One-week snapshot** | All data is from November 13-20, 2025. There are no trends over time — just a single week. | | **Don't mix hierarchy levels** | The data has three hierarchy levels (0, 1, 2) that represent different cuts of the same data. Comparing across levels can be misleading. | | **Two different audiences** | API users are developers building integrations. Claude.ai users are individuals. Comparing them directly can be misleading. | | **API is global-only** | Country and state breakdowns only exist in the Claude.ai table. | | **Not about jobs or wages** | This tracks what tasks AI is doing, not whether it's replacing jobs or affecting pay. | # FIFA World Cup 2026 Source: https://docs.delphina.ai/sandbox/fifa-world-cup-2026 Comprehensive historical & predictive data for the 2026 FIFA World Cup — covering all 22 editions (1930–2022), 49,000+ international matches, and a full 48-team 2026 pre-tournament snapshot. # ⚽ FIFA World Cup 2026 Dataset Comprehensive historical & predictive data for the 2026 FIFA World Cup — covering all 22 editions (1930–2022), 49,000+ international matches, live tournament data with 4× daily refresh, and betting odds from multiple US bookmakers. *** ## Overview & Business Goals This is a public sandbox dataset for individuals exploring the Delphina analytics product. It covers international men's football (soccer) with a focus on the FIFA World Cup — both historical (1930–2022) and the live 2026 edition. ### Business Goals * Support fans asking about World Cup history, team records, and match results * Enable 2026 tournament research — groups, predictions, qualifying stats, coaches * Provide historical depth for cross-tournament comparisons and all-time records * Support match predictions using betting odds, FIFA rankings, ELO ratings, and qualifying form * Track live tournament performance via detailed match statistics and editorial recaps ### Key Entities | Entity | Volume | What's Included | | - | - | - | | Matches | 49,000+ | International results with scores, venue, and tournament context | | Goals | 47,600+ | Individual goal events with scorer, minute, and type (penalty/own goal) | | Teams | 48 | Qualified nations for 2026 with rankings, squad values, and qualifying stats | | Tournaments | 22 | World Cup editions (1930–2022) with champions, top scorers, and formats | | Coaches | 48 | Head coaches with tactical profiles, career background, and WC experience | | Shootouts | 678 | Penalty shootout records from 1967 to present | | Betting Odds | Daily | Bookmaker odds for match outcomes and outright tournament winner | | Match Stats | Per match | Possession, shots, passes, tackles for every 2026 WC match | *** ## Example Questions You Can Ask > [accordion] Market vs Model Disagreements > > * Which upcoming matches have the biggest gap between the pre-tournament model's win probability and current betting market odds? > * Which teams have seen their outright winner odds move the most since the tournament started — and does their actual match performance justify it? > * Are there any matches where the bookmaker spread disagrees with what the ELO ratings would predict? > [accordion] Performance Analytics > > * Which teams are outperforming their pre-tournament qualification probability — and which are underperforming relative to group difficulty? > * Compare possession dominance vs actual results: are high-possession teams converting into wins this tournament? > * Which group has the tightest goal difference spread heading into the final matchday — and what are the tiebreaker scenarios? > * Show me teams whose shot conversion rate (goals / shots on target) is significantly above or below tournament average. > [accordion] Historical Patterns > > * How does the 2026 goals-per-match rate compare to every previous World Cup edition? Is the expanded format producing more or fewer goals? > * Which teams have historically overperformed their FIFA ranking at World Cups (reached further than seeding would suggest)? > * Are debut teams in 2026 performing better or worse than debut teams have historically in their first World Cup? > * Which coaches with prior WC experience are winning at a higher rate this tournament vs their career WC record? > [accordion] Predictions & Simulations > > * Based on current group standings and remaining fixtures, what's the probability of each third-place team qualifying for the Round of 32? > * If we simulate the bracket 10,000 times from the current state, which teams have the easiest knockout path to the Final? > * Which teams' qualifying campaign (GF/GA/form) was most predictive of their actual 2026 group stage performance? > [accordion] Head-to-Head & Context > > * For upcoming knockout matchups, what's the all-time World Cup head-to-head record between the two teams — and how do their current ELO ratings compare to their historical meetings? > * Which confederation is outperforming its historical World Cup win rate this tournament? *** ## 2026 Tournament Quick Facts | Detail | Info | | - | - | | Dates | June 11 – July 19, 2026 | | Hosts | United States, Canada, Mexico (tri-hosted) | | Teams | 48 (first expanded format — previously 32) | | Groups | 12 groups (A–L) of 4 teams each | | Total Matches | 104 | | Format | Group stage → Round of 32 → Round of 16 → QF → SF → Final | | Advancement | Top 2 per group (24) + 8 best third-place teams → 32 in knockout | | Final Venue | MetLife Stadium, New Jersey | | Opening Match | Mexico vs South Africa, Estadio Azteca | | Defending Champion | Argentina | | Host Cities | 16 cities across 3 countries (11 USA, 2 Canada, 3 Mexico) | | Debut Teams | Curaçao, Cape Verde, Uzbekistan, Jordan | *** ## Data Sources & Refresh > [!NOTE] > > Live data (match results, stats, betting odds) refreshes **4 times daily** at noon, 4 PM, 8 PM, and midnight PST. All completed match data through yesterday is always available. | Source | Covers | Refresh | | - | - | - | | [The Odds API](https://the-odds-api.com/) | Live betting odds — outright winner + match markets | 4× daily | | ESPN | Match results, goals, cards, shootouts, detailed match stats, post-match recaps | 4× daily | | [Kaggle: International Football Results](https://www.kaggle.com/datasets/martj42/international-football-results-from-1872-to-2017) | Historical match archive (1872–2025) | One-time load | | [Kaggle: Ultimate FIFA WC Dataset](https://www.kaggle.com/datasets/nawfeelrahman1124444/the-ultimate-fifa-world-cup-dataset-1930-to-2026) | Groups, predictions, historical WC stats, coaches | One-time load | | FIFA official rankings (April 2026) | Current team rankings | Static snapshot | | Transfermarkt | Squad market values | Static snapshot | *** ## What's in the Dataset > [tab] Live Match Data > > Updated 4× daily as matches are played. Covers **all international football**, not just World Cup — but easily filtered to WC only. > > | Data | What's Included | > | - | - | > | **Match Results** | Every international match since 1872. Scores, tournament type, venue, neutral flag. \~49,000+ matches. | > | **Goal Scorers** | Every goal since 1916. Scorer name, minute, penalty/own goal flags. \~47,600+ goals. | > | **Shootouts** | All penalty shootout outcomes since 1967. Winner, teams involved. \~678 records. | > | **Cards** | Red cards and second yellows. Player, team, minute. | > | **Team Name History** | Maps old team names (e.g., "Zaire" → "DR Congo", "Soviet Union" → "Russia") for historical queries. | > [tab] 2026 Match Analytics > > Grows as the tournament progresses. **WC 2026 matches only.** > > | Data | What's Included | > | - | - | > | **Match Stats** | Per-team stats for every completed match: possession %, shots (total + on target), passes (total + accurate), tackles, interceptions, clearances, crosses, long balls, corners, fouls, offsides, saves. | > | **Match Recaps** | ESPN editorial post-match articles: headline, full story, byline. | > [tab] Betting Odds > > Updated 4× daily from multiple US bookmakers (DraftKings, FanDuel, BetMGM, Bovada, etc.). > > | Data | What's Included | > | - | - | > | **Match Odds** | Win/draw/loss probabilities (moneyline), point spreads (Asian handicap), over/under totals for each match. Available from June 12, 2026. | > | **Outright Winner** | Tournament winner probabilities per team, tracked daily to show how odds shift. Available from June 20, 2026. | > [tab] 2026 Pre-Tournament > > Static reference data — set before the tournament began. > > | Data | What's Included | > | - | - | > | **Fixtures** | Full 104-match schedule with dates, kickoff times, stadiums, stages, group assignments. | > | **Groups** | All 48 teams with group assignment, FIFA rank, ELO rating, squad market value, WC history, key player. | > | **Team Profiles** | Confederation, qualification method, debut status, host nation flags. | > | **Predictions** | ML model features: rankings, recent form, squad age/value, coach experience, pre-tournament win probability. | > | **Group Difficulty** | Opponent strength metrics, difficulty index, estimated qualification probability per team. | > | **Qualifying Stats** | Goals scored/conceded, points, W/D/L record, win rate from each team's qualifying campaign. | > | **Coaches** | Manager nationality, age, tactical style, WC coaching experience, career achievements. | > [tab] Historical World Cup > > All-time World Cup data across 22 editions (1930–2022). > > | Data | What's Included | > | - | - | > | **Tournament Summary** | Each WC edition: host, champion, runner-up, top scorer, goals/match, average attendance, format era. | > | **Team All-Time Stats** | Cumulative WC record per nation: appearances, W/D/L, total goals, win rate, best finish, titles. | > | **Team Appearances** | Per-team per-tournament: stage reached, W/D/L, goals, ELO rating, group assignment. | > | **Key Matches** | 117 curated historical matches (finals, semis, notable knockouts) with pre-match ELO ratings. | > | **Head-to-Head** | WC-specific H2H records between 19 historically prominent nations. | > | **Top Scorers by Edition** | Top 3 scorers per WC with goals, assists, position, and notes. | *** ## Tournament Format > [card] Group Stage > > 48 teams in 12 groups of 4. Each team plays 3 matches (round-robin). 72 total group matches. > [card] Advancement > > Top 2 per group (24 teams) + 8 best third-place teams = 32 teams advance to knockouts. > [card] Knockout Rounds > > Round of 32 → Round of 16 → Quarter-Finals → Semi-Finals → Third-Place → Final. ### Points & Rules * **Win:** 3 points | **Draw:** 1 point | **Loss:** 0 points * Extra time + penalties in knockout stages only (no golden goal) * Last two group matches kick off simultaneously * 5 substitutes allowed per team (6 in extra time) ### Group Stage Tiebreakers **1. Head-to-Head Record** Points, goal difference, then goals scored — only in matches between the tied teams. **2. Overall Record** Goal difference, then goals scored across all group matches. **3. Conduct Score** Fewer accumulated card deductions (yellow = -1, direct red = -4, etc.). **4. FIFA Ranking** Most recent published FIFA World Ranking as final tiebreaker. ### Best Third-Place Ranking The 8 best third-placed teams (out of 12) are compared across groups using: points → goal difference → goals scored → conduct score → FIFA ranking. No head-to-head since teams are from different groups. *** ## Prediction Methodology > [!NOTE] > > **Betting market odds are the most reliable predictor** of match outcomes. They aggregate all available information (form, injuries, tactics, weather) and are updated multiple times daily. ### Signal Priority | Priority | Signal | Source | | - | - | - | | 1 (Best) | Betting market odds | BETTING\_ODDS\_MATCH — implied probabilities from bookmakers | | 2 | FIFA World Ranking | April 2026 official rankings (1 = France, 88 = New Zealand) | | 3 | Recent form | Last 10 match results + actual tournament performance stats | | 4 | Qualifying campaign | Goals scored/conceded, points earned during qualifiers | | 5 | ELO ratings | Background context — not primary predictor | ### Betting Market Types | Market | What It Predicts | | - | - | | Moneyline (H2H) | Who wins the match (home / draw / away) | | Spreads | Margin of victory (e.g., Team A to win by 2+ goals) | | Totals | Over/under on combined goals scored | ### Pre-Tournament Model A static ML model generated win probabilities before the tournament started. Top picks: France (14.2%), followed by Brazil, Argentina, England, Germany, and Spain (5%+each). > [!WARNING] > > Pre-tournament model probabilities become stale once live results are available. Always prefer current betting odds for forward-looking predictions. *** ## Tournament Rules > [accordion] Substitutions > > * **5 substitutes** allowed per team (from 15 named subs) > * Maximum **3 substitution windows** per half (half-time doesn't count) > * **+1 additional sub** in extra time (6th total) with +1 window > * Concussion substitution does not count toward limits > [accordion] Card Suspensions > > * 2 yellows in 2 different matches → automatic 1-match ban > * Direct red → automatic 1-match ban + possible further sanctions > * **Yellow card reset after group stage** (all accumulated yellows cleared) > * **Second reset after quarter-finals** (cannot be banned from SF/Final on accumulated yellows) > [accordion] Extra Time & Penalties > > * 2 × 15 minutes extra time if tied after 90 minutes > * Penalty shootout if still tied after extra time > * 5-minute break before extra time begins > * Knockout stage only — group matches can end in a draw > [accordion] Awards > > * **Golden Boot:** Top scorer (tiebreak: most assists → fewer minutes played) > * **Golden Ball:** Best player (selected by FIFA Technical Study Group) > * **Golden Glove:** Best goalkeeper > * **Young Player Award:** Best player born on/after January 1, 2005 *** ## Confederation Breakdown (48 Teams) | Confederation | Count | Teams | | - | - | - | | UEFA | 16 | France, Spain, Germany, England, Portugal, Netherlands, Belgium, Italy, Croatia, Denmark, Switzerland, Austria, Türkiye, Serbia, Scotland, Wales | | CAF | 12 | Morocco, Senegal, Nigeria, Egypt, Cameroon, South Africa, Algeria, Ivory Coast, Mali, DR Congo, Cape Verde, Tanzania | | AFC | 9 | Japan, Iran, South Korea, Australia, Saudi Arabia, Qatar, Uzbekistan, Jordan, Iraq | | CONMEBOL | 6 | Argentina, Brazil, Uruguay, Colombia, Ecuador, Paraguay | | CONCACAF | 6 | USA, Mexico, Canada, Panama, Jamaica, Haiti | | OFC | 1 | New Zealand | *** ## Known Limitations > [!WARNING] > > Keep these in mind when interpreting results. | Limitation | Impact | | - | - | | Pre-tournament win probabilities sum to \~132.5% | Not calibrated — use betting odds for current predictions instead | | Historical squad market values (pre-2002) are estimates | Directional only, not precise | | Cards data tracks only red cards and second yellows | First-time standalone yellows not individually recorded (but yellow counts per match are in Match Stats) | | Some historical goals (\~256) have no recorded minute | Older matches with incomplete data | | Head-to-head table covers only 19 prominent nations | Use full match results for teams not in the curated H2H set | # NCAA Men's Basketball Source: https://docs.delphina.ai/sandbox/ncaa-basketball 11 seasons of D1 basketball — game results, player box scores, advanced analytics, and Polymarket prediction market odds across 368 programs 11 seasons of Division I men's basketball (2015-16 through 2025-26) — 368 D1 programs, 22,000+ players, 64,000+ games, and 20 million play-by-play events. The current season is live and refreshed daily. Also includes **Polymarket prediction market data** — real-money betting odds for tournament winner, conference champions, #1 seeds, player awards, and more, with hourly price history. Refreshed daily. ## At a glance | | | | - | - | | **Schema** | `SPORTS.NCAA` | | **Seasons** | 2015-16 through 2025-26 (season ID = ending year, so `SEASON = 2026` is 2025-26) | | **Current season** | 2025-26 (live, refreshed daily) | | **Sources** | [Barttorvik / T-Rank](https://barttorvik.com/) (advanced stats, efficiency ratings, predictions), ESPN (play-by-play), and [Polymarket](https://polymarket.com/) (prediction market odds) | ## Tables | Table | Description | Rows | | - | - | - | | `DIM_SEASON` | Season lookup (ID to label mapping) | 11 | | `DIM_TEAM` | D1 teams with conference and ESPN ID | 368 | | `FACT_TEAM_SEASON_RATINGS` | Adjusted efficiency, four factors, WAB per team per season | 3,918 | | `FACT_SCHEDULE` | Every game: scores, pace, predictions, site info | 64,249 | | `FACT_TEAM_GAME_STATS` | Team box scores + point-in-time ratings per game | 128,024 | | `FACT_PLAYER_GAME_LOG` | Player box scores + advanced stats per game | 1,178,855 | | `FACT_PLAYER_SEASON_STATS` | Player season aggregates + advanced metrics | 53,670 | | `FACT_GAME_PREDICTIONS` | T-Rank predicted vs actual scores | 64,009 | | `FACT_TOURNAMENT_SEEDS` | NCAA Tournament seeds, regions, play-in flags | 612 | | `FACT_PBP` | Play-by-play events with shot coordinates | 20,926,885 | | `POLYMARKET_EVENTS` | Polymarket betting events (tournament winner, conference champs, awards) | 32 | | `POLYMARKET_MARKETS` | Individual outcomes within events (one per team/player) | 385 | | `POLYMARKET_PRICE_HISTORY` | Hourly price (implied probability) history per market | 129,001 | ## Table details ### Dimensions **`DIM_SEASON`** — Maps season IDs to labels (e.g. 2026 is "2025-26"). **`DIM_TEAM`** — 368 D1 teams with canonical names, conference, and ESPN ID. About 15-20% of games are against non-D1 opponents who don't appear here. ### Games and team stats **`FACT_SCHEDULE`** — One row per game with scores, winner, date, pace, T-Rank predicted scores, point-in-time rankings, and neutral-site flag. **`FACT_TEAM_GAME_STATS`** — Two rows per game (one per team). Full box score plus Barttorvik ratings *at game time* — useful for tracking how a team was rated at any point in the season. **`FACT_GAME_PREDICTIONS`** — T-Rank pre-game predicted scores alongside actuals. These are statistical model outputs, not betting lines. ### Team season analytics **`FACT_TEAM_SEASON_RATINGS`** — The richest team table. One row per team per season with adjusted efficiency, power rating (Barthag), all four factors (offense + defense with ranks), shooting splits, strength of schedule, and Wins Above Bubble. ### Player stats **`FACT_PLAYER_GAME_LOG`** — One row per player per game (22,000+ players, 57,000+ games). Traditional box score plus advanced metrics like offensive rating, usage rate, and game-level BPM. **`FACT_PLAYER_SEASON_STATS`** — Season-level aggregates with BPM, PORPAG, true shooting percentage, shot-zone breakdowns, and player bio (height, hometown, recruit rating). ### Tournament and play-by-play **`FACT_TOURNAMENT_SEEDS`** — 68 teams per year: seed (1-16), region, and play-in flag. Covers 2016-2019 and 2021-2025 (2020 cancelled; 2026 not yet available). **`FACT_PBP`** — 20M+ play-by-play events from ESPN. Every shot, foul, turnover, sub, and timeout with scoring flags, running score, game clock, and shot coordinates. ### Polymarket prediction markets **`POLYMARKET_EVENTS`** — One row per betting event (e.g. "2026 NCAA Tournament Winner", "NCAAB Conference Winner: ACC"). Includes total trading volume and liquidity. **`POLYMARKET_MARKETS`** — One row per outcome within an event. For team-based events, each row is one team; for player awards, each row is one player. The current price represents the implied probability (0-1) — a price of 0.16 means the market implies a 16% chance. **`POLYMARKET_PRICE_HISTORY`** — Hourly price observations per market. Useful for tracking how odds shift over time. History goes back to when each market was created (typically early February 2026). 262 of 368 teams have a Polymarket name mapping, so you can ask about how betting odds compare to statistical ratings. ## Key metrics Box scores tell you what happened. Advanced analytics tell you how good a team or player actually *is* — adjusting for pace and opponent quality. Scoring 80 against a weak team at a fast pace is very different from 80 against an elite defense in a slow game. ### Team metrics (in `FACT_TEAM_SEASON_RATINGS`) | Metric | Column | What it tells you | | - | - | - | | **Adjusted Offensive Efficiency** | `ADJ_O` | Points per 100 possessions, adjusted for opponent defense. D1 average \~100; elite: 120+. | | **Adjusted Defensive Efficiency** | `ADJ_D` | Points allowed per 100 possessions. **Lower is better.** D1 average \~100; elite: below 90. | | **Barthag** | `BARTHAG` | Probability of beating an average D1 team on a neutral court (0-1). Top-10 teams: 0.95+. The single best "how good is this team?" number. | | **Adjusted Tempo** | `ADJ_T` | Possessions per 40 minutes. D1 average \~68. Only available from 2023 onward. | | **Wins Above Bubble** | `WAB` | Wins above what a bubble team would get with the same schedule. The go-to metric for tournament selection debates. | | **Strength of Schedule** | `SOS` | Opponent difficulty (0-1). Also split into conference (`CON_SOS`) and non-conference (`NC_SOS`). | ### The Four Factors Dean Oliver's framework for why teams win. All tracked on offense and defense, each with a national rank. | Factor | Offense / Defense | What it measures | | - | - | - | | **Effective FG%** | `OFF_EFG` / `DEF_EFG` | Shooting efficiency weighted for threes. Most important factor (\~40% of winning). | | **Turnover Rate** | `OFF_TO` / `DEF_TO` | Turnovers per possession. Lower is better on offense; higher on defense. | | **Offensive Rebound Rate** | `OFF_OR` / `DEF_OR` | Second-chance opportunities. | | **Free Throw Rate** | `OFF_FTR` / `DEF_FTR` | FTA relative to FGA. Least impactful overall, but matters in close games. | ### Player metrics (in `FACT_PLAYER_SEASON_STATS`) | Metric | Column | What it tells you | | - | - | - | | **Offensive Rating** | `ORTG` | Points per 100 possessions used. D1 average \~107; elite: 120+. | | **Usage Rate** | `USAGE_RATE` | Share of team possessions used while on floor. Stars: 25-35%. | | **Box Plus/Minus** | `BPM` / `OBPM` / `DBPM` | Points per 100 possessions above average. 0 = average, +5 = very good, +10 = generational. | | **PORPAG** | `PORPAG` | Points Over Replacement Per Adjusted Game. Top players: 6-8+. | | **True Shooting %** | `TS_PCT` | Overall shooting efficiency (2P + 3P + FT combined). | Shot-zone breakdowns (rim, mid-range, three, dunk, layup) are also available for profiling a player's shot selection. ## Try asking ### Team strength * "Who are the top 10 teams by Barthag this season?" * "How does Duke's offensive efficiency compare to North Carolina's over the last 5 years?" * "Which conferences are strongest by AdjO and AdjD?" ### Predictions and upsets * "How accurate are T-Rank predictions this season?" * "What were the biggest upsets by rank difference?" * "Which team has outperformed predictions the most?" ### Player performance * "Who leads the nation in scoring (min 10 games)?" * "Show Cooper Flagg's game-by-game stats." * "Top 5 players by BPM in the ACC?" ### Play-by-play * "Three-point shooting in clutch situations (last 2 min, margin within 5)?" * "Shot distribution: top-10 vs bottom-10 offenses?" * "Which teams score the most in overtime?" ### March Madness * "Which teams have been #1 seeds the most since 2016?" * "What seed produces the most upsets historically?" * "Show me bubble teams by WAB." ### Prediction markets (Polymarket) * "Who does Polymarket favor to win the tournament?" * "How have Duke's tournament odds changed over the last month?" * "Compare Polymarket odds to Barthag rankings — where does the market disagree with the stats?" * "Which conference champion markets have the most liquidity?" ## Good to know | Note | Detail | | - | - | | **Polymarket odds ≠ sportsbook lines** | Polymarket prices are prediction market probabilities, not traditional sportsbook spreads or moneylines. T-Rank predictions are separate statistical model outputs. | | **Polymarket refresh** | Polymarket data is refreshed daily. Price history is at hourly granularity and grows as new observations are added each day. | | **Polymarket team matching** | Most teams have a Polymarket name mapping. Some markets are player-based (awards) and aren't linked to teams. | | **Non-D1 opponents** | \~15-20% of games are against non-D1 teams. They appear in game tables but not `DIM_TEAM`. | | **Adjusted tempo** | `ADJ_T` is only available from the 2023 season onward. | | **2020 tournament** | Cancelled (COVID-19). No seed data for that season. | | **2021 season** | Shortened to \~4,300 games (normally \~6,000). Not directly comparable without normalization. | # NYC Taxi & Rideshare Source: https://docs.delphina.ai/sandbox/nyc-taxi-rideshare Billions of trip records across yellow taxis, green taxis, Uber, and Lyft since 2019 Every regulated for-hire vehicle trip in New York City, published by the NYC Taxi & Limousine Commission (TLC). 2.2 billion+ trip records across yellow taxis, green taxis, Uber, Lyft, and traditional car services from 2018/2019 through early 2026. ## At a glance | | | | - | - | | **Schema** | `TLC_DATA.RAW` | | **Services** | Yellow Taxi, Green Taxi, Rideshare (Uber & Lyft), Car Service (livery/black car) | | **Date range** | 2018/2019 through late 2025/early 2026 (varies by service) | | **Refresh** | Periodic from TLC open data (published monthly, 1-3 month lag) | | **Timezone** | All timestamps in NYC local time (Eastern) | | **Source** | [NYC TLC Trip Record Data](https://www.nyc.gov/site/tlc/about/tlc-trip-record-data.page) | Latest data by service: | Service | Latest month | | - | - | | Rideshare | January 2026 | | Car Service | December 2025 | | Yellow Taxi | November 2025 | | Green Taxi | December 2025 | ## Tables | Table | Description | Rows | | - | - | - | | `TLC_YELLOW_TRIPS` | Metered yellow cab trips | \~298M | | `TLC_GREEN_TRIPS` | Green taxi (Boro Taxi) trips | \~12M | | `TLC_FHVHV_TRIPS` | Uber and Lyft trips | \~1.5B | | `TLC_FHV_TRIPS` | Livery and black car trips (no fare data) | \~407M | | `TAXI_ZONE_LOOKUP` | Zone-to-neighborhood mapping | 265 | ## How the four services compare | Service | How it works | Fare data | Watch out | | - | - | - | - | | **Yellow Taxi** | Metered street-hail, mostly Manhattan | Full: meter fare, tip, tolls, surcharges | Tips only captured on credit card | | **Green Taxi** | Street-hail in outer boroughs + upper Manhattan | Full (same as yellow) | Much lower volume; has street-hail vs dispatch flag | | **Rideshare** | App-dispatched (Uber \~75%, Lyft \~25%) | Both sides: passenger fare + driver pay | 1.5B rows — always filter on `FILE_YEAR_MONTH` | | **Car Service** | Base-dispatched livery and black car | None — trip counts and locations only | No fare or payment info at all | ## Table details ### Yellow taxis — `TLC_YELLOW_TRIPS` \~298M rows, Jan 2019 through Nov 2025. Metered yellow cab trips with full fare breakdowns (meter fare, tips, tolls, surcharges), trip distance, passenger count, and payment type. Tips are only captured on credit card payments. ### Green taxis — `TLC_GREEN_TRIPS` \~12M rows, Jan 2019 through Dec 2025. Boro taxis authorized for street-hail in outer boroughs and upper Manhattan. Same fare structure as yellow taxis, with an additional flag distinguishing street-hail from dispatch trips. ### Rideshare — `TLC_FHVHV_TRIPS` \~1.5B rows, Feb 2019 through Jan 2026. Every Uber and Lyft trip. Includes both what the passenger paid and what the driver received, so you can analyze platform take rates. Also includes pooled ride flags, wheelchair accessibility data, and timestamps for request, arrival, pickup, and dropoff. ### Car service — `TLC_FHV_TRIPS` \~407M rows, Jan 2018 through Dec 2025. Traditional livery and black car trips. No fare data — trip counts and locations only. ### Zone lookup — `TAXI_ZONE_LOOKUP` 265 rows, static. Maps zone IDs to borough, neighborhood, and service zone (Yellow Zone, Boro Zone, Airports, EWR). ## Useful analyses * **Platform take rate:** How much does Uber/Lyft keep per trip vs what the driver receives? * **Tip patterns:** Average tip rate on credit card taxi trips, and how it varies by trip length or time of day. * **Revenue per mile:** How do fares compare across services and boroughs? * **Congestion pricing impact:** Compare trip volumes and fares before/after the January 2025 CBD fee launch. * **Market share:** Trip counts across all four services over time. ## Try asking ### Market trends * "How has total NYC trip volume changed since 2019?" * "What's Uber's vs Lyft's market share over time?" * "How did rideshare recover after COVID?" ### Fares and revenue * "Average yellow taxi fare by month this year?" * "How much does Uber keep per trip vs what the driver gets?" * "Total taxi fare revenue trend year over year?" ### Geography * "Which borough has the most rideshare pickups?" * "JFK vs LaGuardia airport trips per month?" * "Average fare for a Manhattan-to-JFK taxi ride?" ### Congestion pricing * "CBD congestion fee revenue since the January 2025 launch?" * "Congestion surcharge trend for Manhattan trips?" * "What share of Uber rides are pooled?" ### Tipping * "Average tip rate on credit card yellow taxi trips?" * "Has contactless/tap-to-pay grown over time?" * "Do riders tip more on longer trips?" ## Good to know | Note | Detail | | - | - | | **Cash tips invisible** | Taxi tip data only covers credit card payments. Cash tips aren't recorded. | | **Rideshare is huge** | 1.5B+ rows. Always filter on `FILE_YEAR_MONTH` or queries will be slow. | | **Car service = no fares** | `TLC_FHV_TRIPS` has trip counts and locations only. | | **CBD fee is new** | Manhattan congestion pricing started January 2025. `CBD_CONGESTION_FEE` only exists from that month onward. | | **COVID gap** | Trip volumes cratered in 2020. Watch out for year-over-year comparisons spanning 2019-2021. | # Security & Deployment Source: https://docs.delphina.ai/security How Delphina protects your data and where it runs How Delphina protects your data, controls access, and where it runs. ## Data handling * **Read-only access** — the agent cannot modify your warehouse data. * **No persistent data storage** — query results are stored in S3 within your deployment. The control plane stores only metadata. * **Credential security** — warehouse credentials are encrypted at rest, decrypted only when establishing a connection. * **Workspace isolation** — each workspace uses its own credentials. See [Workspaces](/workspaces). ## Access controls * **SSO authentication** — Google Workspace, Okta, or other SAML/OIDC providers. No separate passwords. * **Role-based access** — Explorer, Developer, Admin per workspace. See [User Management](/administration/user-management). * **Organization boundaries** — no cross-organization access. ## Compliance * **SOC 2 Type II** — audited controls for security, availability, and confidentiality. * **HIPAA** — available for customers with healthcare data requirements. * **No model training** — your data is never used to train AI models. ## Deployment options | Option | Description | | - | - | | **Multi-tenant SaaS** | Shared infrastructure with logical isolation. Most organizations. | | **Single-tenant** | Dedicated AWS account + EKS cluster. Complete physical isolation. | | **VPC deployment** | Runs within your own AWS account. Data never leaves your network. | Contact the Delphina team to discuss options. ## LLM usage * Query context (schemas, metric definitions, results) is sent to the LLM to generate SQL and interpret results. * No data is used for training — commercial API agreements prohibit it. * Data is not persisted by LLM providers beyond the request lifetime. * Available providers include Anthropic via AWS Bedrock. # Evaluations & Quality Source: https://docs.delphina.ai/trust-and-quality/evaluations Measure and improve the accuracy of the analytics agent Delphina auto-generates test cases from your [knowledge base](/knowledge-agent/maintenance), runs them against your data, and an LLM judge scores each response. When a test fails, it points directly to a gap in your documentation — fix the gap with `/knowledge`, and the next run passes. The [critic agent](/analytics-agent/critic) also reviews each chat response in the background, scoring how trustworthy the answer is and flagging ungrounded context and unsafe assumptions directly on the response. ## How evaluations work An evaluation suite consists of **test cases** — each with a **prompt** (e.g., "What was MRR last month?"), **ground truth SQL**, and **acceptance criteria** that the judge scores against. 1. The agent answers each question, exactly as it would for a user. 2. An LLM judge scores each response against the ground truth and acceptance criteria. 3. Results are collected into a **run** with an overall pass rate and per-case details. Runs are started on demand from **Context Factory > Evaluations** — click **New Run** and pick which cases to include (see [Running evaluations](#running-evaluations)) — typically after merging a knowledge update or fixing issues. ## Viewing your evaluation suite **Context Factory > Evaluations** has two tabs: * **Test Cases** — your suite. Search cases by name or prompt, or download the whole suite as CSV. Open a case to see its prompt, ground truth SQL, expected output with per-column acceptance criteria, the **critical knowledge** documents it depends on (linked into the knowledge base), and an explanation of what the case tests. * **Runs** — every past and in-progress run, with its score, status, and duration. Eval cases live in your knowledge base under the `evals/` namespace, so they are versioned like any other document — a case's page shows which version you're looking at. ## Creating evaluations You can create evaluations automatically, from a chat, or with more control over the process. You can also edit an existing case's prompt, SQL, and criteria directly on its page with **Edit**. ### Automatic Start a new chat and send: ```text theme={null} /knowledge Create evals ``` This starts a guided session: the agent analyzes your knowledge base, plans a prioritized set of test cases, and builds them in the same session. You can review the plan in the chat and ask the agent to adjust it before the cases are built. If you have existing evaluations or specific questions you want tested, upload them at **Context Factory > Sources > File Uploads** before sending the prompt. The agent incorporates these alongside what it discovers from your knowledge base. ### From a chat Create or update individual cases using `/knowledge`: ```text theme={null} /knowledge Create an eval case that tests whether the agent correctly calculates MRR using the subscriptions table with status = 'active'. ``` ```text theme={null} /knowledge Update the churn rate eval case — the definition changed to include customers inactive for 60 days instead of 90. ``` You can also share a file with test ideas directly in the chat. ### Custom For more control and custom context, describe what you want in a `/knowledge` chat — the agent builds a prioritized plan from your inputs and generates the cases once you confirm: ```text theme={null} /knowledge Create evals from the questions and sql queries in [[raw/eval-ideas/]] ``` ```text theme={null} /knowledge Create evals focusing on the marketing domain — we just onboarded campaign spend and attribution tables. Create ~10 new eval cases from these metrics ``` A useful maintenance prompt for keeping the suite healthy as it grows: ```text theme={null} /knowledge Review the eval suite for contradictions and overlap, and keep it under 50 cases — suggest older low-priority cases to delete. ``` ## Running evaluations On the **Runs** tab, click **New Run**. In the dialog you can: * **Name the run** — a timestamped name is prefilled. * **Select which cases to run** — all cases are selected by default (a full run). Search by name or by domain (e.g. `marketing`) to run a subset, which is handy for quickly re-testing the cases affected by a knowledge fix. * **Pick a warehouse connection** if your workspace has more than one. The run starts immediately. Progress updates live on the run page, and a run that's still pending or in progress can be cancelled. Running evaluations requires the Developer role. ## Reviewing results Open a run to see the summary — total cases, passed, failed, errors, and pass rate — and a table with each case's verdict, score, and failure reason. Every case row links to the actual chats behind it, so you can see exactly what the agent did. When a case fails, Delphina automatically diagnoses *why* and classifies the root cause: | Failure reason | Meaning | What to do | | - | - | - | | **Knowledge Gap** | Documentation is missing or wrong, so the agent answered inconsistently with your definitions | Fix the documentation with `/knowledge` | | **Eval Case Issue** | The test itself is stale or incorrect (e.g. the definition legitimately changed) | Update or delete the case | | **Agent Error** | The knowledge was right but the agent misused it | Report it — this is a Delphina-side issue | | **Scorer Issue** | The scoring was wrong, not the answer | Adjust the case's acceptance criteria | Open an individual case result for the full detail: each scorer's verdict with the judge's explanation, the ground truth query and its results, the agent's actual response, and a **Failure Analysis** section with the diagnosed cause and a proposed fix. ## Fixing failures from the Inbox Each analyzed failure automatically creates an **issue** in **Context Factory > Inbox**, containing the failure summary, a proposed action, and links back to the case run and the analysis. **For a single issue**, open it and ask Delphina to investigate directly from the chat bar on the issue page. The agent digs into the evidence — your knowledge base, your warehouse and query history, and uploaded source files — then proposes a fix for you to confirm in the chat. **For many failures at once**, ask Delphina to remediate them as a batch in a `/knowledge` chat: ```text theme={null} /knowledge Investigate the open eval issues from the latest run, group them by root cause, and fix the underlying knowledge problems. ``` The agent clusters the failures by shared root cause (one missing metric definition often explains several failed cases), runs a parallel investigation per cluster, applies the fixes it is confident about, and asks you about the ambiguous ones. It finishes by recommending which cases to re-run. Then verify: start a **New Run** scoped to the affected cases and confirm they pass. # User Settings Source: https://docs.delphina.ai/user-settings Manage your profile, data source connections, and personal API access User settings control your own profile and personal access to Delphina. Open them from the account menu, or go to **Settings**. The tabs are **General**, **Data Sources**, **Connect to Delphina MCP**, and **API Key**. For organization-wide identities used by scripts and integrations, see [Service Accounts](/administration/service-accounts) instead. ## General * **Name** — your display name across Delphina. * **Bio** — an optional short description of your role and focus. * **Email** — the address you sign in with. It's read-only and managed through your organization's [authentication](/administration/user-management#authentication). * **Browser notifications** — toggle notifications when the agent finishes long-running work. * **Theme** — Light, Dark, or System. ## Data Sources Connect your personal credentials to the data sources your workspaces use, so the agent queries as you. Delphina lists each connection with its type (Snowflake, BigQuery, Databricks, or MCP) and status. * **Connect** — start the sign-in flow for a source that uses per-user OAuth. * **Disconnect** — sign out and remove your personal credential for that source. Which sources appear here depends on how your workspaces' [warehouse connections](/administration/warehouse-connections) and [MCP connections](/administration/mcp-connections) are configured. Sources that use a shared service credential won't ask you to connect. ## Connect to Delphina MCP Set up MCP-compatible clients (Claude Code, Claude Desktop/Cowork, Codex, Cursor, and others) to call Delphina from your development environment. See [Delphina MCP Server](/integrations/delphina-mcp) for the full setup. ## API Key The **API Key** tab holds your personal credentials for the Delphina HTTP API. Both authenticate as you, scoped to your own roles and workspaces. > [!NOTE] > > API access may need to be enabled for your account. If the tab shows that API key access isn't available, contact your Delphina administrator. ### API key Your account's long-lived API key. Unlike tokens, it's re-copyable from this page at any time. Send it as a bearer credential: ```txt theme={null} Authorization: Bearer YOUR_API_KEY ``` Use the **Authorization Header** field to copy the full header value in one step. ### API tokens API tokens are individually revocable credentials with optional expiration — the preferred way to authenticate personal automation. You can hold several at once and revoke any one without affecting the others. **Create a token** 1. Click **+ Create token**. 2. Optionally give it a **Name** to identify where it's used. 3. Choose an expiration: **No expiration**, or **7 / 30 / 90 / 180 / 365 days**. 4. Click **Create token**. Delphina shows the full token **once**, with a ready-to-paste `Authorization: Bearer …` header. Copy it now — for security, it's never shown again. Afterward the list shows only a masked form (prefix + last four characters), along with each token's created date, last used date, and expiration. **Revoke a token** Click the trash icon on a token row and confirm. Revocation is immediate and cannot be undone; any integration using that token stops working. Revoked tokens are hidden by default — toggle **Show revoked** to see them. Send a token the same way as the API key: ```txt theme={null} Authorization: Bearer YOUR_TOKEN ``` ### Choosing between them * Prefer **API tokens** for new integrations: you can scope their lifetime with an expiration and revoke them individually. * The single **API key** is convenient for quick, personal use because it can be re-copied at any time. * For access owned by a team or system rather than a person, use a [service account](/administration/service-accounts). Keep all credentials secure — never commit them to source control, and revoke any that may have been exposed. # Workspaces Source: https://docs.delphina.ai/workspaces Organize teams with separate knowledge bases and data access A workspace is a boundary for chats, knowledge, workflows, and data access. Each workspace has its own warehouse connection, knowledge documents, and member list. ## What a workspace contains * **Chats** — scoped to the workspace. Members see all chats. * **Knowledge base** — workspace-specific tables, metrics, rules, and notes. * **Warehouse connections** — each workspace connects with its own credentials. * **Workflows** — scheduled analyses use the workspace's knowledge and connections. * **Data Apps** — dashboards are workspace-scoped and use the workspace's connections. * **Bookmarks** — saved results are workspace-scoped. ## When to use multiple workspaces Most organizations start with one. Add more to: * **Separate knowledge by team** — marketing and finance can define "revenue" differently without conflict. * **Restrict data access** — each workspace connects with its own credentials, limiting what the agent can query. * **Control visibility** — workspace membership determines who sees chats and analysis. ## Switching workspaces Click the workspace name in the sidebar. Organization admins can access all workspaces. ## Knowledge sharing Knowledge is workspace-scoped by default. Create a **knowledge share** to grant another workspace read-only access to specific namespaces — useful for shared metric definitions or company-wide business rules. Knowledge shares are one-directional. Configure at **Org Admin > Workspaces**. ## Data access isolation Each workspace connects to your warehouse with its own credentials. The agent can only query tables those credentials can access. One workspace's queries never use another workspace's credentials. See [Warehouse Connections](/administration/warehouse-connections) for setup. ## Roles Roles (Explorer, Developer, Admin) are assigned per workspace. See [User Management & Roles](/administration/user-management) for the full permissions table.