> For the complete documentation index, see [llms.txt](https://docs.beefree.io/beefree-sdk/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.beefree.io/beefree-sdk/rows/storage/self-hosted-saved-rows.md).

# Self-Hosted Saved Rows

{% hint style="info" %}
This feature is available on Beefree SDK [Core plan](https://developers.beefree.io/pricing-plans) and above. Upgrade a [development application](/beefree-sdk/getting-started/readme/development-applications.md) at no extra charge to explore features from higher plan tiers. **Note:** Usage on a development application still counts toward [usage-based fees](https://devportal.beefree.io/hc/en-us/articles/4403095825042-Usage-based-fees) and limits.
{% endhint %}

## Overview

**Self-Hosted Saved Rows** allow you to control where and how your rows are stored and managed, offering flexibility to meet your application's unique requirements. This option is ideal for teams with development resources who want to integrate row storage into their existing infrastructure.

When users save rows, the data includes layout, content, and style settings. This data needs to be stored and managed, typically in your own database, to make rows available for reuse within your design builder.

### **Key considerations for Self-Hosted Saved Rows:**

1. **Storage**\
   Use a database or storage solution to house self-hosted saved rows. Examples of a few options include:
   * Cloud databases (e.g., AWS RDS, Google Cloud Firestore)
   * Local databases (e.g., MySQL, PostgreSQL)
   * Document-based databases (e.g., MongoDB)
2. **Development Resources**\
   Ensure your team has the capability to connect your storage to your application. This includes:
   * Setting up secure storage with proper access controls.
   * Implementing any necessary API endpoints or backend logic to retrieve, save, and manage rows.

#### **Custom Database Integration**

You can directly save and retrieve rows using your own database.

#### Managed Solution Alternative

For teams that prefer not to handle row storage and development in-house, we offer [Hosted Saved Rows](/beefree-sdk/rows/storage/hosted-saved-rows.md). This solution stores rows for you and provides your end users with a UI for saving rows throughout their designing experience. This eliminates the need to create a custom infrastructure.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.beefree.io/beefree-sdk/rows/storage/self-hosted-saved-rows.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
