|
| 1 | +--- |
| 2 | +tags: Data Infrastructure |
| 3 | +description: Connect your apps to Supabase to use a hosted Postgres database with real-time capabilities and powerful APIs. |
| 4 | +--- |
| 5 | +# Supabase Integration |
| 6 | + |
| 7 | +The **Supabase Integration** allows your app to connect to [Supabase](https://supabase.com/) — a hosted Postgres database with real-time subscriptions, authentication, and file storage. Once connected, your app can query and update data securely, power dashboards, and sync workflows in real time. |
| 8 | + |
| 9 | +## What You Can Do |
| 10 | + |
| 11 | +With Supabase, your app can: |
| 12 | +- **Read and write data** using Postgres through a simple REST or client API. |
| 13 | +- Enable **real-time updates** that sync automatically to your UI. |
| 14 | +- Use **row-level security** and access control for safe data management. |
| 15 | +- Store and retrieve files with Supabase Storage. |
| 16 | +- Integrate seamlessly with AI, dashboards, or internal tools. |
| 17 | + |
| 18 | +## Step 1: Obtain Your Supabase URL and Key |
| 19 | + |
| 20 | +1. Go to your [Supabase Project](https://supabase.com/). |
| 21 | +2. Choose the project you want to connect. |
| 22 | +3. Navigate to **Project Settings**. |
| 23 | +4. Go to **Data API** and copy your `Supabase_URL`. |
| 24 | +5. Then go to **API Keys** and copy your `Supabase_Key` (the secret key). |
| 25 | + |
| 26 | + * **Example URL:** `https://your-project.supabase.co` |
| 27 | + * **Example Key:** `sb_secret_oeaGxxxxxxxxxxxxxxxxxxx.` |
| 28 | + |
| 29 | +## Step 2: Configure the Integration in Your App |
| 30 | + |
| 31 | +1. Go to **Integrations → Add Supabase** in your app settings. |
| 32 | +2. Paste your **Supabase URL** and **Supabase Key** into the fields. |
| 33 | +3. Click **Connect** to validate and save your integration. |
| 34 | + |
| 35 | +Once connected, your app can query and update your Supabase database directly from workflows and UI actions. |
| 36 | + |
| 37 | +## Step 3: Notes |
| 38 | + |
| 39 | +* **Keep your keys secure:** Never expose the `Supabase_Key` key in client-side code. |
| 40 | +* **Use environment-specific keys:** Separate dev, staging, and production projects for clean access control. |
| 41 | +* **Realtime support:** Supabase enables live syncing of data changes. |
| 42 | +* **Row-level security:** Make sure to configure policies appropriately for your use case. |
| 43 | +``` |
0 commit comments