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

# Official Data Layer

Follow the steps in this repository to persist your conversations in 2 minutes:

<Card title="Official Data Layer" color="#F80061" icon="message" href="https://github.com/Chainlit/chainlit-datalayer">
  Out-of-the-box data layer schema to store your threads, steps, feedback, etc.
</Card>

<Warning>
  Do not forget to have your Chainlit application point to the database you set up by
  adding the `DATABASE_URL` environment variable in your `.env`.

  If you wish to store elements, the same goes for your files system configuration.
</Warning>

<Warning>
  The Official data layer Prisma schema has not been updated since Chainlit 2.0.0. If you are using Chainlit 2.1.0 or later, you need to manually add missing columns to the `"Step"` table. See the migration guides for [2.1.0](/guides/migration/2.1.0), [2.3.0](/guides/migration/2.3.0), and [2.9.4](/guides/migration/2.9.4).
</Warning>

<Tip>
  Custom element `props` are stored directly in PostgreSQL, not on cloud storage.
</Tip>
