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

# Supabase

> Query and manage your Supabase database from your agent

## Setup

<Steps>
  <Step title="Get your project credentials">
    In Supabase dashboard, go to **Settings → API** and copy your Project URL and Service Role Key.
  </Step>

  <Step title="Add credentials in Orova">
    **Settings → Integrations → Supabase** → enter your Project URL and Service Role Key.
  </Step>

  <Step title="Create tool and assign">
    **Tools → Create Tool** → select **Supabase** → assign to your agent.
  </Step>
</Steps>

<Warning>
  The Service Role Key bypasses Row Level Security. Only use this for trusted agent operations.
</Warning>

## Available tools

| Tool               | Description                   |
| ------------------ | ----------------------------- |
| `list_tables`      | List database tables          |
| `get_table_schema` | Get table columns and types   |
| `select_rows`      | Query rows with filters       |
| `insert_row`       | Insert a new row              |
| `update_rows`      | Update rows matching a filter |
| `delete_rows`      | Delete rows matching a filter |
| `run_rpc`          | Call a Postgres function      |
| `count_rows`       | Count rows in a table         |
