# Data Residency

Configure where your data is stored and processed to meet compliance and regulatory requirements.

By default, all data is stored and processed in the **United States of America**. You can however login to EU (European Union) for your data to be hosted and processed as you prefer.

Additional data residency options are available on-demand. Contact <support@confident-ai.com> to ask for the available options.

> Customers on one of the annual plans (Team or Enterprise) gets a free, compilmentry one-time data migration support.

![Confident AI sign-in page with a Data Region dropdown showing US and EU options above Google, SSO, and email login fields](https://www.confident-ai.com/media/platform/settings/data-residency-login-region-selector.webp)

*Data Residency can be selected at login/sign up*

## Available Regions

| Region | Location       | Requirements                  |
| ------ | -------------- | ----------------------------- |
| US     | United States  | Default for all plans         |
| EU     | European Union | Available for all plans       |
| Custom | On-demand      | Contact [sales](/book-a-demo) |

## Configure Data Region

Your API key alone doesn't decide which region your data goes to. If you're on the EU region, you'll need to point both the evals base URL (used by DeepEval and the [Confident API](/docs/reference/api)) and the tracing endpoint (used by [`confident-trace`](https://github.com/confident-ai/confident-trace) and any [OpenTelemetry](/docs/integrations/opentelemetry) exporter) at the EU hosts:

```bash
export CONFIDENT_BASE_URL="https://eu.api.confident-ai.com"
export CONFIDENT_OTEL_ENDPOINT="https://eu.otel.confident-ai.com/v1/traces"
```

For DeepEval, you can alternatively run the `set-confident-region` command to switch to the EU region:

```bash
deepeval set-confident-region EU
```

> `set-confident-region` only configures DeepEval. `confident-trace` is standard
> OpenTelemetry and reads its endpoint from `CONFIDENT_OTEL_ENDPOINT` (or the
> usual `OTEL_EXPORTER_OTLP_*` variables), so set that explicitly for your
> production app — see [configuring
> `init()`](/docs/llm-tracing/quickstart#configure-init).

> Regions only switch between Confident AI's managed hosts. If you run a [self-hosted deployment](/docs/self-hosting), `set-confident-region` will not reach it — set `CONFIDENT_BASE_URL` and `CONFIDENT_OTEL_ENDPOINT` to your own hosts instead, as described in [setting the base URL to your deployment](/docs/self-hosting/poc-environments#set-base-url-to-your-deployment).

## On-Premises Hosting

For organizations that require complete control over their data, Confident AI offers on-premises hosting options. This allows you to host Confident AI within your own infrastructure while maintaining full data sovereignty.

#### [On-Premises Hosting](/docs/self-hosting)

Learn more about hosting Confident AI on your own infrastructure.

## Compliance & Security

All data processed and stored by Confident AI is encrypted at rest and protected by TLS in transit. We maintain SOC II and HIPAA compliance to meet the most stringent data security requirements.

- **SOC II** — Available for customers on the Team plan and above
- **HIPAA BAA** — Available for customers on the Team plan and above
- **GDPR** — Data residency, processing, and handling comply with the General Data Protection Regulation for all customers with data in the EU region

> For detailed compliance documentation, visit our [Trust
> Center](https://trust.oneleet.com/confident-ai).
