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

# Core Concepts

> The objects you work with in Formal, from proxies and resources to policies, identities, and logs

## Overview

Formal has a small set of objects. This page explains each one and how they relate.
For short definitions of every term, see the [Glossary](https://docs.formal.ai/docs/glossary/index.md).

```mermaid theme={"languages":{"custom":["/languages/cel.json","/languages/rego.json"]}}
flowchart LR
  I[Identity] --> E[Endpoint]
  I --> C[Connector]
  E --> C
  E --> X[Internet and SaaS]
  C --> R[Resource]
  CP[Control Plane] -. policies and config .-> E
  CP -. policies and config .-> C
  E -. logs .-> CP
  C -. logs .-> CP
```

## Where traffic flows

| Object | What it is |
| - | - |
| [Endpoint](https://docs.formal.ai/docs/guides/client-apps/desktop-app.md) | An egress proxy on a laptop, VM, or sandbox. It intercepts the traffic that [network rules](https://docs.formal.ai/docs/guides/network-rules.md) select. |
| [Connector](https://docs.formal.ai/docs/guides/core-concepts/connectors/introduction.md) | A reverse proxy you deploy in your network, next to the resources it protects. |
| [Resource](https://docs.formal.ai/docs/guides/core-concepts/resources/introduction.md) | A system Formal protects: a database, an API, an MCP server, an LLM provider, an SSH host, or a Kubernetes cluster. |
| [Listener](https://docs.formal.ai/docs/guides/core-concepts/connectors/listeners.md) | A port on a Connector. Listener rules decide which resources it serves. |
| [Space](https://docs.formal.ai/docs/guides/core-concepts/spaces.md) | A logical group of Connectors, Satellites, and Resources that can reach each other. |
| [Satellite](https://docs.formal.ai/docs/guides/core-concepts/satellites.md) | An optional container that discovers and classifies your database schemas. |
| [Catalog](https://docs.formal.ai/docs/guides/ai-governance/catalog.md) | The list of MCP servers and skills your organization approves, with who can use each one. |

The Endpoint and the Connector are one proxy, packaged two ways.
Both run the same policy engine and protocol parsers.
See [Architecture](https://docs.formal.ai/docs/guides/getting-started/architecture.md).

## Where you manage Formal

The **Control Plane** holds your configuration and receives logs.
It never sees traffic to your resources. Only the Endpoint and the Connector handle that traffic.

You manage the Control Plane four ways: the web app at [app.formal.ai](https://app.formal.ai), the [API](https://docs.formal.ai/docs/api/introduction.md), [Terraform](https://docs.formal.ai/docs/guides/configuration/terraform.md), and [Formal MCP](https://docs.formal.ai/docs/api/mcp-server.md).

## Who is acting

| Object | What it is |
| - | - |
| [Identity](https://docs.formal.ai/docs/guides/core-concepts/identities.md) | A user or a group. Policies and logs refer to identities. |
| [Native user](https://docs.formal.ai/docs/guides/core-concepts/resources/native-users.md) | The credential a Connector uses to sign in to a resource. Users never hold it. |
| [End-user identity](https://docs.formal.ai/docs/guides/integrations/bi.md) | The real person behind a shared tool, such as a BI application. |
| [Process identity](https://docs.formal.ai/docs/guides/network-rules.md#process-identity) | The app or AI agent on the host that opened a connection. |
| [Permission](https://docs.formal.ai/docs/guides/core-concepts/permissions.md) | A rule for who can view or change objects in the Control Plane. |

## What is allowed

A [policy](https://docs.formal.ai/docs/guides/policies/introduction.md) is a Rego rule that the Endpoint and the Connector evaluate against traffic.
Policies run at three main stages.

| Stage | When it runs | Typical action |
| - | - | - |
| Session | When a connection is established | Block the connection or require MFA |
| Request | Before a request reaches the resource | Block or rewrite a query or API call |
| Response | When data returns from the resource | Mask or filter the result |

See [Policy Evaluation](https://docs.formal.ai/docs/guides/policies/evaluation.md) for the input at each stage and [Policy Enforcement](https://docs.formal.ai/docs/guides/policies/enforcement.md) for every action.

Related objects:

* [Data labels](https://docs.formal.ai/docs/guides/core-concepts/data-inventory.md) mark sensitive columns so policies can mask by label.
* [Workflows](https://docs.formal.ai/docs/guides/configuration/workflows.md) run approvals and notifications when a trigger fires.
* [Policy suspensions](https://docs.formal.ai/docs/guides/policies/suspensions.md) grant time-bound or one-off exceptions.

## What happened

| Object | What it is |
| - | - |
| [Log](https://docs.formal.ai/docs/guides/observability/logs.md) | One record per query, command, or API call, with the identity, resource, and policy outcome. |
| [Session](https://docs.formal.ai/docs/guides/observability/sessions.md) | A recorded connection to a resource, with everything that happened in it. |
| [Insight](https://docs.formal.ai/docs/guides/observability/insights.md) | An AI-generated security finding about LLM traffic. |
| [Access Graph](https://docs.formal.ai/docs/guides/observability/access-graph.md) | A map of which people, agents, and machines reach which resources. |

## Next Steps

> [card] [Architecture](https://docs.formal.ai/docs/guides/getting-started/architecture.md)
>
> Where each component runs and how a request flows

> [card] [Quickstarts](https://docs.formal.ai/docs/guides/getting-started/quickstarts.md)
>
> Pick a goal and deploy

> [card] [Data Handling and Retention](https://docs.formal.ai/docs/guides/observability/data-handling.md)
>
> What Formal stores and for how long

> [card] [Glossary](https://docs.formal.ai/docs/glossary/index.md)
>
> Short definitions of every term


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