# Supabase

## Supabase Integration: Your App's Supercharged Backend

### What Is Supabase?

**Supabase is an open-source** complete backend database with no server setup required.

Think of it as your app's brain: it stores data, handles user authentication, manages files, and even sends real-time updates to all your users instantly, integrated seamlessly with eMOBIQ AI!

{% columns fullWidth="true" %}
{% column width="50%" valign="middle" %}

<figure><img src="/files/nizSgMT06jHzwrrmyiRs" alt=""><figcaption></figcaption></figure>
{% endcolumn %}

{% column width="50%" %}
**What Supabase Offers**

* **PostgreSQL Database:** Store user data, posts, products, anything
* **Real-Time Sync:** Changes appear instantly across all devices
* **User Authentication:** Login, signup, magic links, OAuth (Google, Apple, etc.)
* **File Storage:** Upload and serve images, videos, documents
* **Row-Level Security:** Control who can see/edit what data
* **RESTful API:** Automatically generated for your database

<a href="https://supabase.com/docs" class="button primary" data-icon="up-right-from-square">Supabase Documentation</a>
{% endcolumn %}
{% endcolumns %}

{% hint style="info" %}
*For more information on* <a href="https://supabase.com/pricing" class="button primary" data-icon="up-right-from-square">Supabase Pricing</a>
{% endhint %}

***

### Why eMOBIQ AI + Supabase = Magic ✨

{% columns fullWidth="true" %}
{% column %}
**The Problem With Traditional Development:**

Building a backend takes weeks. You need to:

* Design database schemas
* Write API endpoints
* Handle authentication
* Set up file storage
* Sync data across devices
* Deploy and maintain servers

**Estimated time:** 2–4 weeks for an experienced developer.
{% endcolumn %}

{% column %}
**The eMOBIQ AI Solution:**

**Tell the AI what data you need. It sets up Supabase automatically.**

```
Example Prompt:
"Build a recipe app where users can save their favorite recipes with photos."
```

**What eMOBIQ AI Does:**

1. Creates a `recipes` table in Supabase with columns: `title`, `ingredients`, `instructions`, `photo_url`, `user_id`
2. Sets up authentication so users can sign up/login
3. Configures file storage for recipe photos
4. Generates all the code to save, fetch, and display recipes
5. Enables real-time sync so updates appear instantly

**Your job:** Describe what you want. **eMOBIQ's job:** Make it work.
{% endcolumn %}
{% endcolumns %}


---

# 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.emobiq.com/emobiq-ai/readme/supabase.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.
