# SaaS (Multi-Tenant)

### SaaS Deployment - Simplified Block Diagram

**Diagram: SaaS - Simplified Block Diagram**

<figure><img src="/files/TGJ6FKXbAx8WzraNzIuS" alt=""><figcaption></figcaption></figure>

In this model, both the control and data planes are hosted and managed by Decube, and shared across multiple customers. Customers connect their data sources securely to enable metadata collection and observability.

#### Components:

* **Control Plane**
  * Handles subscriptions, access control, email notifications, routing, licensing, and user management
* **Multi-Tenant Data Plane**
  * Metadata API
  * Metadata Storage
  * Distributed Job Scheduler
  * Metadata Collector
  * Data Quality Monitoring
* **Customer Data Source**
  * Remains in the customer’s environment (e.g., cloud data warehouses like Snowflake, BigQuery)

#### How it Works:

* Metadata is collected using secure, read-only connectors.
* While collecting metadata and operational metrics, Decube may process limited personal data solely for monitoring and cataloging purposes.
* All operations are performed securely, using credentials provided by the customer.

#### Data Security:

* Communication is fully encrypted via TLS.
* Credentials are stored with dual-layer encryption and are inaccessible to Decube staff.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.decube.io/security-and-infrastructure/deployment-methods/saas-multi-tenant.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
