# Embedded library

> Source: https://whyse.ai/docs/integration/embedded-library

Install as a dependency. Runs on your infrastructure; your data never leaves it.

## When to embed instead of call out

Regulated data and self-hosted deployments use the embedded library rather than a hosted call — the engine runs inside your own infrastructure, so nothing leaves it. Available on the Scale plan.
