> ## Documentation Index
> Fetch the complete documentation index at: https://flatfileinc-feat-updatereactquickstart.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Spaces

> The anatomy of Spaces.

<Snippet file="shared/dxpbanner.mdx" />

Flatfile Spaces are micro-applications, each having their own database, filestore, and auth.
Use Spaces to integrate Flatfile into your data exchange workflow, whether that happens directly
in your application or as part of a currently offline process.

With Spaces, you can:

<CardGroup cols={3}>
  <Card title="Embed Flatfile in your app" icon="person-to-portal" href="../apps/embedding" />

  <Card title="Setup headless file feeds" icon="bolt-auto" href="../guides/automap" />

  <Card title="Run onboarding projects" icon="arrow-progress" href="../apps/projects" />
</CardGroup>

***

## Anatomy

A Space is comprised of Workbooks, Files, Users, Documents, Themes and Metadata.

<img src="https://mintlify.s3-us-west-1.amazonaws.com/flatfileinc-feat-updatereactquickstart/images/concepts/spaces_anatomy.png" caption="The anatomy of a Space" />

### Reference

[See API Reference](https://reference.flatfile.com/api-reference/spaces/create-a-space)

#### `Workbooks` *object*

A Space contains any number of Workbooks. Each <Tooltip tip="Analogous to a database...">[Workbook](../apps/workbooks)</Tooltip> is a Blueprint-defined database.

<Tip>
  Add the label 'pinned' to your workbook to ensure it appears as the first
  workbook in the sidebar.
</Tip>

#### `Files` *object*

Files are uploaded directly to a Space.

#### `Users` *object*

By default, all global Admins in Flatfile have access to all Spaces. Additionally, you can configure a Space to allow for either temporary (`shared_link`) or named (`magic_link`) Guest Users.

#### `Documents` *object*

Documents are custom pages that are mounted on the Space and display in the sidebar of a Space in the order of their addition to the Space.

#### `Theme` *object*

Theming of Flatfile is controlled at the Space level. A comprehensive list of Theme options are available [here](../guides/theming).

#### `Metadata` *object*

Spaces can be created and updated with Metadata. This could include a company-specific identifier such as a UUID for use in API operations in the Space.
