> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cloud.cdata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Security and Data Handling

> What Connect AI stores, which features send data to an AI model, and where to find CData's data commitments.

This page describes how Connect AI handles your data: what it keeps, which features send data to an AI model, and the controls that you configure. Your agreement with CData and the following documents govern how CData handles your data, such as where CData processes it and how CData notifies you of a breach. If this page differs from them, they govern:

* [Cloud Services Agreement](https://docs.cloud.cdata.com/en/terms-of-service.md): how CData protects and accesses customer data.
* [Data Processing Addendum (DPA)](https://www.cdata.com/company/legal/dpa/): GDPR terms, data transfers, and breach notification.
* [CData Trust Center](https://www.cdata.com/security/): certifications, the sub-processor list, and the Customer Security Kit.
* [Connect AI Privacy Policy](https://docs.cloud.cdata.com/en/Privacy-Policy.md): what CData collects, how long it keeps it, and model training.

For the security controls that you configure, such as key vaults, IP allowlists, and audit logging, see [Security](https://docs.cloud.cdata.com/en/Security.md).

## What Connect AI Keeps

The following table lists each type of data that Connect AI handles and what it keeps. For how long CData keeps each type, see the [Connect AI Privacy Policy](https://docs.cloud.cdata.com/en/Privacy-Policy.md).

| Data | What Connect AI keeps |
| - | - |
| Connection credentials | The credentials and access tokens for each connection, unless you use a [key vault](https://docs.cloud.cdata.com/en/Security.md#key-vaults). With a key vault, the connection holds the name of each secret, and Connect AI reads the value from your vault. |
| Query results | Connect AI passes query results to your agent or application. It does not store result rows, except for features that store data on purpose, such as caching and replication jobs. |
| Cached tables | When you turn on [caching](https://docs.cloud.cdata.com/en/Caching.md), Connect AI saves the selected tables to a database and refreshes them on a schedule. Deleting a cache job deletes its cached data. |
| Query log | The timestamp, query type, user, status, connection, and query text for each query. |
| Query log files | The downloadable log file for each query. At the default [verbosity](https://docs.cloud.cdata.com/en/Sources.md#log-verbosity), a log file contains the SQL text of the query, request and response headers, and row counts, but no rows from your sources. The SQL text includes any values that you put in the query, such as values in a WHERE clause. |
| Audit log | Administrative actions, such as user creation and permission changes, and security events, such as denied access and sensitive data found in a query or result. |
| Usage counts | Query and row counts for each account, for billing. |
| AI chats | Your [Playground](https://docs.cloud.cdata.com/en/Playground.md) conversations, until 30 days after the last activity in each one. When you delete a conversation, it disappears right away. |
| MCP tool calls | Metadata about each request, such as which tools were called, by which agents, and when. The log does not include tool results. |
| LLM Gateway requests | Metadata about each request: model, provider, tokens, cost, latency, and status. Connect AI does not store prompt or completion text. |
| Gateway configuration | LLM providers, projects, virtual keys, tool servers, and MCP sign-in tokens, until you remove them or delete the account. |
| LLM provider API keys | The provider keys that an administrator registers, stored encrypted. Applications authenticate with virtual keys and never hold a raw provider key. |
| Context | The global context and user context that you add in the [Context Editor](https://docs.cloud.cdata.com/en/Context-Editor.md), until you delete it. |

You can delete your account and purge your data from the Connect AI dashboard at any time.

## Features That Send Data to an AI Model

Some Connect AI features send data to an AI model provider. For CData's commitment about model training, see the [Connect AI Privacy Policy](https://docs.cloud.cdata.com/en/Privacy-Policy.md). For the terms that cover Azure OpenAI, see section 2.4 of the [Cloud Services Agreement](https://docs.cloud.cdata.com/en/terms-of-service.md).

* **Features that CData runs on Azure OpenAI**, such as generating context with AI, send metadata and the related customer data to Azure OpenAI. If you turn on **Include Sample Values** in [**Settings** > **Security**](https://docs.cloud.cdata.com/en/Settings/Security.md), sample rows from your tables are part of what Connect AI sends.
* **The [LLM Gateway](https://docs.cloud.cdata.com/en/LLM-Gateway/LLM-Gateway.md)** forwards each request to the provider that your administrator registered. That provider's own terms apply to the request. Those terms do not cover the tool calls that an agent makes through the MCP Gateway.

## Where Your Data Lives

Connect AI runs in Microsoft Azure data centers in the United States. You cannot choose a region. For where CData processes your data, see the [sub-processor list](https://www.cdata.com/security/download/cdatasubprocessorslist.pdf) and the [DPA](https://www.cdata.com/company/legal/dpa/). To get notified before CData adds a sub-processor, email [gdpr@cdata.com](mailto:gdpr@cdata.com) with the subject **Subscribe**.

Connect AI connects to your data sources from a fixed set of IP addresses. To allow that traffic, see [IP Allowlist](https://docs.cloud.cdata.com/en/Security.md#ip-allowlist).

## Encryption and Secrets

* **In transit and at rest:** Connect AI encrypts your data in transit and at rest.
* **Connection credentials:** to keep credentials in your own vault, use [Azure Key Vault](https://docs.cloud.cdata.com/en/Security.md#key-vaults). Key vaults are available on the **Business** plan.

## Access Control and Audit

| Control | Where to configure it |
| - | - |
| Users, roles, and permissions | [Users](https://docs.cloud.cdata.com/en/Identities/Users.md), [Roles](https://docs.cloud.cdata.com/en/Roles-Policies/Roles.md), and [Permissions](https://docs.cloud.cdata.com/en/Permissions.md) |
| Single sign-on and provisioning | [SSO](https://docs.cloud.cdata.com/en/SCIM/SSO.md) and [SCIM](https://docs.cloud.cdata.com/en/SCIM.md) |
| Service accounts and tokens | [Service Accounts](https://docs.cloud.cdata.com/en/Identities/Service-Accounts.md) and [Personal Access Tokens](https://docs.cloud.cdata.com/en/Settings/Personal-Access-Tokens.md) |
| CData support access | [Grant Support Access](https://docs.cloud.cdata.com/en/Settings/Profile.md#grant-support-access) |
| Query and audit logs | [Logs](https://docs.cloud.cdata.com/en/Logs.md) |
| Forwarding to a SIEM | [SIEM Endpoints](https://docs.cloud.cdata.com/en/Settings/Siem-Endpoints.md) |
| Rate limits | 100 requests per user per minute, shared across all data sources. See [Rate Limits](https://docs.cloud.cdata.com/en/Security.md#rate-limits) |

CData support staff can access your account only when an administrator turns on [Grant Support Access](https://docs.cloud.cdata.com/en/Settings/Profile.md#grant-support-access). An administrator can turn it off at any time.

## Sensitive Data Detection

[Data Security](https://docs.cloud.cdata.com/en/Data-Security.md) rules detect sensitive values, such as credit card numbers, in the queries that you send and the results that Connect AI returns. A rule checks a query just before it runs, and a result before Connect AI writes the response. Data Security rules do not currently apply to results from the `search_context` tool. Each rule can take no action, warn, redact the value, or block the operation. Data Security is available on the **Business** plan.

## Compliance

CData has completed third-party SOC 2 Type II and ISO/IEC 27001:2022 compliance audits, and complies with GDPR and CCPA. For eligible use cases that involve protected health information, CData offers a Business Associate Agreement (BAA). To see which workflows are eligible, see [HIPAA compliance](https://www.cdata.com/security/hipaa/).

To get the SOC 2 report, the security policy, and the penetration test results, request the Customer Security Kit from the [CData Trust Center](https://www.cdata.com/security/). For how CData notifies you of a data breach, see the [DPA](https://www.cdata.com/company/legal/dpa/). For current incidents and incident history, see the [Connect AI status page](https://status.cdata.com/).

## Early Access Features

Features in early access, such as [Context](https://docs.cloud.cdata.com/en/Context.md) and the [LLM Gateway](https://docs.cloud.cdata.com/en/LLM-Gateway/LLM-Gateway.md), are pre-production software under section 1.4 of the [Cloud Services Agreement](https://docs.cloud.cdata.com/en/terms-of-service.md) and are not for production use.

## Next Steps

> [card] [Security](https://docs.cloud.cdata.com/en/Security.md)
>
> Configure key vaults, IP allowlists, and audit logging.

> [card] [Permissions](https://docs.cloud.cdata.com/en/Permissions.md)
>
> Control who can read and write each source.

> [card] [Logs](https://docs.cloud.cdata.com/en/Logs.md)
>
> Review the query log and the audit log.

> [card] [How Connect AI Works](https://docs.cloud.cdata.com/en/Technology.md)
>
> See where data goes during a request.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.