The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
chore: replace all supabase urls with relative urls (#38537)
Charis47705a89681a
diff --git a/.github/workflows/docs-lint-v2-scheduled.yml b/.github/workflows/docs-lint-v2-scheduled.ymlindex 50b05c702c5..af9e6955943 100644--- a/.github/workflows/docs-lint-v2-scheduled.yml+++ b/.github/workflows/docs-lint-v2-scheduled.yml@@ -31,10 +31,10 @@ jobs:~/.cargo/registry/index/~/.cargo/registry/cache/~/.cargo/git/db/- key: 3186b58a532c98d7f470f2b887c2b74a086d5f2e+ key: 301e0d4b35f8f0c8553b4e93917b8b2685ef2627- name: install linterif: steps.cache-cargo.outputs.cache-hit != 'true'- run: cargo install --locked --git https://github.com/supabase-community/supa-mdx-lint --rev 3186b58a532c98d7f470f2b887c2b74a086d5f2e+ run: cargo install --locked --git https://github.com/supabase-community/supa-mdx-lint --rev 301e0d4b35f8f0c8553b4e93917b8b2685ef2627- name: run linterenv:GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}diff --git a/.github/workflows/docs-lint-v2.yml b/.github/workflows/docs-lint-v2.ymlindex 2592f498867..89f42c2862c 100644--- a/.github/workflows/docs-lint-v2.yml+++ b/.github/workflows/docs-lint-v2.yml@@ -53,10 +53,10 @@ jobs:~/.cargo/registry/index/~/.cargo/registry/cache/~/.cargo/git/db/- key: 3186b58a532c98d7f470f2b887c2b74a086d5f2e+ key: 301e0d4b35f8f0c8553b4e93917b8b2685ef2627- name: install linterif: steps.filter.outputs.docs == 'true' && steps.cache-cargo.outputs.cache-hit != 'true'- run: cargo install --locked --git https://github.com/supabase-community/supa-mdx-lint --rev 3186b58a532c98d7f470f2b887c2b74a086d5f2e+ run: cargo install --locked --git https://github.com/supabase-community/supa-mdx-lint --rev 301e0d4b35f8f0c8553b4e93917b8b2685ef2627- name: install reviewdogif: steps.filter.outputs.docs == 'true'uses: reviewdog/action-setup@3f401fe1d58fe77e10d665ab713057375e39b887 # v1.3.0diff --git a/apps/docs/content/_partials/database_setup.mdx b/apps/docs/content/_partials/database_setup.mdxindex 5f7dd771a96..dc8ccb952b0 100644--- a/apps/docs/content/_partials/database_setup.mdx+++ b/apps/docs/content/_partials/database_setup.mdx@@ -11,6 +11,6 @@ Your database will be available in less than a minute.You can find your project credentials on the dashboard:-- [Database connection strings](https://supabase.com/dashboard/project/_/settings/api?showConnect=true): Direct and Pooler connection details including the connection string and parameters.-- [Database password](https://supabase.com/dashboard/project/_/database/settings): Reset database password here if you do not have it.-- [API credentials](https://supabase.com/dashboard/project/_/settings/api): your serverless API URL and `anon` / `service_role` keys.+- [Database connection strings](/dashboard/project/_/settings/api?showConnect=true): Direct and Pooler connection details including the connection string and parameters.+- [Database password](/dashboard/project/_/database/settings): Reset database password here if you do not have it.+- [API credentials](/dashboard/project/_/settings/api): your serverless API URL and `anon` / `service_role` keys.diff --git a/apps/docs/content/_partials/migration_warnings.mdx b/apps/docs/content/_partials/migration_warnings.mdxindex c875713b09b..c221ef2f1d4 100644--- a/apps/docs/content/_partials/migration_warnings.mdx+++ b/apps/docs/content/_partials/migration_warnings.mdx@@ -2,6 +2,6 @@- If you're planning to migrate a database larger than 6 GB, we recommend [upgrading to at least a Large compute add-on](/docs/guides/platform/compute-add-ons). This will ensure you have the necessary resources to handle the migration efficiently.-- We strongly advise you to pre-provision the disk space you will need for your migration. On paid projects, you can do this by navigating to the [Compute and Disk Settings](https://supabase.com/dashboard/project/_/settings/compute-and-disk) page. For more information on disk scaling and disk limits, check out our [disk settings](https://supabase.com/docs/guides/platform/compute-and-disk#disk) documentation.+- We strongly advise you to pre-provision the disk space you will need for your migration. On paid projects, you can do this by navigating to the [Compute and Disk Settings](/dashboard/project/_/settings/compute-and-disk) page. For more information on disk scaling and disk limits, check out our [disk settings](/docs/guides/platform/compute-and-disk#disk) documentation.</Admonition>diff --git a/apps/docs/content/_partials/project_setup.mdx b/apps/docs/content/_partials/project_setup.mdxindex 23519c82bf2..fe3596ea124 100644--- a/apps/docs/content/_partials/project_setup.mdx+++ b/apps/docs/content/_partials/project_setup.mdx@@ -4,7 +4,7 @@ Before you start building you need to set up the Database and API. You can do th### Create a project-1. [Create a new project](https://supabase.com/dashboard) in the Supabase Dashboard.+1. [Create a new project](/dashboard) in the Supabase Dashboard.2. Enter your project details.3. Wait for the new database to launch.@@ -21,7 +21,7 @@ Now set up the database schema. You can use the "User Management Starter" quicks><TabPanel id="dashboard" label="Dashboard">-1. Go to the [SQL Editor](https://supabase.com/dashboard/project/_/sql) page in the Dashboard.+1. Go to the [SQL Editor](/dashboard/project/_/sql) page in the Dashboard.2. Click **User Management Starter** under the **Community > Quickstarts** tab.3. Click **Run**.@@ -61,5 +61,5 @@ Now that you've created some database tables, you are ready to insert data usingTo do this, you need to get the Project URL and `anon` key from the API settings.-1. Go to the [API Settings](https://supabase.com/dashboard/project/_/settings/api) page in the Dashboard.+1. Go to the [API Settings](/dashboard/project/_/settings/api) page in the Dashboard.2. Find your Project `URL`, `anon`, and `service_role` keys on this page.diff --git a/apps/docs/content/_partials/quickstart_db_setup.mdx b/apps/docs/content/_partials/quickstart_db_setup.mdxindex b8193923efc..76d441a3650 100644--- a/apps/docs/content/_partials/quickstart_db_setup.mdx+++ b/apps/docs/content/_partials/quickstart_db_setup.mdx@@ -24,9 +24,9 @@ curl -X POST https://api.supabase.com/v1/projects \}'```-When your project is up and running, go to the [Table Editor](https://supabase.com/dashboard/project/_/editor), create a new table and insert some data.+When your project is up and running, go to the [Table Editor](/dashboard/project/_/editor), create a new table and insert some data.-Alternatively, you can run the following snippet in your project's [SQL Editor](https://supabase.com/dashboard/project/_/sql/new). This will create a `instruments` table with some sample data.+Alternatively, you can run the following snippet in your project's [SQL Editor](/dashboard/project/_/sql/new). This will create a `instruments` table with some sample data.</StepHikeCompact.Details>diff --git a/apps/docs/content/_partials/social_provider_settings_supabase.mdx b/apps/docs/content/_partials/social_provider_settings_supabase.mdxindex 199589d2077..7587ff9386d 100644--- a/apps/docs/content/_partials/social_provider_settings_supabase.mdx+++ b/apps/docs/content/_partials/social_provider_settings_supabase.mdx@@ -1,6 +1,6 @@-- Go to your [Supabase Project Dashboard](https://supabase.com/dashboard)+- Go to your [Supabase Project Dashboard](/dashboard)- In the left sidebar, click the `Authentication` icon (near the top)-- Click on [`Providers`](https://supabase.com/dashboard/project/_/auth/providers) under the Configuration section+- Click on [`Providers`](/dashboard/project/_/auth/providers) under the Configuration section- Click on **{{ .provider }}** from the accordion list to expand and turn **{{ .provider }} Enabled** to ON- Enter your **{{ .provider }} Client ID** and **{{ .provider }} Client Secret** saved in the previous step- Click `Save`diff --git a/apps/docs/content/_partials/social_provider_setup.mdx b/apps/docs/content/_partials/social_provider_setup.mdxindex ec446552dce..5af559543ae 100644--- a/apps/docs/content/_partials/social_provider_setup.mdx+++ b/apps/docs/content/_partials/social_provider_setup.mdx@@ -1,8 +1,8 @@The next step requires a callback URL, which looks like this: `https://<project-ref>.supabase.co/auth/v1/callback`-- Go to your [Supabase Project Dashboard](https://supabase.com/dashboard)+- Go to your [Supabase Project Dashboard](/dashboard)- Click on the `Authentication` icon in the left sidebar-- Click on [`Providers`](https://supabase.com/dashboard/project/_/auth/providers) under the Configuration section+- Click on [`Providers`](/dashboard/project/_/auth/providers) under the Configuration section- Click on **{{ .provider }}** from the accordion list to expand and you'll find your **Callback URL**, you can click `Copy` to copy it to the clipboard<Admonition type="note">diff --git a/apps/docs/content/guides/ai/examples/building-chatgpt-plugins.mdx b/apps/docs/content/guides/ai/examples/building-chatgpt-plugins.mdxindex f50a79761f3..468df1a8d55 100644--- a/apps/docs/content/guides/ai/examples/building-chatgpt-plugins.mdx+++ b/apps/docs/content/guides/ai/examples/building-chatgpt-plugins.mdx@@ -54,7 +54,7 @@ poetry install### Step 3: Create a Supabase project-Create a [Supabase project](https://supabase.com/dashboard) and database by following the instructions [here](https://supabase.com/docs/guides/platform). Export the environment variables required for the retrieval plugin to work:+Create a [Supabase project](/dashboard) and database by following the instructions [here](/docs/guides/platform). Export the environment variables required for the retrieval plugin to work:```bashexport OPENAI_API_KEY=<open_ai_api_key>diff --git a/apps/docs/content/guides/ai/examples/headless-vector-search.mdx b/apps/docs/content/guides/ai/examples/headless-vector-search.mdxindex 993b92c178b..7bbf9afc8ba 100644--- a/apps/docs/content/guides/ai/examples/headless-vector-search.mdx+++ b/apps/docs/content/guides/ai/examples/headless-vector-search.mdx@@ -33,7 +33,7 @@ There are 3 steps to build similarity search inside your documentation:### Prepare your database-To prepare, create a [new Supabase project](https://database.new) and store the database and API credentials, which you can find in the project [settings](https://supabase.com/dashboard/project/_/settings).+To prepare, create a [new Supabase project](https://database.new) and store the database and API credentials, which you can find in the project [settings](/dashboard/project/_/settings).Now we can use the [Headless Vector Search](https://github.com/supabase/headless-vector-search#set-up) instructions to set up the database:@@ -42,7 +42,7 @@ Now we can use the [Headless Vector Search](https://github.com/supabase/headless3. Apply the database migrations: `supabase db push`4. Set your OpenAI key as a secret: `supabase secrets set OPENAI_API_KEY=sk-xxx`5. Deploy the Edge Functions: `supabase functions deploy --no-verify-jwt`-6. Expose `docs` schema via API in Supabase Dashboard [settings](https://supabase.com/dashboard/project/_/settings/api) > `API Settings` > `Exposed schemas`+6. Expose `docs` schema via API in Supabase Dashboard [settings](/dashboard/project/_/settings/api) > `API Settings` > `Exposed schemas`### Ingest your documentation@@ -112,6 +112,6 @@ const onSubmit = (e: Event) => {## Resources-- Read about how we built [ChatGPT for the Supabase Docs](https://supabase.com/blog/chatgpt-supabase-docs).+- Read about how we built [ChatGPT for the Supabase Docs](/blog/chatgpt-supabase-docs).- Read the pgvector Docs for [Embeddings and vector similarity](/docs/guides/database/extensions/pgvector)- See how to build something like this from scratch [using Next.js](/docs/guides/ai/examples/nextjs-vector-search).diff --git a/apps/docs/content/guides/ai/examples/huggingface-image-captioning.mdx b/apps/docs/content/guides/ai/examples/huggingface-image-captioning.mdxindex 90a34c421f3..6ded63808f5 100644--- a/apps/docs/content/guides/ai/examples/huggingface-image-captioning.mdx+++ b/apps/docs/content/guides/ai/examples/huggingface-image-captioning.mdx@@ -6,25 +6,25 @@ video: 'https://www.youtube.com/v/OgnYxRkxEUw'tocVideo: 'OgnYxRkxEUw'----We can combine Hugging Face with [Supabase Storage](https://supabase.com/storage) and [Database Webhooks](https://supabase.com/docs/guides/database/webhooks) to automatically caption for any image we upload to a storage bucket.+We can combine Hugging Face with [Supabase Storage](/storage) and [Database Webhooks](/docs/guides/database/webhooks) to automatically caption for any image we upload to a storage bucket.## About Hugging Face[Hugging Face](https://huggingface.co/) is the collaboration platform for the machine learning community.-[Huggingface.js](https://huggingface.co/docs/huggingface.js/index) provides a convenient way to make calls to 100,000+ Machine Learning models, making it easy to incorporate AI functionality into your [Supabase Edge Functions](https://supabase.com/edge-functions).+[Huggingface.js](https://huggingface.co/docs/huggingface.js/index) provides a convenient way to make calls to 100,000+ Machine Learning models, making it easy to incorporate AI functionality into your [Supabase Edge Functions](/edge-functions).## Setup-- Open your Supabase project dashboard or [create a new project](https://supabase.com/dashboard/projects).-- [Create a new bucket](https://supabase.com/dashboard/project/_/storage/buckets) called `images`.+- Open your Supabase project dashboard or [create a new project](/dashboard/projects).+- [Create a new bucket](/dashboard/project/_/storage/buckets) called `images`.- Generate TypeScript types from remote Database.- Create a new Database table called `image_caption`.- Create `id` column of type `uuid` which references `storage.objects.id`.- Create a `caption` column of type `text`.- Regenerate TypeScript types to include new `image_caption` table.- Deploy the function to Supabase: `supabase functions deploy huggingface-image-captioning`.-- Create the Database Webhook in the [Supabase Dashboard](https://supabase.com/dashboard/project/_/database/hooks) to trigger the `huggingface-image-captioning` function anytime a record is added to the `storage.objects` table.+- Create the Database Webhook in the [Supabase Dashboard](/dashboard/project/_/database/hooks) to trigger the `huggingface-image-captioning` function anytime a record is added to the `storage.objects` table.## Generate TypeScript typesdiff --git a/apps/docs/content/guides/ai/examples/mixpeek-video-search.mdx b/apps/docs/content/guides/ai/examples/mixpeek-video-search.mdxindex 1e9b8ad1403..ff8b7bafdb0 100644--- a/apps/docs/content/guides/ai/examples/mixpeek-video-search.mdx+++ b/apps/docs/content/guides/ai/examples/mixpeek-video-search.mdx@@ -30,7 +30,7 @@ poetry new video-search## Setup Supabase project-If you haven't already, [install the Supabase CLI](https://supabase.com/docs/guides/cli), then initialize Supabase in the root of your newly created poetry project:+If you haven't already, [install the Supabase CLI](/docs/guides/cli), then initialize Supabase in the root of your newly created poetry project:```shellsupabase initdiff --git a/apps/docs/content/guides/ai/examples/nextjs-vector-search.mdx b/apps/docs/content/guides/ai/examples/nextjs-vector-search.mdxindex dc0d3b8fc74..741680e583a 100644--- a/apps/docs/content/guides/ai/examples/nextjs-vector-search.mdx+++ b/apps/docs/content/guides/ai/examples/nextjs-vector-search.mdx@@ -12,19 +12,19 @@ While our [Headless Vector search](/docs/guides/ai/examples/headless-vector-sear2. Store you embeddings in Postgres using pgvector.3. Deploy a function for answering your users' questions.-You can read our [Supabase Clippy](https://supabase.com/blog/chatgpt-supabase-docs) blog post for a full example.+You can read our [Supabase Clippy](/blog/chatgpt-supabase-docs) blog post for a full example.We assume that you have a Next.js project with a collection of `.mdx` files nested inside your `pages` directory. We will start developing locally with the Supabase CLI and then push our local database changes to our hosted Supabase project. You can find the [full Next.js example on GitHub](https://github.com/supabase-community/nextjs-openai-doc-search).## Create a project-1. [Create a new project](https://supabase.com/dashboard) in the Supabase Dashboard.+1. [Create a new project](/dashboard) in the Supabase Dashboard.1. Enter your project details.1. Wait for the new database to launch.## Prepare the database-Let's prepare the database schema. We can use the "OpenAI Vector Search" quickstart in the [SQL Editor](https://supabase.com/dashboard/project/_/sql), or you can copy/paste the SQL below and run it yourself.+Let's prepare the database schema. We can use the "OpenAI Vector Search" quickstart in the [SQL Editor](/dashboard/project/_/sql), or you can copy/paste the SQL below and run it yourself.<Tabsscrollable@@ -35,7 +35,7 @@ Let's prepare the database schema. We can use the "OpenAI Vector Search" quickst><TabPanel id="dashboard" label="Dashboard">-1. Go to the [SQL Editor](https://supabase.com/dashboard/project/_/sql) page in the Dashboard.+1. Go to the [SQL Editor](/dashboard/project/_/sql) page in the Dashboard.2. Click **OpenAI Vector Search**.3. Click **Run**.@@ -147,7 +147,7 @@ Let's prepare the database schema. We can use the "OpenAI Vector Search" quickstAnytime the user sends a query, we want to find the content that's relevant to their questions. We can do this using pgvector's similarity search.- These are quite complex SQL operations, so let's wrap them in database functions that we can call from our frontend using [RPC](https://supabase.com/docs/reference/javascript/rpc).+ These are quite complex SQL operations, so let's wrap them in database functions that we can call from our frontend using [RPC](/docs/reference/javascript/rpc).</StepHikeCompact.Details>@@ -527,8 +527,8 @@ const handleConfirm = React.useCallback(Want to learn more about the awesome tech that is powering this?-- Read about how we built [ChatGPT for the Supabase Docs](https://supabase.com/blog/chatgpt-supabase-docs).-- Read the pgvector Docs for [Embeddings and vector similarity](https://supabase.com/docs/guides/database/extensions/pgvector)+- Read about how we built [ChatGPT for the Supabase Docs](/blog/chatgpt-supabase-docs).+- Read the pgvector Docs for [Embeddings and vector similarity](/docs/guides/database/extensions/pgvector)- Watch Greg's video for a full breakdown:<div class="video-container">diff --git a/apps/docs/content/guides/ai/examples/semantic-image-search-amazon-titan.mdx b/apps/docs/content/guides/ai/examples/semantic-image-search-amazon-titan.mdxindex 134831fd32f..0110be71963 100644--- a/apps/docs/content/guides/ai/examples/semantic-image-search-amazon-titan.mdx+++ b/apps/docs/content/guides/ai/examples/semantic-image-search-amazon-titan.mdx@@ -34,7 +34,7 @@ If you haven't already, head over to [database.new](https://database.new) and crWhen creating your project, make sure to note down your database password as you will need it to construct the `DB_URL` in the next step.-You can find your database connection string on your project dashboard, click [Connect](https://supabase.com/dashboard/project/_?showConnect=true). Use the Session pooler connection string which looks like this:+You can find your database connection string on your project dashboard, click [Connect](/dashboard/project/_?showConnect=true). Use the Session pooler connection string which looks like this:```txtpostgresql://postgres.[PROJECT-REF]:[YOUR-PASSWORD]@aws-0-[REGION].pooler.supabase.com:5432/postgres@@ -188,7 +188,7 @@ seed = "image_search.main:seed"search = "image_search.main:search"```-After activating the virtual environment with `poetry shell` you can now run your seed script via `poetry run seed`. You can inspect the generated embeddings in your Supabase Dashboard by visiting the [Table Editor](https://supabase.com/dashboard/project/_/editor), selecting the `vecs` schema, and the `image_vectors` table.+After activating the virtual environment with `poetry shell` you can now run your seed script via `poetry run seed`. You can inspect the generated embeddings in your Supabase Dashboard by visiting the [Table Editor](/dashboard/project/_/editor), selecting the `vecs` schema, and the `image_vectors` table.## Perform an image search from a text querydiff --git a/apps/docs/content/guides/ai/going-to-prod.mdx b/apps/docs/content/guides/ai/going-to-prod.mdxindex 5d43a161a6f..388f714dd0d 100644--- a/apps/docs/content/guides/ai/going-to-prod.mdx+++ b/apps/docs/content/guides/ai/going-to-prod.mdx@@ -26,7 +26,7 @@ On the other hand, if you need to scale your application, you will need to [crea## HNSW vs IVFFlat indexes-`pgvector` supports two types of indexes: HNSW and IVFFlat. We recommend using [HNSW](/docs/guides/ai/vector-indexes/hnsw-indexes) because of its [performance](https://supabase.com/blog/increase-performance-pgvector-hnsw#hnsw-performance-1536-dimensions) and [robustness against changing data](/docs/guides/ai/vector-indexes/hnsw-indexes#when-should-you-create-hnsw-indexes).+`pgvector` supports two types of indexes: HNSW and IVFFlat. We recommend using [HNSW](/docs/guides/ai/vector-indexes/hnsw-indexes) because of its [performance](/blog/increase-performance-pgvector-hnsw#hnsw-performance-1536-dimensions) and [robustness against changing data](/docs/guides/ai/vector-indexes/hnsw-indexes#when-should-you-create-hnsw-indexes).<Imagealt="dbpedia embeddings comparing ivfflat and hnsw queries-per-second using the 4XL compute add-on"@@ -68,7 +68,7 @@ The values of lists and probes directly affect accuracy and queries per second (- Higher `probes` means that select queries will be slower, but you can achieve better accuracy.- `lists` and `probes` are not independent. Higher `lists` means that you will have to use higher `probes` to achieve the same accuracy.-You can find more examples of how `lists` and `probes` constants affect accuracy and QPS in [pgvector 0.4.0 performance](https://supabase.com/blog/pgvector-performance) blogpost.+You can find more examples of how `lists` and `probes` constants affect accuracy and QPS in [pgvector 0.4.0 performance](/blog/pgvector-performance) blogpost.<Imagealt="multi database"@@ -109,7 +109,7 @@ Don't forget to check out the general [Production Checklist](/docs/guides/platfoYou can look at our [Choosing Compute Add-on](/docs/guides/ai/choosing-compute-addon) guide to get a basic understanding of how much compute you might need for your workload.-Or take a look at our [pgvector 0.5.0 performance](https://supabase.com/blog/increase-performance-pgvector-hnsw) and [pgvector 0.4.0 performance](https://supabase.com/blog/pgvector-performance) blog posts to see what pgvector is capable of and how the above technique can be used to achieve the best results.+Or take a look at our [pgvector 0.5.0 performance](/blog/increase-performance-pgvector-hnsw) and [pgvector 0.4.0 performance](/blog/pgvector-performance) blog posts to see what pgvector is capable of and how the above technique can be used to achieve the best results.<Imagealt="multi database"diff --git a/apps/docs/content/guides/ai/google-colab.mdx b/apps/docs/content/guides/ai/google-colab.mdxindex c95116980ec..8c0a22406a5 100644--- a/apps/docs/content/guides/ai/google-colab.mdx+++ b/apps/docs/content/guides/ai/google-colab.mdx@@ -15,7 +15,7 @@ sidebar_label: 'Google Colab'Google Colab is a hosted Jupyter Notebook service. It provides free access to computing resources, including GPUs and TPUs, and is well-suited to machine learning, data science, and education. We can use Colab to manage collections using [Supabase Vecs](/docs/guides/ai/vecs-python-client).-In this tutorial we'll connect to a database running on the Supabase [platform](https://supabase.com/dashboard/). If you don't already have a database, you can create one here: [database.new](https://database.new).+In this tutorial we'll connect to a database running on the Supabase [platform](/dashboard/). If you don't already have a database, you can create one here: [database.new](https://database.new).## Create a new notebook@@ -37,7 +37,7 @@ pip install vecs## Connect to your database-On your project dashboard, click [Connect](https://supabase.com/dashboard/project/_?showConnect=true). The connection string should look like `postgres://postgres.xxxx:[email protected]:6543/postgres`+On your project dashboard, click [Connect](/dashboard/project/_?showConnect=true). The connection string should look like `postgres://postgres.xxxx:[email protected]:6543/postgres`Create a new code block below the install block (`ctrl+m b`) and add the following code using the Postgres URI you copied above:@@ -77,7 +77,7 @@ collection.upsert()```-This will create a table inside your database within the `vecs` schema, called `colab_collection`. You can view the inserted items in the [Table Editor](https://supabase.com/dashboard/project/_/editor/), by selecting the `vecs` schema from the schema dropdown.+This will create a table inside your database within the `vecs` schema, called `colab_collection`. You can view the inserted items in the [Table Editor](/dashboard/project/_/editor/), by selecting the `vecs` schema from the schema dropdown.diff --git a/apps/docs/content/guides/ai/integrations/llamaindex.mdx b/apps/docs/content/guides/ai/integrations/llamaindex.mdxindex 6fd5427d10a..93d621a432f 100644--- a/apps/docs/content/guides/ai/integrations/llamaindex.mdx+++ b/apps/docs/content/guides/ai/integrations/llamaindex.mdx@@ -42,7 +42,7 @@ DB_CONNECTION = "postgresql://<user>:<password>@<host>:<port>/<db_name>"vx = vecs.create_client(DB_CONNECTION)```-Replace the `DB_CONNECTION` with your own connection string. You can find the connection string on your project dashboard by clicking [Connect](https://supabase.com/dashboard/project/_?showConnect=true).+Replace the `DB_CONNECTION` with your own connection string. You can find the connection string on your project dashboard by clicking [Connect](/dashboard/project/_?showConnect=true).<Admonition type='note'>@@ -60,7 +60,7 @@ You must use the "connection pooling" string (domain ending in `*.pooler.supabasNow all that's left is to step through the notebook. You can do this by clicking the "execute" button (`ctrl+enter`) at the top left of each code cell. The notebook guides you through the process of creating a collection, adding data to it, and querying it.-You can view the inserted items in the [Table Editor](https://supabase.com/dashboard/project/_/editor/), by selecting the `vecs` schema from the schema dropdown.+You can view the inserted items in the [Table Editor](/dashboard/project/_/editor/), by selecting the `vecs` schema from the schema dropdown.diff --git a/apps/docs/content/guides/ai/langchain.mdx b/apps/docs/content/guides/ai/langchain.mdxindex f0874ca37a7..4315c88a0f1 100644--- a/apps/docs/content/guides/ai/langchain.mdx+++ b/apps/docs/content/guides/ai/langchain.mdx@@ -20,7 +20,7 @@ Prepare you database with the relevant tables:><TabPanel id="dashboard" label="Dashboard">-1. Go to the [SQL Editor](https://supabase.com/dashboard/project/_/sql) page in the Dashboard.+1. Go to the [SQL Editor](/dashboard/project/_/sql) page in the Dashboard.2. Click **LangChain** in the Quick start section.3. Click **Run**.@@ -147,7 +147,7 @@ export const run = async () => {### Advanced metadata filtering-You can also use query builder-style filtering ([similar to how the Supabase JavaScript library works](https://supabase.com/docs/reference/javascript/using-filters)) instead of passing an object. Note that since the filter properties will be in the metadata column, you need to use arrow operators (`->` for integer or `->>` for text) as defined in [PostgREST API documentation](https://postgrest.org/en/stable/references/api/tables_views.html?highlight=operators#json-columns) and specify the data type of the property (e.g. the column should look something like `metadata->some_int_value::int`).+You can also use query builder-style filtering ([similar to how the Supabase JavaScript library works](/docs/reference/javascript/using-filters)) instead of passing an object. Note that since the filter properties will be in the metadata column, you need to use arrow operators (`->` for integer or `->>` for text) as defined in [PostgREST API documentation](https://postgrest.org/en/stable/references/api/tables_views.html?highlight=operators#json-columns) and specify the data type of the property (e.g. the column should look something like `metadata->some_int_value::int`).```jsimport { SupabaseFilterRPCCall, SupabaseVectorStore } from 'langchain/vectorstores/supabase'diff --git a/apps/docs/content/guides/ai/python-clients.mdx b/apps/docs/content/guides/ai/python-clients.mdxindex 7bbff8aa1a1..a617f0e11cb 100644--- a/apps/docs/content/guides/ai/python-clients.mdx+++ b/apps/docs/content/guides/ai/python-clients.mdx@@ -11,7 +11,7 @@ For data science or ephemeral workloads, the [Supabase Vecs](https://supabase.gi<Admonition type="tip">-Click [**Connect**](https://supabase.com/dashboard/project/_/?showConnect=true) at the top of any project page to get your connection string.+Click [**Connect**](/dashboard/project/_/?showConnect=true) at the top of any project page to get your connection string.Copy the URI from the **Shared pooler** option.diff --git a/apps/docs/content/guides/ai/quickstarts/face-similarity.mdx b/apps/docs/content/guides/ai/quickstarts/face-similarity.mdxindex 1f4894d5867..6955ffa6919 100644--- a/apps/docs/content/guides/ai/quickstarts/face-similarity.mdx+++ b/apps/docs/content/guides/ai/quickstarts/face-similarity.mdx@@ -40,7 +40,7 @@ DB_CONNECTION = "postgresql://<user>:<password>@<host>:<port>/<db_name>"vx = vecs.create_client(DB_CONNECTION)```-Replace the `DB_CONNECTION` with your own connection string. You can find the connection string on your project dashboard by clicking [Connect](https://supabase.com/dashboard/project/_?showConnect=true).+Replace the `DB_CONNECTION` with your own connection string. You can find the connection string on your project dashboard by clicking [Connect](/dashboard/project/_?showConnect=true).<Admonition type='note'>@@ -58,7 +58,7 @@ You must use the "connection pooling" string (domain ending in `*.pooler.supabasNow all that's left is to step through the notebook. You can do this by clicking the "execute" button (`ctrl+enter`) at the top left of each code cell. The notebook guides you through the process of creating a collection, adding data to it, and querying it.-You can view the inserted items in the [Table Editor](https://supabase.com/dashboard/project/_/editor/), by selecting the `vecs` schema from the schema dropdown.+You can view the inserted items in the [Table Editor](/dashboard/project/_/editor/), by selecting the `vecs` schema from the schema dropdown.diff --git a/apps/docs/content/guides/ai/quickstarts/hello-world.mdx b/apps/docs/content/guides/ai/quickstarts/hello-world.mdxindex cbea52b2c55..5a711d43dca 100644--- a/apps/docs/content/guides/ai/quickstarts/hello-world.mdx+++ b/apps/docs/content/guides/ai/quickstarts/hello-world.mdx@@ -41,7 +41,7 @@ DB_CONNECTION = "postgresql://<user>:<password>@<host>:<port>/<db_name>"vx = vecs.create_client(DB_CONNECTION)```-Replace the `DB_CONNECTION` with your Session pooler connection string. You can find the connection string on your project dashboard by clicking [Connect](https://supabase.com/dashboard/project/_?showConnect=true).+Replace the `DB_CONNECTION` with your Session pooler connection string. You can find the connection string on your project dashboard by clicking [Connect](/dashboard/project/_?showConnect=true).<Admonition type='note'>@@ -59,7 +59,7 @@ You must use the Session pooler connection string with Google Colab since ColabNow all that's left is to step through the notebook. You can do this by clicking the "execute" button (`ctrl+enter`) at the top left of each code cell. The notebook guides you through the process of creating a collection, adding data to it, and querying it.-You can view the inserted items in the [Table Editor](https://supabase.com/dashboard/project/_/editor/), by selecting the `vecs` schema from the schema dropdown.+You can view the inserted items in the [Table Editor](/dashboard/project/_/editor/), by selecting the `vecs` schema from the schema dropdown.diff --git a/apps/docs/content/guides/ai/quickstarts/text-deduplication.mdx b/apps/docs/content/guides/ai/quickstarts/text-deduplication.mdxindex 34c183f08b0..9bb07c30b3d 100644--- a/apps/docs/content/guides/ai/quickstarts/text-deduplication.mdx+++ b/apps/docs/content/guides/ai/quickstarts/text-deduplication.mdx@@ -41,7 +41,7 @@ DB_CONNECTION = "postgresql://<user>:<password>@<host>:<port>/<db_name>"vx = vecs.create_client(DB_CONNECTION)```-Replace the `DB_CONNECTION` with your own connection string. You can find the connection string on your project dashboard by clicking [Connect](https://supabase.com/dashboard/project/_?showConnect=true).+Replace the `DB_CONNECTION` with your own connection string. You can find the connection string on your project dashboard by clicking [Connect](/dashboard/project/_?showConnect=true).<Admonition type='note'>@@ -59,7 +59,7 @@ You must use the "connection pooling" string (domain ending in `*.pooler.supabasNow all that's left is to step through the notebook. You can do this by clicking the "execute" button (`ctrl+enter`) at the top left of each code cell. The notebook guides you through the process of creating a collection, adding data to it, and querying it.-You can view the inserted items in the [Table Editor](https://supabase.com/dashboard/project/_/editor/), by selecting the `vecs` schema from the schema dropdown.+You can view the inserted items in the [Table Editor](/dashboard/project/_/editor/), by selecting the `vecs` schema from the schema dropdown.diff --git a/apps/docs/content/guides/ai/rag-with-permissions.mdx b/apps/docs/content/guides/ai/rag-with-permissions.mdxindex edd7a450316..20156f36c2e 100644--- a/apps/docs/content/guides/ai/rag-with-permissions.mdx+++ b/apps/docs/content/guides/ai/rag-with-permissions.mdx@@ -113,13 +113,13 @@ You may have an existing system that stores users, documents, and their permissi<Admonition type="caution">-RLS is latency-sensitive, so extra caution should be taken before implementing this method. Use the [query plan analyzer](https://supabase.com/docs/guides/platform/performance#optimizing-poor-performing-queries) to measure execution times for your queries to ensure they are within expected ranges. For enterprise applications, contact [email protected].+RLS is latency-sensitive, so extra caution should be taken before implementing this method. Use the [query plan analyzer](/docs/guides/platform/performance#optimizing-poor-performing-queries) to measure execution times for your queries to ensure they are within expected ranges. For enterprise applications, contact [email protected].</Admonition><Admonition type="tip">-For data sources other than Postgres, see [Foreign Data Wrappers](/docs/guides/database/extensions/wrappers/overview) for a list of external sources supported today. If your data lives in a source not provided in the list, contact [support](https://supabase.com/dashboard/support/new) and we'll be happy to discuss your use case.+For data sources other than Postgres, see [Foreign Data Wrappers](/docs/guides/database/extensions/wrappers/overview) for a list of external sources supported today. If your data lives in a source not provided in the list, contact [support](/dashboard/support/new) and we'll be happy to discuss your use case.</Admonition>@@ -189,7 +189,7 @@ Since we're managing users and authentication outside of Supabase, we have two o#### Direct Postgres connection-You can directly connect to your Supabase Postgres DB using the [connection info](https://supabase.com/dashboard/project/_/?showConnect=true) on a project page. To use RLS with this method, we use a custom session variable that contains the current user's ID:+You can directly connect to your Supabase Postgres DB using the [connection info](/dashboard/project/_/?showConnect=true) on a project page. To use RLS with this method, we use a custom session variable that contains the current user's ID:```sql-- enable row level security@@ -271,4 +271,4 @@ order by document_sections.embedding <#> embedding;There are endless approaches to this problem based on the complexities of each system. Luckily Postgres comes with all the primitives needed to provide access control in the way that works best for your project.-If the examples above didn't fit your use case or you need to adjust them slightly to better fit your existing system, feel free to reach out to [support](https://supabase.com/dashboard/support/new) and we'll be happy to assist you.+If the examples above didn't fit your use case or you need to adjust them slightly to better fit your existing system, feel free to reach out to [support](/dashboard/support/new) and we'll be happy to assist you.diff --git a/apps/docs/content/guides/ai/vector-columns.mdx b/apps/docs/content/guides/ai/vector-columns.mdxindex 3cc79905896..9767dfcc074 100644--- a/apps/docs/content/guides/ai/vector-columns.mdx+++ b/apps/docs/content/guides/ai/vector-columns.mdx@@ -22,7 +22,7 @@ Vectors in Supabase are enabled via [pgvector](https://github.com/pgvector/pgvec><TabPanel id="dashboard" label="Dashboard">-1. Go to the [Database](https://supabase.com/dashboard/project/_/database/tables) page in the Dashboard.+1. Go to the [Database](/dashboard/project/_/database/tables) page in the Dashboard.2. Click on **Extensions** in the sidebar.3. Search for "vector" and enable the extension.@@ -63,7 +63,7 @@ In the above SQL snippet, we create a `documents` table with a column called `em<Admonition type="tip">-In general, embeddings with fewer dimensions perform best. See our [analysis on fewer dimensions in pgvector](https://supabase.com/blog/fewer-dimensions-are-better-pgvector).+In general, embeddings with fewer dimensions perform best. See our [analysis on fewer dimensions in pgvector](/blog/fewer-dimensions-are-better-pgvector).</Admonition>diff --git a/apps/docs/content/guides/ai/vector-indexes.mdx b/apps/docs/content/guides/ai/vector-indexes.mdxindex 03883a0b5c9..93b4d303e73 100644--- a/apps/docs/content/guides/ai/vector-indexes.mdx+++ b/apps/docs/content/guides/ai/vector-indexes.mdx@@ -14,7 +14,7 @@ Today `pgvector` supports two types of indexes:- [HNSW](/docs/guides/ai/vector-indexes/hnsw-indexes)- [IVFFlat](/docs/guides/ai/vector-indexes/ivf-indexes)-In general we recommend using [HNSW](/docs/guides/ai/vector-indexes/hnsw-indexes) because of its [performance](https://supabase.com/blog/increase-performance-pgvector-hnsw#hnsw-performance-1536-dimensions) and [robustness against changing data](/docs/guides/ai/vector-indexes/hnsw-indexes#when-should-you-create-hnsw-indexes).+In general we recommend using [HNSW](/docs/guides/ai/vector-indexes/hnsw-indexes) because of its [performance](/blog/increase-performance-pgvector-hnsw#hnsw-performance-1536-dimensions) and [robustness against changing data](/docs/guides/ai/vector-indexes/hnsw-indexes#when-should-you-create-hnsw-indexes).## Distance operatorsdiff --git a/apps/docs/content/guides/ai/vector-indexes/ivf-indexes.mdx b/apps/docs/content/guides/ai/vector-indexes/ivf-indexes.mdxindex 3262a6c5843..61b9ae38f2b 100644--- a/apps/docs/content/guides/ai/vector-indexes/ivf-indexes.mdx+++ b/apps/docs/content/guides/ai/vector-indexes/ivf-indexes.mdx@@ -14,7 +14,7 @@ Today `pgvector` supports two types of indexes:- [HNSW](/docs/guides/ai/vector-indexes/hnsw-indexes)- [IVFFlat](/docs/guides/ai/vector-indexes/ivf-indexes)-In general we recommend using [HNSW](/docs/guides/ai/vector-indexes/hnsw-indexes) because of its [performance](https://supabase.com/blog/increase-performance-pgvector-hnsw#hnsw-performance-1536-dimensions) and [robustness against changing data](/docs/guides/ai/vector-indexes/hnsw-indexes#when-should-you-create-hnsw-indexes). If you have a special use case that requires IVFFlat instead, keep reading.+In general we recommend using [HNSW](/docs/guides/ai/vector-indexes/hnsw-indexes) because of its [performance](/blog/increase-performance-pgvector-hnsw#hnsw-performance-1536-dimensions) and [robustness against changing data](/docs/guides/ai/vector-indexes/hnsw-indexes#when-should-you-create-hnsw-indexes). If you have a special use case that requires IVFFlat instead, keep reading.## Usagediff --git a/apps/docs/content/guides/api.mdx b/apps/docs/content/guides/api.mdxindex 250ec91050a..0f4c62d5743 100644--- a/apps/docs/content/guides/api.mdx+++ b/apps/docs/content/guides/api.mdx@@ -43,4 +43,4 @@ Reference:## API URL and keys-You can find the API URL and Keys in the [Dashboard](https://supabase.com/dashboard/project/_/settings/api-keys).+You can find the API URL and Keys in the [Dashboard](/dashboard/project/_/settings/api-keys).diff --git a/apps/docs/content/guides/api/creating-routes.mdx b/apps/docs/content/guides/api/creating-routes.mdxindex 6ef1b30c0df..2e987ce1074 100644--- a/apps/docs/content/guides/api/creating-routes.mdx+++ b/apps/docs/content/guides/api/creating-routes.mdx@@ -20,7 +20,7 @@ This creates a corresponding route `todos` which can accept `GET`, `POST`, `PATC><TabPanel id="dashboard" label="Dashboard">-1. Go to the [Table editor](https://supabase.com/dashboard/project/_/editor) page in the Dashboard.+1. Go to the [Table editor](/dashboard/project/_/editor) page in the Dashboard.1. Click **New Table** and create a table with the name `todos`.1. Click **Save**.1. Click **New Column** and create a column with the name `task` and type `text`.@@ -52,7 +52,7 @@ create tableEvery Supabase project has a unique API URL. Your API is secured behind an API gateway which requires an API Key for every request.-1. Go to the [Settings](https://supabase.com/dashboard/project/_/settings/general) page in the Dashboard.+1. Go to the [Settings](/dashboard/project/_/settings/general) page in the Dashboard.2. Click **API** in the sidebar.3. Find your API `URL`, `anon`, and `service_role` keys on this page.diff --git a/apps/docs/content/guides/api/quickstart.mdx b/apps/docs/content/guides/api/quickstart.mdxindex 432838a2aa8..81558335907 100644--- a/apps/docs/content/guides/api/quickstart.mdx+++ b/apps/docs/content/guides/api/quickstart.mdx@@ -14,9 +14,9 @@ We'll create a database table called `todos` for storing tasks. This creates a c<StepHikeCompact.Step step={1}><StepHikeCompact.Details title="Set up a Supabase project with a 'todos' table">- [Create a new project](https://supabase.com/dashboard) in the Supabase Dashboard.+ [Create a new project](/dashboard) in the Supabase Dashboard.- After your project is ready, create a table in your Supabase database. You can do this with either the Table interface or the [SQL Editor](https://supabase.com/dashboard/project/_/sql).+ After your project is ready, create a table in your Supabase database. You can do this with either the Table interface or the [SQL Editor](/dashboard/project/_/sql).</StepHikeCompact.Details>@@ -109,7 +109,7 @@ We'll create a database table called `todos` for storing tasks. This creates a c<StepHikeCompact.Step step={4}><StepHikeCompact.Details title="Fetch the data">- Find your API URL and Keys in your Dashboard [API Settings](https://supabase.com/dashboard/project/_/settings/api). You can now query your "todos" table by appending `/rest/v1/todos` to the API URL.+ Find your API URL and Keys in your Dashboard [API Settings](/dashboard/project/_/settings/api). You can now query your "todos" table by appending `/rest/v1/todos` to the API URL.Copy this block of code, substitute `<PROJECT_REF>` and `<ANON_KEY>`, then run it from a terminal.diff --git a/apps/docs/content/guides/api/rest/auto-generated-docs.mdx b/apps/docs/content/guides/api/rest/auto-generated-docs.mdxindex 7a26b6856b4..7357392b588 100644--- a/apps/docs/content/guides/api/rest/auto-generated-docs.mdx+++ b/apps/docs/content/guides/api/rest/auto-generated-docs.mdx@@ -4,9 +4,9 @@ title: 'Auto-generated documentation'description: 'Supabase provides documentation that updates automatically.'----Supabase generates documentation in the [Dashboard](https://supabase.com/dashboard) which updates as you make database changes.+Supabase generates documentation in the [Dashboard](/dashboard) which updates as you make database changes.-1. Go to the [API](https://supabase.com/dashboard/project/_/api) page in the Dashboard.+1. Go to the [API](/dashboard/project/_/api) page in the Dashboard.2. Select any table under **Tables and Views** in the sidebar.3. Switch between the JavaScript and the cURL docs using the tabs.diff --git a/apps/docs/content/guides/api/rest/client-libs.mdx b/apps/docs/content/guides/api/rest/client-libs.mdxindex 7a19ded8c01..a40cc247fb6 100644--- a/apps/docs/content/guides/api/rest/client-libs.mdx+++ b/apps/docs/content/guides/api/rest/client-libs.mdx@@ -9,19 +9,19 @@ Supabase provides client libraries for the REST and Realtime APIs. Some librarie## Official libraries-| `Language` | `Source Code` | `Documentation` |-| --------------------- | ---------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------- |-| Javascript/Typescript | [supabase-js](https://github.com/supabase/supabase-js) | [Docs](https://supabase.com/docs/reference/javascript/introduction) |-| Dart/Flutter | [supabase-flutter](https://github.com/supabase/supabase-flutter/tree/main/packages/supabase_flutter) | [Docs](https://supabase.com/docs/reference/dart/introduction) |-| Swift | [supabase-swift](https://github.com/supabase/supabase-swift) | [Docs](https://supabase.com/docs/reference/swift/introduction) |-| Python | [supabase-py](https://github.com/supabase/supabase-py) | [Docs](https://supabase.com/docs/reference/python/initializing) |+| `Language` | `Source Code` | `Documentation` |+| --------------------- | ---------------------------------------------------------------------------------------------------- | ----------------------------------------------- |+| Javascript/Typescript | [supabase-js](https://github.com/supabase/supabase-js) | [Docs](/docs/reference/javascript/introduction) |+| Dart/Flutter | [supabase-flutter](https://github.com/supabase/supabase-flutter/tree/main/packages/supabase_flutter) | [Docs](/docs/reference/dart/introduction) |+| Swift | [supabase-swift](https://github.com/supabase/supabase-swift) | [Docs](/docs/reference/swift/introduction) |+| Python | [supabase-py](https://github.com/supabase/supabase-py) | [Docs](/docs/reference/python/initializing) |## Community libraries-| `Language` | `Source Code` | `Documentation` |-| ----------------------- | -------------------------------------------------------------------------------- | --------------------------------------------------------------- |-| C# | [supabase-csharp](https://github.com/supabase-community/supabase-csharp) | [Docs](https://supabase.com/docs/reference/csharp/introduction) |-| Go | [supabase-go](https://github.com/supabase-community/supabase-go) | |-| Kotlin | [supabase-kt](https://github.com/supabase-community/supabase-kt) | [Docs](https://supabase.com/docs/reference/kotlin/introduction) |-| Ruby | [supabase-rb](https://github.com/supabase-community/supabase-rb) | |-| Godot Engine (GDScript) | [supabase-gdscript](https://github.com/supabase-community/godot-engine.supabase) | |+| `Language` | `Source Code` | `Documentation` |+| ----------------------- | -------------------------------------------------------------------------------- | ------------------------------------------- |+| C# | [supabase-csharp](https://github.com/supabase-community/supabase-csharp) | [Docs](/docs/reference/csharp/introduction) |+| Go | [supabase-go](https://github.com/supabase-community/supabase-go) | |+| Kotlin | [supabase-kt](https://github.com/supabase-community/supabase-kt) | [Docs](/docs/reference/kotlin/introduction) |+| Ruby | [supabase-rb](https://github.com/supabase-community/supabase-rb) | |+| Godot Engine (GDScript) | [supabase-gdscript](https://github.com/supabase-community/godot-engine.supabase) | |diff --git a/apps/docs/content/guides/api/rest/generating-types.mdx b/apps/docs/content/guides/api/rest/generating-types.mdxindex d74f2ce603b..3f10c9dee37 100644--- a/apps/docs/content/guides/api/rest/generating-types.mdx+++ b/apps/docs/content/guides/api/rest/generating-types.mdx@@ -10,7 +10,7 @@ Supabase APIs are generated from your database, which means that we can use data## Generating types from project dashboard-Supabase allows you to generate and download TypeScript types directly from the [project dashboard](https://supabase.com/dashboard/project/_/api?page=tables-intro).+Supabase allows you to generate and download TypeScript types directly from the [project dashboard](/dashboard/project/_/api?page=tables-intro).## Generating types using Supabase CLIdiff --git a/apps/docs/content/guides/api/using-custom-schemas.mdx b/apps/docs/content/guides/api/using-custom-schemas.mdxindex 55af9da01d2..ed14471b84d 100644--- a/apps/docs/content/guides/api/using-custom-schemas.mdx+++ b/apps/docs/content/guides/api/using-custom-schemas.mdx@@ -18,7 +18,7 @@ CREATE SCHEMA myschema;You can expose custom database schemas - to do so you need to follow these steps:-1. Go to [API settings](https://supabase.com/dashboard/project/_/settings/api) and add your custom schema to "Exposed schemas".+1. Go to [API settings](/dashboard/project/_/settings/api) and add your custom schema to "Exposed schemas".2. Run the following SQL, substituting `myschema` with your schema name:```sqldiff --git a/apps/docs/content/guides/auth/auth-captcha.mdx b/apps/docs/content/guides/auth/auth-captcha.mdxindex 9d5e8c99dab..d28f7df4a6f 100644--- a/apps/docs/content/guides/auth/auth-captcha.mdx+++ b/apps/docs/content/guides/auth/auth-captcha.mdx@@ -41,7 +41,7 @@ In the Settings page, look for the **Sitekey** section and copy the key.## Enable CAPTCHA protection for your Supabase project-Navigate to the **[Auth](https://supabase.com/dashboard/project/_/settings/auth)** section of your Project Settings in the Supabase Dashboard and find the **Enable CAPTCHA protection** toggle under Settings > Authentication > Bot and Abuse Protection > Enable CAPTCHA protection.+Navigate to the **[Auth](/dashboard/project/_/settings/auth)** section of your Project Settings in the Supabase Dashboard and find the **Enable CAPTCHA protection** toggle under Settings > Authentication > Bot and Abuse Protection > Enable CAPTCHA protection.Select your CAPTCHA provider from the dropdown, enter your CAPTCHA **Secret key**, and click **Save**.diff --git a/apps/docs/content/guides/auth/auth-helpers/auth-ui.mdx b/apps/docs/content/guides/auth/auth-helpers/auth-ui.mdxindex bda36fa1ae0..810e447bb2c 100644--- a/apps/docs/content/guides/auth/auth-helpers/auth-ui.mdx+++ b/apps/docs/content/guides/auth/auth-helpers/auth-ui.mdx@@ -9,7 +9,7 @@ sitemapPriority: 0.5As of 7th Feb 2024, [this repository](https://github.com/supabase-community/auth-ui) is no longer maintained by the Supabase Team. At the moment, the team does not have capacity to give the expected level of care to this repository. We may revisit Auth UI in the future but regrettably have to leave it on hold for now as we focus on other priorities such as improving the Server-Side Rendering (SSR) package and advanced Auth primitives.-As an alternative you can use the [Supabase UI Library](https://supabase.com/ui) which has auth ready blocks to use in your projects.+As an alternative you can use the [Supabase UI Library](/ui) which has auth ready blocks to use in your projects.</Admonition>diff --git a/apps/docs/content/guides/auth/auth-helpers/nextjs-pages.mdx b/apps/docs/content/guides/auth/auth-helpers/nextjs-pages.mdxindex 7e276930bb8..cae3db4e57b 100644--- a/apps/docs/content/guides/auth/auth-helpers/nextjs-pages.mdx+++ b/apps/docs/content/guides/auth/auth-helpers/nextjs-pages.mdx@@ -53,7 +53,7 @@ npm install @supabase/auth-helpers-react## Set up environment variables-Retrieve your project URL and anon key in your project's [API settings](https://supabase.com/dashboard/project/_/settings/api) in the Dashboard to set up the following environment variables. For local development you can set them in a `.env.local` file. See an [example](https://github.com/supabase/auth-helpers/blob/main/examples/nextjs/.env.local.example).+Retrieve your project URL and anon key in your project's [API settings](/dashboard/project/_/settings/api) in the Dashboard to set up the following environment variables. For local development you can set them in a `.env.local` file. See an [example](https://github.com/supabase/auth-helpers/blob/main/examples/nextjs/.env.local.example).```bash .env.localNEXT_PUBLIC_SUPABASE_URL=your-supabase-url@@ -132,7 +132,7 @@ You can now determine if a user is authenticated by checking that the `user` obj### Code Exchange API route-The `Code Exchange` API route is required for the [server-side auth flow](https://supabase.com/docs/guides/auth/server-side-rendering) implemented by the Next.js Auth Helpers. It exchanges an auth `code` for the user's `session`, which is set as a cookie for future requests made to Supabase.+The `Code Exchange` API route is required for the [server-side auth flow](/docs/guides/auth/server-side-rendering) implemented by the Next.js Auth Helpers. It exchanges an auth `code` for the user's `session`, which is set as a cookie for future requests made to Supabase.<Tabsscrollablediff --git a/apps/docs/content/guides/auth/auth-helpers/nextjs.mdx b/apps/docs/content/guides/auth/auth-helpers/nextjs.mdxindex af8e4bf0bd2..94af0d45b25 100644--- a/apps/docs/content/guides/auth/auth-helpers/nextjs.mdx+++ b/apps/docs/content/guides/auth/auth-helpers/nextjs.mdx@@ -51,7 +51,7 @@ npm install @supabase/auth-helpers-nextjs @supabase/supabase-js## Declare environment variables-Retrieve your project's URL and anon key from your [API settings](https://supabase.com/dashboard/project/_/settings/api), and create a `.env.local` file with the following environment variables:+Retrieve your project's URL and anon key from your [API settings](/dashboard/project/_/settings/api), and create a `.env.local` file with the following environment variables:```bash .env.localNEXT_PUBLIC_SUPABASE_URL=your-supabase-urldiff --git a/apps/docs/content/guides/auth/auth-helpers/remix.mdx b/apps/docs/content/guides/auth/auth-helpers/remix.mdxindex 629d75f67b0..cd75f826aec 100644--- a/apps/docs/content/guides/auth/auth-helpers/remix.mdx+++ b/apps/docs/content/guides/auth/auth-helpers/remix.mdx@@ -55,7 +55,7 @@ This library supports the following tooling versions:## Set up environment variables-Retrieve your project URL and anon key in your project's [API settings](https://supabase.com/dashboard/project/_/settings/api) in the Dashboard to set up the following environment variables. For local development you can set them in a `.env` file. See an [example](https://github.com/supabase/auth-helpers/blob/main/examples/remix/.env.example).+Retrieve your project URL and anon key in your project's [API settings](/dashboard/project/_/settings/api) in the Dashboard to set up the following environment variables. For local development you can set them in a `.env` file. See an [example](https://github.com/supabase/auth-helpers/blob/main/examples/remix/.env.example).```bash .envSUPABASE_URL=YOUR_SUPABASE_URL@@ -64,7 +64,7 @@ SUPABASE_PUBLISHABLE_KEY=YOUR_SUPABASE_PUBLISHABLE_KEY### Code Exchange route-The `Code Exchange` route is required for the [server-side auth flow](https://supabase.com/docs/guides/auth/server-side-rendering) implemented by the Remix Auth Helpers. It exchanges an auth `code` for the user's `session`, which is set as a cookie for future requests made to Supabase.+The `Code Exchange` route is required for the [server-side auth flow](/docs/guides/auth/server-side-rendering) implemented by the Remix Auth Helpers. It exchanges an auth `code` for the user's `session`, which is set as a cookie for future requests made to Supabase.<Tabsscrollable@@ -822,7 +822,7 @@ export default function Index() {<Admonition type="tip">-Ensure you have [enabled replication](https://supabase.com/dashboard/project/_/database/publications) on the table you are subscribing to.+Ensure you have [enabled replication](/dashboard/project/_/database/publications) on the table you are subscribing to.</Admonition>diff --git a/apps/docs/content/guides/auth/auth-helpers/sveltekit.mdx b/apps/docs/content/guides/auth/auth-helpers/sveltekit.mdxindex c518caeba91..5b96f99bcc0 100644--- a/apps/docs/content/guides/auth/auth-helpers/sveltekit.mdx+++ b/apps/docs/content/guides/auth/auth-helpers/sveltekit.mdx@@ -40,7 +40,7 @@ npm install @supabase/auth-helpers-sveltekit @supabase/supabase-js### Declare environment variables-Retrieve your project's URL and anon key from your [API settings](https://supabase.com/dashboard/project/_/settings/api), and create a `.env.local` file with the following environment variables:+Retrieve your project's URL and anon key from your [API settings](/dashboard/project/_/settings/api), and create a `.env.local` file with the following environment variables:```bash .env.local# Find these in your Supabase project settings https://supabase.com/dashboard/project/_/settings/api@@ -161,7 +161,7 @@ Note that we are specifying `filterSerializedResponseHeaders` here. We need to t### Code Exchange route-The `Code Exchange` route is required for the [server-side auth flow](https://supabase.com/docs/guides/auth/server-side-rendering) implemented by the SvelteKit Auth Helpers. It exchanges an auth `code` for the user's `session`, which is set as a cookie for future requests made to Supabase.+The `Code Exchange` route is required for the [server-side auth flow](/docs/guides/auth/server-side-rendering) implemented by the SvelteKit Auth Helpers. It exchanges an auth `code` for the user's `session`, which is set as a cookie for future requests made to Supabase.<Tabsscrollable@@ -213,7 +213,7 @@ export const GET = async ({ url, locals: { supabase } }) => {### Generate types from your database-In order to get the most out of TypeScript and its IntelliSense, you should import the generated Database types into the `app.d.ts` type definition file that comes with your SvelteKit project, where `import('./DatabaseDefinitions')` points to the generated types file outlined in [v2 docs here](https://supabase.com/docs/reference/javascript/release-notes#typescript-support) after you have logged in, linked, and generated types through the Supabase CLI.+In order to get the most out of TypeScript and its IntelliSense, you should import the generated Database types into the `app.d.ts` type definition file that comes with your SvelteKit project, where `import('./DatabaseDefinitions')` points to the generated types file outlined in [v2 docs here](/docs/reference/javascript/release-notes#typescript-support) after you have logged in, linked, and generated types through the Supabase CLI.```ts src/app.d.ts// src/app.d.ts@@ -368,7 +368,7 @@ export const load = async ({ fetch, data, depends }) => {<Admonition type="note">-TypeScript types can be [generated with the Supabase CLI](https://supabase.com/docs/reference/javascript/typescript-support) and passed to `createSupabaseLoadClient` to add type support to the Supabase client.+TypeScript types can be [generated with the Supabase CLI](/docs/reference/javascript/typescript-support) and passed to `createSupabaseLoadClient` to add type support to the Supabase client.</Admonition>@@ -785,7 +785,7 @@ export const handle: Handle = sequence(supabase, authorization)### Client-side data fetching with RLS-For [row level security](https://supabase.com/docs/guides/database/postgres/row-level-security) to work properly when fetching data client-side, you need to use `supabaseClient` from `PageData` and only run your query once the session is defined client-side:+For [row level security](/docs/guides/database/postgres/row-level-security) to work properly when fetching data client-side, you need to use `supabaseClient` from `PageData` and only run your query once the session is defined client-side:```svelte src/routes/+page.svelte<script lang="ts">diff --git a/apps/docs/content/guides/auth/auth-hooks/before-user-created-hook.mdx b/apps/docs/content/guides/auth/auth-hooks/before-user-created-hook.mdxindex 3b05f2265bc..196d0c6e7d3 100644--- a/apps/docs/content/guides/auth/auth-hooks/before-user-created-hook.mdx+++ b/apps/docs/content/guides/auth/auth-hooks/before-user-created-hook.mdx@@ -200,7 +200,7 @@ The `before-user-created` hook solves this by:- Detecting that a user is about to be created- Providing the email address in the `user.email` field-Run the following snippet in your project's [SQL Editor](https://supabase.com/dashboard/project/_/sql/new). This will create a `signup_email_domains` table with some sample data and a `hook_restrict_signup_by_email_domain` function to be called by the `before-user-created` auth hook.+Run the following snippet in your project's [SQL Editor](/dashboard/project/_/sql/new). This will create a `signup_email_domains` table with some sample data and a `hook_restrict_signup_by_email_domain` function to be called by the `before-user-created` auth hook.```sql-- Create ENUM type for domain rule classification@@ -305,7 +305,7 @@ The `before-user-created` hook solves this by:- Allowing you to inspect the `app_metadata.provider`- Knowing the request came from an OAuth flow-Run the following snippet in your project's [SQL Editor](https://supabase.com/dashboard/project/_/sql/new). This will create a `hook_reject_discord_signups` function to be called by the `before-user-created` auth hook.+Run the following snippet in your project's [SQL Editor](/dashboard/project/_/sql/new). This will create a `hook_reject_discord_signups` function to be called by the `before-user-created` auth hook.```sql-- Create the function@@ -352,7 +352,7 @@ The `before-user-created` hook solves this by:- Detecting that a user is about to be created- Providing the IP address in the `metadata.ip_address` field-Run the following snippet in your project's [SQL Editor](https://supabase.com/dashboard/project/_/sql/new). This will create a `signup_networks` table with some sample data and a `hook_restrict_signup_by_network` function to be called by the `before-user-created` auth hook.+Run the following snippet in your project's [SQL Editor](/dashboard/project/_/sql/new). This will create a `signup_networks` table with some sample data and a `hook_restrict_signup_by_network` function to be called by the `before-user-created` auth hook.```sql SQL_EDITOR-- Create ENUM type for network rule classification@@ -607,7 +607,7 @@ The `before-user-created` hook solves this by:- Detecting that a user is about to be created- Providing the IP address in the `metadata.ip_address` field-Before creating the edge function run the following snippet in your project's [SQL Editor](https://supabase.com/dashboard/project/_/sql/new). This will create a `signup_networks` table with some sample data and a `hook_restrict_signup_by_network` function to be called by the `before-user-created` auth hook.+Before creating the edge function run the following snippet in your project's [SQL Editor](/dashboard/project/_/sql/new). This will create a `signup_networks` table with some sample data and a `hook_restrict_signup_by_network` function to be called by the `before-user-created` auth hook.```sql SQL_EDITOR-- Create ENUM type for network rule classificationdiff --git a/apps/docs/content/guides/auth/enterprise-sso/auth-sso-saml.mdx b/apps/docs/content/guides/auth/enterprise-sso/auth-sso-saml.mdxindex 653b7a4c6e7..f6ed8713600 100644--- a/apps/docs/content/guides/auth/enterprise-sso/auth-sso-saml.mdx+++ b/apps/docs/content/guides/auth/enterprise-sso/auth-sso-saml.mdx@@ -19,16 +19,16 @@ Supabase Auth supports enterprise-level Single Sign-On (SSO) for any identity pr- PingIdentity- OneLogin-If you're having issues with identity provider software not on this list, [open a support ticket](https://supabase.com/dashboard/support/new).+If you're having issues with identity provider software not on this list, [open a support ticket](/dashboard/support/new).## PrerequisitesThis guide requires the use of the [Supabase CLI](/docs/guides/cli). Make sure you're using version v1.46.4 or higher. You can use `supabase -v` to see the currently installed version.You can use the `supabase sso` [subcommands](/docs/reference/cli/supabase-sso) to manage your project's configuration.-SAML 2.0 support is disabled by default on Supabase projects. You can configure this on the [Auth Providers](https://supabase.com/dashboard/project/_/auth/providers) page on your project.+SAML 2.0 support is disabled by default on Supabase projects. You can configure this on the [Auth Providers](/dashboard/project/_/auth/providers) page on your project.-Note that SAML 2.0 support is offered on plans Pro and above. Check the [Pricing](https://supabase.com/pricing) page for more information.+Note that SAML 2.0 support is offered on plans Pro and above. Check the [Pricing](/pricing) page for more information.## Terminology@@ -134,7 +134,7 @@ CREATE POLICY "View organization settings."## Managing SAML 2.0 connections-Once you've enabled SAML 2.0 support on your project via the [Auth Providers](https://supabase.com/dashboard/project/_/auth/providers) page in the dashboard, you can use the [Supabase CLI](/docs/reference/cli/supabase-sso) to add, update, remove and view information about identity providers.+Once you've enabled SAML 2.0 support on your project via the [Auth Providers](/dashboard/project/_/auth/providers) page in the dashboard, you can use the [Supabase CLI](/docs/reference/cli/supabase-sso) to add, update, remove and view information about identity providers.### Add a connection@@ -346,7 +346,7 @@ supabase sso remove <provider-id> --project-ref <your-project>If successful, the details of the removed identity provider will be shown. All user accounts from that identity provider will be immediately logged out. User information will remain in the system, but it will no longer be possible for any of those accounts to be accessed in the future, even if you add the connection again.-If you need to reassign those user accounts to another identity provider, [open a support ticket](https://supabase.com/dashboard/support/new).+If you need to reassign those user accounts to another identity provider, [open a support ticket](/dashboard/support/new).A [list of all](/docs/reference/cli/supabase-sso-list) registered identity providers can be displayed by running:```bash@@ -426,7 +426,7 @@ Should you run into this problem, it is most likely a misconfiguration issue **oAt this time it is not possible to extract the RSA private key used by your project's Supabase Auth server. This is done to keep the private key as secure as possible, given that SAML does not offer an easy way to rotate keys without disrupting service. (Use a SAML 2.0 Metadata URL whenever possible for this reason!)-If you really need access to the key, [open a support ticket](https://supabase.com/dashboard/support/new) and we'll try to support you as best as possible.+If you really need access to the key, [open a support ticket](/dashboard/support/new) and we'll try to support you as best as possible.### Is multi-tenant SSO with SAML supported?@@ -436,7 +436,7 @@ This setup allows you to implement multi-tenant SSO for multiple clients or orga### Is multi-subdomain SSO with SAML supported?-Yes, also referred to as [cross-origin authentication within the same site](https://web.dev/articles/same-site-same-origin). To redirect to a URL other than the [Site URL](https://supabase.com/docs/guides/auth/redirect-urls), following the SAML response from the IdP, the `redirectTo` option can be added to [`signInWithSSO`](https://supabase.com/docs/reference/javascript/auth-signinwithsso).+Yes, also referred to as [cross-origin authentication within the same site](https://web.dev/articles/same-site-same-origin). To redirect to a URL other than the [Site URL](/docs/guides/auth/redirect-urls), following the SAML response from the IdP, the `redirectTo` option can be added to [`signInWithSSO`](/docs/reference/javascript/auth-signinwithsso).```tsimport { createClient } from '@supabase/supabase-js'@@ -451,7 +451,7 @@ const { data, error } = await supabase.auth.signInWithSSO({})```-When redirecting to a URL other than the Site URL, a `/callback` endpoint is necessary to process the auth code from the IdP and exchange it for a session. This assumes the [Supabase SSR client](https://supabase.com/docs/guides/auth/server-side/creating-a-client) has already been configured.+When redirecting to a URL other than the Site URL, a `/callback` endpoint is necessary to process the auth code from the IdP and exchange it for a session. This assumes the [Supabase SSR client](/docs/guides/auth/server-side/creating-a-client) has already been configured.<Tabs scrollable size="small" type="underlined" defaultActiveId="sveltekit" queryGroup="framework">diff --git a/apps/docs/content/guides/auth/native-mobile-deep-linking.mdx b/apps/docs/content/guides/auth/native-mobile-deep-linking.mdxindex c8473e7dc08..6d2155e9e64 100644--- a/apps/docs/content/guides/auth/native-mobile-deep-linking.mdx+++ b/apps/docs/content/guides/auth/native-mobile-deep-linking.mdx@@ -31,7 +31,7 @@ With Deep Linking, you can configure this redirect to open a specific page. This}```- In your project's [auth settings](https://supabase.com/dashboard/project/_/auth/url-configuration) add the redirect URL, e.g. `com.supabase://**`.+ In your project's [auth settings](/dashboard/project/_/auth/url-configuration) add the redirect URL, e.g. `com.supabase://**`.Finally, implement the OAuth and linking handlers. See the [supabase-js reference](/docs/reference/javascript/initializing?example=react-native-options-async-storage) for instructions on initializing the supabase-js client in React Native.@@ -117,7 +117,7 @@ With Deep Linking, you can configure this redirect to open a specific page. This### Deep link config- - Go to your [auth settings](https://supabase.com/dashboard/project/_/auth/url-configuration) page.+ - Go to your [auth settings](/dashboard/project/_/auth/url-configuration) page.- You need to enter your app redirect callback on `Additional Redirect URLs` field.The redirect callback URL should have this format `[YOUR_SCHEME]://[YOUR_HOSTNAME]`. Here, `io.supabase.flutterquickstart://login-callback` is just an example, you can choose whatever you would like for `YOUR_SCHEME` and `YOUR_HOSTNAME` as long as the scheme is unique across the user's device. For this reason, typically a reverse domain of your website is used.@@ -309,7 +309,7 @@ With Deep Linking, you can configure this redirect to open a specific page. This<TabPanel id="swift" label="Swift">### Deep link config- 1. Go to your [auth settings](https://supabase.com/dashboard/project/_/auth/url-configuration) page.+ 1. Go to your [auth settings](/dashboard/project/_/auth/url-configuration) page.2. Enter your app redirect URL in the `Additional Redirect URLs` field. This is the URL that the user gets redirected to after clicking a magic link.The redirect callback URL should have the format `[YOUR_SCHEME]://[YOUR_HOSTNAME]`. Here, `io.supabase.user-management://login-callback` is just an example. You can choose whatever you would like for `YOUR_SCHEME` and `YOUR_HOSTNAME` as long as the scheme is unique across the user's device. For this reason, typically a reverse domain of your website is used.@@ -349,7 +349,7 @@ With Deep Linking, you can configure this redirect to open a specific page. This<TabPanel id="kotlin" label="Android Kotlin">### Deep link config- 1. Go to your [auth settings](https://supabase.com/dashboard/project/_/auth/url-configuration) page.+ 1. Go to your [auth settings](/dashboard/project/_/auth/url-configuration) page.2. Enter your app redirect URL in the `Additional Redirect URLs` field. This is the URL that the user gets redirected to after clicking a magic link.The redirect callback URL should have the format `[YOUR_SCHEME]://[YOUR_HOSTNAME]`. Here, `io.supabase.user-management://login-callback` is just an example. You can choose whatever you would like for `YOUR_SCHEME` and `YOUR_HOSTNAME` as long as the scheme is unique across the user's device. For this reason, typically a reverse domain of your website is used.diff --git a/apps/docs/content/guides/auth/passwords.mdx b/apps/docs/content/guides/auth/passwords.mdxindex 2ff8353c077..363b86c6400 100644--- a/apps/docs/content/guides/auth/passwords.mdx+++ b/apps/docs/content/guides/auth/passwords.mdx@@ -629,7 +629,7 @@ supabase.auth.resetPasswordForEmail()```-If you are on one of the Kotlin targets that have built-in support for redirect URL handling, such as Android, see [OAuth and OTP link verification](https://supabase.com/docs/reference/kotlin/initializing).+If you are on one of the Kotlin targets that have built-in support for redirect URL handling, such as Android, see [OAuth and OTP link verification](/docs/reference/kotlin/initializing).</TabPanel></$Show>diff --git a/apps/docs/content/guides/auth/quickstarts/nextjs.mdx b/apps/docs/content/guides/auth/quickstarts/nextjs.mdxindex 488d11d1ed8..75851d7e9af 100644--- a/apps/docs/content/guides/auth/quickstarts/nextjs.mdx+++ b/apps/docs/content/guides/auth/quickstarts/nextjs.mdx@@ -12,7 +12,7 @@ hideToc: trueHead over to [database.new](https://database.new) and create a new Supabase project.- Your new database has a table for storing your users. You can see that this table is currently empty by running some SQL in the [SQL Editor](https://supabase.com/dashboard/project/_/sql/new).+ Your new database has a table for storing your users. You can see that this table is currently empty by running some SQL in the [SQL Editor](/dashboard/project/_/sql/new).</StepHikeCompact.Details>@@ -31,7 +31,7 @@ hideToc: true<StepHikeCompact.Details title="Create a Next.js app">Use the `create-next-app` command and the `with-supabase` template, to create a Next.js app pre-configured with:- - [Cookie-based Auth](https://supabase.com/docs/guides/auth/auth-helpers/nextjs)+ - [Cookie-based Auth](/docs/guides/auth/auth-helpers/nextjs)- [TypeScript](https://www.typescriptlang.org/)- [Tailwind CSS](https://tailwindcss.com/)@@ -52,7 +52,7 @@ hideToc: true<StepHikeCompact.Step step={3}><StepHikeCompact.Details title="Declare Supabase Environment Variables">- Rename `.env.example` to `.env.local` and populate with [your project's URL and Anon Key](https://supabase.com/dashboard/project/_/settings/api).+ Rename `.env.example` to `.env.local` and populate with [your project's URL and Anon Key](/dashboard/project/_/settings/api).</StepHikeCompact.Details>@@ -89,5 +89,5 @@ hideToc: true## Learn more-- [Setting up Server-Side Auth for Next.js](https://supabase.com/docs/guides/auth/server-side/nextjs) for a Next.js deep dive-- [Supabase Auth docs](https://supabase.com/docs/guides/auth#authentication) for more Supabase authentication methods+- [Setting up Server-Side Auth for Next.js](/docs/guides/auth/server-side/nextjs) for a Next.js deep dive+- [Supabase Auth docs](/docs/guides/auth#authentication) for more Supabase authentication methodsdiff --git a/apps/docs/content/guides/auth/quickstarts/react-native.mdx b/apps/docs/content/guides/auth/quickstarts/react-native.mdxindex 71a0a669a19..6655a95eede 100644--- a/apps/docs/content/guides/auth/quickstarts/react-native.mdx+++ b/apps/docs/content/guides/auth/quickstarts/react-native.mdx@@ -10,9 +10,9 @@ hideToc: true<StepHikeCompact.Step step={1}><StepHikeCompact.Details title="Create a new Supabase project">- [Launch a new project](https://supabase.com/dashboard) in the Supabase Dashboard.+ [Launch a new project](/dashboard) in the Supabase Dashboard.- Your new database has a table for storing your users. You can see that this table is currently empty by running some SQL in the [SQL Editor](https://supabase.com/dashboard/project/_/sql).+ Your new database has a table for storing your users. You can see that this table is currently empty by running some SQL in the [SQL Editor](/dashboard/project/_/sql).</StepHikeCompact.Details>@@ -64,7 +64,7 @@ hideToc: true<StepHikeCompact.Step step={4}><StepHikeCompact.Details title="Set up your login component">- Create a helper file `lib/supabase.ts` that exports a Supabase client using your [Project URL and public API (anon) key](https://supabase.com/dashboard/project/_/settings/api).+ Create a helper file `lib/supabase.ts` that exports a Supabase client using your [Project URL and public API (anon) key](/dashboard/project/_/settings/api).</StepHikeCompact.Details><StepHikeCompact.Code>diff --git a/apps/docs/content/guides/auth/quickstarts/react.mdx b/apps/docs/content/guides/auth/quickstarts/react.mdxindex af12c47789d..90bae5b029e 100644--- a/apps/docs/content/guides/auth/quickstarts/react.mdx+++ b/apps/docs/content/guides/auth/quickstarts/react.mdx@@ -10,9 +10,9 @@ hideToc: true<StepHikeCompact.Step step={1}><StepHikeCompact.Details title="Create a new Supabase project">- [Launch a new project](https://supabase.com/dashboard) in the Supabase Dashboard.+ [Launch a new project](/dashboard) in the Supabase Dashboard.- Your new database has a table for storing your users. You can see that this table is currently empty by running some SQL in the [SQL Editor](https://supabase.com/dashboard/project/_/sql).+ Your new database has a table for storing your users. You can see that this table is currently empty by running some SQL in the [SQL Editor](/dashboard/project/_/sql).</StepHikeCompact.Details>@@ -64,7 +64,7 @@ hideToc: true<StepHikeCompact.Step step={4}><StepHikeCompact.Details title="Set up your login component">- In `App.jsx`, create a Supabase client using your [Project URL and public API (anon) key](https://supabase.com/dashboard/project/_/settings/api).+ In `App.jsx`, create a Supabase client using your [Project URL and public API (anon) key](/dashboard/project/_/settings/api).You can configure the Auth component to display whenever there is no session inside `supabase.auth.getSession()`diff --git a/apps/docs/content/guides/auth/redirect-urls.mdx b/apps/docs/content/guides/auth/redirect-urls.mdxindex c61e3572f59..8b96e4c3b87 100644--- a/apps/docs/content/guides/auth/redirect-urls.mdx+++ b/apps/docs/content/guides/auth/redirect-urls.mdx@@ -17,7 +17,7 @@ To edit the allow list, go to the [URL Configuration](/dashboard/project/_/auth/## Use wildcards in redirect URLs-Supabase allows you to specify wildcards when adding redirect URLs to the [allow list](https://supabase.com/dashboard/project/_/auth/url-configuration). You can use wildcard match patterns to support preview URLs from providers like Netlify and Vercel.+Supabase allows you to specify wildcards when adding redirect URLs to the [allow list](/dashboard/project/_/auth/url-configuration). You can use wildcard match patterns to support preview URLs from providers like Netlify and Vercel.| Wildcard | Description || ------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------ |diff --git a/apps/docs/content/guides/auth/server-side/nextjs.mdx b/apps/docs/content/guides/auth/server-side/nextjs.mdxindex 6d437f6cadd..ff02120c232 100644--- a/apps/docs/content/guides/auth/server-side/nextjs.mdx+++ b/apps/docs/content/guides/auth/server-side/nextjs.mdx@@ -406,7 +406,7 @@ If you have email confirmation turned on (the default), a new user will receiveChange the email template to support a server-side authentication flow.-Go to the [Auth templates](https://supabase.com/dashboard/project/_/auth/templates) page in your dashboard. In the `Confirm signup` template, change `{{ .ConfirmationURL }}` to `{{ .SiteURL }}/auth/confirm?token_hash={{ .TokenHash }}&type=email`.+Go to the [Auth templates](/dashboard/project/_/auth/templates) page in your dashboard. In the `Confirm signup` template, change `{{ .ConfirmationURL }}` to `{{ .SiteURL }}/auth/confirm?token_hash={{ .TokenHash }}&type=email`.</StepHikeCompact.Details>@@ -804,7 +804,7 @@ If you have email confirmation turned on (the default), a new user will receiveChange the email template to support a server-side authentication flow.-Go to the [Auth templates](https://supabase.com/dashboard/project/_/auth/templates) page in your dashboard. In the `Confirm signup` template, change `{{ .ConfirmationURL }}` to `{{ .SiteURL }}/api/auth/confirm?token_hash={{ .TokenHash }}&type=email`.+Go to the [Auth templates](/dashboard/project/_/auth/templates) page in your dashboard. In the `Confirm signup` template, change `{{ .ConfirmationURL }}` to `{{ .SiteURL }}/api/auth/confirm?token_hash={{ .TokenHash }}&type=email`.</StepHikeCompact.Details>@@ -941,7 +941,7 @@ export async function getServerSideProps(context: GetServerSidePropsContext) {You can also fetch static data at build time using Supabase. Note that there's no session or user at build time, so the data will be the same for everyone who sees the page.-Add some colors data to your database by running the [Colors Quickstart](https://supabase.com/dashboard/project/_/sql/quickstarts) in the dashboard.+Add some colors data to your database by running the [Colors Quickstart](/dashboard/project/_/sql/quickstarts) in the dashboard.Then fetch the colors data using `getStaticProps` with the client from `@/utils/supabase/static-props.ts`.diff --git a/apps/docs/content/guides/auth/server-side/sveltekit.mdx b/apps/docs/content/guides/auth/server-side/sveltekit.mdxindex 404fb252e2a..b8de7de0425 100644--- a/apps/docs/content/guides/auth/server-side/sveltekit.mdx+++ b/apps/docs/content/guides/auth/server-side/sveltekit.mdx@@ -370,7 +370,7 @@ If you have email confirmation turned on (the default), a new user will receiveChange the email template to support a server-side authentication flow.-Go to the [Auth templates](https://supabase.com/dashboard/project/_/auth/templates) page in your dashboard. In the `Confirm signup` template, change `{{ .ConfirmationURL }}` to `{{ .SiteURL }}/auth/confirm?token_hash={{ .TokenHash }}&type=email`.+Go to the [Auth templates](/dashboard/project/_/auth/templates) page in your dashboard. In the `Confirm signup` template, change `{{ .ConfirmationURL }}` to `{{ .SiteURL }}/auth/confirm?token_hash={{ .TokenHash }}&type=email`.</StepHikeCompact.Details>diff --git a/apps/docs/content/guides/auth/social-login/auth-apple.mdx b/apps/docs/content/guides/auth/social-login/auth-apple.mdxindex 53c5927a333..9cf1b1ddc90 100644--- a/apps/docs/content/guides/auth/social-login/auth-apple.mdx+++ b/apps/docs/content/guides/auth/social-login/auth-apple.mdx@@ -9,7 +9,7 @@ Supabase Auth supports using [Sign in with Apple](https://developer.apple.com/si## Overview-To support Sign in with Apple, you need to configure the [Apple provider in the Supabase dashboard](https://supabase.com/dashboard/project/_/auth/providers) for your project.+To support Sign in with Apple, you need to configure the [Apple provider in the Supabase dashboard](/dashboard/project/_/auth/providers) for your project.There are three general ways to use Sign in with Apple, depending on the application you're trying to build:@@ -65,7 +65,7 @@ When developing with Expo, you can test Sign in with Apple via the Expo Go app,4. A **Services ID** which uniquely identifies the web services provided by the app you registered in the previous step. You can create a new Services ID from the [Identifiers](https://developer.apple.com/account/resources/identifiers/list/serviceId) section in the Apple Developer Console (use the filter menu in the upper right side to see all Services IDs). These usually are a reverse domain name string, for example `com.example.app.web`.5. Configure Website URLs for the newly created **Services ID**. The web domain you should use is the domain your Supabase project is hosted on. This is usually `<project-id>.supabase.co` while the redirect URL is `https://<project-id>.supabase.co/auth/v1/callback`.6. Create a signing **Key** in the [Keys](https://developer.apple.com/account/resources/authkeys/list) section of the Apple Developer Console. You can use this key to generate a secret key using the tool below, which is added to your Supabase project's Auth configuration. Make sure you safely store the `AuthKey_XXXXXXXXXX.p8` file. If you ever lose access to it, or make it public accidentally, revoke it from the Apple Developer Console and create a new one immediately. You will have to generate a new secret key using this file every 6 months, so make sure you schedule a recurring meeting in your calendar!- 7. Finally, add the information you configured above to the [Apple provider configuration in the Supabase dashboard](https://supabase.com/dashboard/project/_/auth/providers).+ 7. Finally, add the information you configured above to the [Apple provider configuration in the Supabase dashboard](/dashboard/project/_/auth/providers).You can also configure the Apple auth provider using the Management API:@@ -133,7 +133,7 @@ curl -X PATCH "https://api.supabase.com/v1/projects/$PROJECT_REF/config/auth" \1. Have an **App ID** which uniquely identifies the app you are building. You can create a new App ID from the [Identifiers](https://developer.apple.com/account/resources/identifiers/list/bundleId) section in the Apple Developer Console (use the filter menu in the upper right side to see all App IDs). These usually are a reverse domain name string, for example `com.example.app`. Make sure you configure Sign in with Apple for the App ID you created or already have, in the Capabilities list. At this time Supabase Auth does not support Server-to-Server notification endpoints, so you should leave that setting blank. (In the past App IDs were referred to as _bundle IDs._)2. Obtain a **Services ID** attached to the App ID that uniquely identifies the website. Use this value as the client ID when initializing Sign in with Apple JS. You can create a new Services ID from the [Identifiers](https://developer.apple.com/account/resources/identifiers/list/serviceId) section in the Apple Developer Console (use the filter menu in the upper right side to see all Services IDs). These usually are a reverse domain name string, for example `com.example.app.website`.3. Configure Website URLs for the newly created **Services ID**. The web domain you should use is the domain your website is hosted on. The redirect URL must also point to a page on your website that will receive the callback from Apple.- 4. Register the Services ID you created to your project's [Apple provider configuration in the Supabase dashboard](https://supabase.com/dashboard/project/_/auth/providers) under _Client IDs_.+ 4. Register the Services ID you created to your project's [Apple provider configuration in the Supabase dashboard](/dashboard/project/_/auth/providers) under _Client IDs_.<Admonition type="note">@@ -208,18 +208,18 @@ curl -X PATCH "https://api.supabase.com/v1/projects/$PROJECT_REF/config/auth" \<Admonition type="note">- When testing with Expo Go, the Expo App ID `host.exp.Exponent` will be used. Make sure to add this to the "Client IDs" list in your [Supabase dashboard Apple provider configuration](https://supabase.com/dashboard/project/_/auth/providers)!+ When testing with Expo Go, the Expo App ID `host.exp.Exponent` will be used. Make sure to add this to the "Client IDs" list in your [Supabase dashboard Apple provider configuration](/dashboard/project/_/auth/providers)!</Admonition><Admonition type="note">- When testing with Expo development build with custom `bundleIdentifier`, for example com.example.app , com.example.app.dev , com.example.app.preview. Make sure to add all these variants to the "Client IDs" list in your [Supabase dashboard Apple provider configuration](https://supabase.com/dashboard/project/_/auth/providers)!+ When testing with Expo development build with custom `bundleIdentifier`, for example com.example.app , com.example.app.dev , com.example.app.preview. Make sure to add all these variants to the "Client IDs" list in your [Supabase dashboard Apple provider configuration](/dashboard/project/_/auth/providers)!</Admonition>1. Have an **App ID** which uniquely identifies the app you are building. You can create a new App ID from the [Identifiers](https://developer.apple.com/account/resources/identifiers/list/bundleId) section in the Apple Developer Console (use the filter menu in the upper right side to see all App IDs). These usually are a reverse domain name string, for example `com.example.app`. Make sure you configure Sign in with Apple for the App ID you created or already have, in the Capabilities list. At this time Supabase Auth does not support Server-to-Server notification endpoints, so you should leave that setting blank. (In the past App IDs were referred to as _bundle IDs._)- 2. Register all of the App IDs that will be using your Supabase project in the [Apple provider configuration in the Supabase dashboard](https://supabase.com/dashboard/project/_/auth/providers) under _Client IDs_.+ 2. Register all of the App IDs that will be using your Supabase project in the [Apple provider configuration in the Supabase dashboard](/dashboard/project/_/auth/providers) under _Client IDs_.<Admonition type="note">@@ -273,7 +273,7 @@ curl -X PATCH "https://api.supabase.com/v1/projects/$PROJECT_REF/config/auth" \### Configuration [#flutter-configuration-native-app]1. Have an **App ID** which uniquely identifies the app you are building. You can create a new App ID from the [Identifiers](https://developer.apple.com/account/resources/identifiers/list/bundleId) section in the Apple Developer Console (use the filter menu in the upper right side to see all App IDs). These usually are a reverse domain name string, for example `com.example.app`. Make sure you configure Sign in with Apple for the App ID you created or already have, in the Capabilities list. At this time Supabase Auth does not support Server-to-Server notification endpoints, so you should leave that setting blank. (In the past App IDs were referred to as _bundle IDs._)- 2. Register all of the App IDs that will be using your Supabase project in the [Apple provider configuration in the Supabase dashboard](https://supabase.com/dashboard/project/_/auth/providers) under _Client IDs_.+ 2. Register all of the App IDs that will be using your Supabase project in the [Apple provider configuration in the Supabase dashboard](/dashboard/project/_/auth/providers) under _Client IDs_.## Apple sign in on Android, Web, Windows and Linux@@ -308,7 +308,7 @@ curl -X PATCH "https://api.supabase.com/v1/projects/$PROJECT_REF/config/auth" \4. A **Services ID** which uniquely identifies the web services provided by the app you registered in the previous step. You can create a new Services ID from the [Identifiers](https://developer.apple.com/account/resources/identifiers/list/serviceId) section in the Apple Developer Console (use the filter menu in the upper right side to see all Services IDs). These usually are a reverse domain name string, for example `com.example.app.web`.5. Configure Website URLs for the newly created **Services ID**. The web domain you should use is the domain your Supabase project is hosted on. This is usually `<project-id>.supabase.co` while the redirect URL is `https://<project-id>.supabase.co/auth/v1/callback`.6. Create a signing **Key** in the [Keys](https://developer.apple.com/account/resources/authkeys/list) section of the Apple Developer Console. You can use this key to generate a secret key using the tool below, which is added to your Supabase project's Auth configuration. Make sure you safely store the `AuthKey_XXXXXXXXXX.p8` file. If you ever lose access to it, or make it public accidentally, revoke it from the Apple Developer Console and create a new one immediately. You will have to generate a new secret key using this file every 6 months, so make sure you schedule a recurring reminder in your calendar!- 7. Finally, add the information you configured above to the [Apple provider configuration in the Supabase dashboard](https://supabase.com/dashboard/project/_/auth/providers).+ 7. Finally, add the information you configured above to the [Apple provider configuration in the Supabase dashboard](/dashboard/project/_/auth/providers).<Admonition type="tip">@@ -371,7 +371,7 @@ curl -X PATCH "https://api.supabase.com/v1/projects/$PROJECT_REF/config/auth" \### Configuration [#swift-configuration-native-app]1. Have an **App ID** which uniquely identifies the app you are building. You can create a new App ID from the [Identifiers](https://developer.apple.com/account/resources/identifiers/list/bundleId) section in the Apple Developer Console (use the filter menu in the upper right side to see all App IDs). These usually are a reverse domain name string, for example `com.example.app`. Make sure you configure Sign in with Apple for the App ID you created or already have, in the Capabilities list. At this time Supabase Auth does not support Server-to-Server notification endpoints, so you should leave that setting blank. (In the past App IDs were referred to as _bundle IDs._)- 2. Register all of the App IDs that will be using your Supabase project in the [Apple provider configuration in the Supabase dashboard](https://supabase.com/dashboard/project/_/auth/providers) under _Client IDs_.+ 2. Register all of the App IDs that will be using your Supabase project in the [Apple provider configuration in the Supabase dashboard](/dashboard/project/_/auth/providers) under _Client IDs_.<Admonition type="note">@@ -388,7 +388,7 @@ curl -X PATCH "https://api.supabase.com/v1/projects/$PROJECT_REF/config/auth" \## Using native sign in with Apple in Kotlin- When using [Compose Multiplatform](https://github.com/JetBrains/compose-multiplatform/), you can use the [compose-auth](https://supabase.com/docs/reference/kotlin/installing) plugin. On iOS it uses Native Apple Login automatically and on other platforms it uses `gotrue.signInWith(Apple)`.+ When using [Compose Multiplatform](https://github.com/JetBrains/compose-multiplatform/), you can use the [compose-auth](/docs/reference/kotlin/installing) plugin. On iOS it uses Native Apple Login automatically and on other platforms it uses `gotrue.signInWith(Apple)`.**Initialize the Supabase Client**diff --git a/apps/docs/content/guides/auth/social-login/auth-bitbucket.mdx b/apps/docs/content/guides/auth/social-login/auth-bitbucket.mdxindex d41f1673825..0f98bdce766 100644--- a/apps/docs/content/guides/auth/social-login/auth-bitbucket.mdx+++ b/apps/docs/content/guides/auth/social-login/auth-bitbucket.mdx@@ -11,7 +11,7 @@ To enable Bitbucket Auth for your project, you need to set up a Bitbucket OAuthSetting up Bitbucket logins for your application consists of 3 parts:- Create and configure a Bitbucket OAuth Consumer on [Bitbucket](https://bitbucket.org)-- Add your Bitbucket OAuth Consumer keys to your [Supabase Project](https://supabase.com/dashboard)+- Add your Bitbucket OAuth Consumer keys to your [Supabase Project](/dashboard)- Add the login code to your [Supabase JS Client App](https://github.com/supabase/supabase-js)## Access your Bitbucket accountdiff --git a/apps/docs/content/guides/auth/social-login/auth-discord.mdx b/apps/docs/content/guides/auth/social-login/auth-discord.mdxindex 6e6fdc7a702..b33fd04a363 100644--- a/apps/docs/content/guides/auth/social-login/auth-discord.mdx+++ b/apps/docs/content/guides/auth/social-login/auth-discord.mdx@@ -11,7 +11,7 @@ To enable Discord Auth for your project, you need to set up a Discord ApplicatioSetting up Discord logins for your application consists of 3 parts:- Create and configure a Discord Application [Discord Developer Portal](https://discord.com/developers)-- Add your Discord OAuth Consumer keys to your [Supabase Project](https://supabase.com/dashboard)+- Add your Discord OAuth Consumer keys to your [Supabase Project](/dashboard)- Add the login code to your [Supabase JS Client App](https://github.com/supabase/supabase-js)## Access your Discord accountdiff --git a/apps/docs/content/guides/auth/social-login/auth-facebook.mdx b/apps/docs/content/guides/auth/social-login/auth-facebook.mdxindex 5ae0b7271b1..1f62867576f 100644--- a/apps/docs/content/guides/auth/social-login/auth-facebook.mdx+++ b/apps/docs/content/guides/auth/social-login/auth-facebook.mdx@@ -11,7 +11,7 @@ To enable Facebook Auth for your project, you need to set up a Facebook OAuth apSetting up Facebook logins for your application consists of 3 parts:- Create and configure a Facebook Application on the [Facebook Developers Site](https://developers.facebook.com)-- Add your Facebook keys to your [Supabase Project](https://supabase.com/dashboard)+- Add your Facebook keys to your [Supabase Project](/dashboard)- Add the login code to your [Supabase JS Client App](https://github.com/supabase/supabase-js)## Access your Facebook Developer accountdiff --git a/apps/docs/content/guides/auth/social-login/auth-github.mdx b/apps/docs/content/guides/auth/social-login/auth-github.mdxindex 2fdb1896505..8a5d35e971e 100644--- a/apps/docs/content/guides/auth/social-login/auth-github.mdx+++ b/apps/docs/content/guides/auth/social-login/auth-github.mdx@@ -11,7 +11,7 @@ To enable GitHub Auth for your project, you need to set up a GitHub OAuth applicSetting up GitHub logins for your application consists of 3 parts:- Create and configure a GitHub OAuth App on [GitHub](https://github.com)-- Add your GitHub OAuth keys to your [Supabase Project](https://supabase.com/dashboard)+- Add your GitHub OAuth keys to your [Supabase Project](/dashboard)- Add the login code to your [Supabase JS Client App](https://github.com/supabase/supabase-js)## Find your callback URLdiff --git a/apps/docs/content/guides/auth/social-login/auth-gitlab.mdx b/apps/docs/content/guides/auth/social-login/auth-gitlab.mdxindex 91c74107c49..a8bee11ec32 100644--- a/apps/docs/content/guides/auth/social-login/auth-gitlab.mdx+++ b/apps/docs/content/guides/auth/social-login/auth-gitlab.mdx@@ -11,7 +11,7 @@ To enable GitLab Auth for your project, you need to set up a GitLab OAuth applicSetting up GitLab logins for your application consists of 3 parts:- Create and configure a GitLab Application on [GitLab](https://gitlab.com)-- Add your GitLab Application keys to your [Supabase Project](https://supabase.com/dashboard)+- Add your GitLab Application keys to your [Supabase Project](/dashboard)- Add the login code to your [Supabase JS Client App](https://github.com/supabase/supabase-js)## Access your GitLab accountdiff --git a/apps/docs/content/guides/auth/social-login/auth-google.mdx b/apps/docs/content/guides/auth/social-login/auth-google.mdxindex 42be9b5d23c..520fb9a3a00 100644--- a/apps/docs/content/guides/auth/social-login/auth-google.mdx+++ b/apps/docs/content/guides/auth/social-login/auth-google.mdx@@ -98,7 +98,7 @@ To use Google's pre-built signin buttons:- You will have a different set of SHA-1 certificate fingerprints for testing locally and going to production. Make sure to add both to the Google Cloud Console, and add all of the Client IDs to the Supabase dashboard.- For iOS, use the instructions on screen to provide the app Bundle ID, and App Store ID and Team ID if the app is already published on the Apple App Store.2. Configure the [OAuth Consent Screen](https://console.cloud.google.com/apis/credentials/consent). This information is shown to the user when giving consent to your app. In particular, make sure you have set up links to your app's privacy policy and terms of service.- 3. Finally, add the client ID from step 1 in the [Google provider on the Supabase Dashboard](https://supabase.com/dashboard/project/_/auth/providers), under _Client IDs_.+ 3. Finally, add the client ID from step 1 in the [Google provider on the Supabase Dashboard](/dashboard/project/_/auth/providers), under _Client IDs_.Note that you do not have to configure the OAuth flow in the Supabase Dashboard in order to use native sign in.@@ -114,7 +114,7 @@ To use Google's pre-built signin buttons:- You will have a different set of SHA-1 certificate fingerprint for testing locally and going to production. Make sure to add both to the Google Cloud Console. and add all of the Client IDs to Supabase dashboard.- For iOS, use the instructions on screen to provide the app Bundle ID, and App Store ID and Team ID if the app is already published on the Apple App Store.2. Configure the [OAuth Consent Screen](https://console.cloud.google.com/apis/credentials/consent). This information is shown to the user when giving consent to your app. In particular, make sure you have set up links to your app's privacy policy and terms of service.- 3. Add only the web client ID from step 1 in the [Google provider on the Supabase Dashboard](https://supabase.com/dashboard/project/_/auth/providers), under _Client IDs_. If you need iOS support, enable the `Skip nonce check` option.+ 3. Add only the web client ID from step 1 in the [Google provider on the Supabase Dashboard](/dashboard/project/_/auth/providers), under _Client IDs_. If you need iOS support, enable the `Skip nonce check` option.4. For iOS, add the `CFBundleURLTypes` attributes below into the `/ios/Runner/Info.plist` file.```xml<!-- Put me in the [my_project]/ios/Runner/Info.plist file -->@@ -141,7 +141,7 @@ To use Google's pre-built signin buttons:1. Obtain OAuth credentials for your Google Cloud project in the [Credentials](https://console.developers.google.com/apis/credentials) page of the console. If you already have a web client ID, no need to create a new one. When creating a new credential, choose _Web application_. In _Authorized redirect URIs_ enter `https://<project-id>.supabase.co/auth/v1/callback`. This URL will be seen by your users, and you can customize it by configuring [custom domains](/docs/guides/platform/custom-domains).2. Configure the [OAuth Consent Screen](https://console.cloud.google.com/apis/credentials/consent). This information is shown to the user when giving consent to your app. Within _Authorized domains_ make sure you add your Supabase project's domain `<project-id>.supabase.co`. Configure the non-sensitive scopes by making sure the following ones are selected: `.../auth/userinfo.email`, `.../auth/userinfo.profile`, `openid`. If you're selecting other sensitive scopes, your app may require additional verification. In those cases, it's best to use [custom domains](/docs/guides/platform/custom-domains).- 3. Finally, add the client ID and secret from step 1 in the [Google provider on the Supabase Dashboard](https://supabase.com/dashboard/project/_/auth/providers).+ 3. Finally, add the client ID and secret from step 1 in the [Google provider on the Supabase Dashboard](/dashboard/project/_/auth/providers).</TabPanel>@@ -188,7 +188,7 @@ To use Google's pre-built signin buttons:1. Follow the integration instructions on the [get started with Google Sign-In](https://developers.google.com/identity/sign-in/ios/start-integrating) for the iOS guide.2. Configure the [OAuth Consent Screen](https://console.cloud.google.com/apis/credentials/consent). This information is shown to the user when giving consent to your app. In particular, make sure you have set up links to your app's privacy policy and terms of service.- 3. Add web client ID and iOS client ID from step 1 in the [Google provider on the Supabase Dashboard](https://supabase.com/dashboard/project/_/auth/providers), under _Client IDs_, separated by a comma. Enable the `Skip nonce check` option.+ 3. Add web client ID and iOS client ID from step 1 in the [Google provider on the Supabase Dashboard](/dashboard/project/_/auth/providers), under _Client IDs_, separated by a comma. Enable the `Skip nonce check` option.</TabPanel></$Show>@@ -199,7 +199,7 @@ To use Google's pre-built signin buttons:1. Configure OAuth credentials for your Google Cloud project in the [Credentials](https://console.cloud.google.com/apis/credentials) page of the console. You need two client IDs, a web client ID and Android client ID. When creating a new Android OAuth client ID, use the instructions on screen to provide the SHA-1 certificate fingerprint used to sign your Android app.2. Configure the [OAuth Consent Screen](https://console.cloud.google.com/apis/credentials/consent). This information is shown to the user when giving consent to your app. In particular, make sure you have set up links to your app's privacy policy and terms of service.- 3. Finally, add the web client ID from step 1 in the [Google provider on the Supabase Dashboard](https://supabase.com/dashboard/project/_/auth/providers), under _Client IDs_.+ 3. Finally, add the web client ID from step 1 in the [Google provider on the Supabase Dashboard](/dashboard/project/_/auth/providers), under _Client IDs_.Note that you do not have to configure the OAuth flow in the Supabase Dashboard in order to use native sign in.@@ -211,7 +211,7 @@ To use Google's pre-built signin buttons:- For iOS, use the instructions on screen to provide the app Bundle ID, and App Store ID and Team ID if the app is already published on the Apple App Store.2. Configure the [OAuth Consent Screen](https://console.cloud.google.com/apis/credentials/consent). This information is shown to the user when giving consent to your app. In particular, make sure you have set up links to your app's privacy policy and terms of service.- 3. Finally, add the client ID from step 1 in the [Google provider on the Supabase Dashboard](https://supabase.com/dashboard/project/_/auth/providers), under _Client IDs_.+ 3. Finally, add the client ID from step 1 in the [Google provider on the Supabase Dashboard](/dashboard/project/_/auth/providers), under _Client IDs_.Note that you do not have to configure the OAuth flow in the Supabase Dashboard in order to use native sign in.@@ -223,7 +223,7 @@ To use Google's pre-built signin buttons:1. Configure OAuth credentials for your Google Cloud project in the [Credentials](https://console.cloud.google.com/apis/credentials) page of the console. When creating a new OAuth client ID, choose _Chrome extension_ for the application type. For _Item ID_ provide the unique ID of your Chrome extension. You can get this by calling `chrome.runtime.id` within the extension, or from the Web Store URL of the extension. For example, the [Google Translate extension](https://chrome.google.com/webstore/detail/google-translate/aapbdbdomjkkjkaonfhkkikfgjllcleb) has the Web Store URL `https://chrome.google.com/webstore/detail/google-translate/aapbdbdomjkkjkaonfhkkikfgjllcleb` and the last part `aapbdbdomjkkjkaonfhkkikfgjllcleb` is its unique ID.2. Configure the [OAuth Consent Screen](https://console.cloud.google.com/apis/credentials/consent). This information is shown to the user when giving consent to your app.- 3. Finally, add the client ID from step 1 in the [Google provider on the Supabase Dashboard](https://supabase.com/dashboard/project/_/auth/providers), under _Client IDs_.+ 3. Finally, add the client ID from step 1 in the [Google provider on the Supabase Dashboard](/dashboard/project/_/auth/providers), under _Client IDs_.Note that you do not have to configure the OAuth flow in the Supabase Dashboard to sign in with Google inside Chrome extensions.@@ -694,7 +694,7 @@ fun GoogleSignInButton() {### Using Google sign-in with Kotlin Multiplatform-When using [Compose Multiplatform](https://www.jetbrains.com/lp/compose-multiplatform/), you can use the [compose-auth](https://supabase.com/docs/reference/kotlin/installing) plugin. On Android it uses the Credential Manager automatically and on other platforms it uses `auth.signInWith(Google)`.+When using [Compose Multiplatform](https://www.jetbrains.com/lp/compose-multiplatform/), you can use the [compose-auth](/docs/reference/kotlin/installing) plugin. On Android it uses the Credential Manager automatically and on other platforms it uses `auth.signInWith(Google)`.**Initialize the Supabase Client**diff --git a/apps/docs/content/guides/auth/social-login/auth-kakao.mdx b/apps/docs/content/guides/auth/social-login/auth-kakao.mdxindex 97da18051a7..5b01279c4d8 100644--- a/apps/docs/content/guides/auth/social-login/auth-kakao.mdx+++ b/apps/docs/content/guides/auth/social-login/auth-kakao.mdx@@ -14,7 +14,7 @@ Kakao OAuth consists of six broad steps:- Obtaining a `REST API key` - this will serve as the `client_id`.- Generating the `Client secret code` - this will serve as the `client_secret`.- Additional configurations on Kakao Developers Portal.-- Add your `client id` and `client secret` keys to your [Supabase Project](https://supabase.com/dashboard).+- Add your `client id` and `client secret` keys to your [Supabase Project](/dashboard).- Add the login code to your [Supabase JS Client App](https://github.com/supabase/supabase-js).## Access your Kakao Developer accountdiff --git a/apps/docs/content/guides/auth/social-login/auth-linkedin.mdx b/apps/docs/content/guides/auth/social-login/auth-linkedin.mdxindex beee52a0ba9..a20cdbb2638 100644--- a/apps/docs/content/guides/auth/social-login/auth-linkedin.mdx+++ b/apps/docs/content/guides/auth/social-login/auth-linkedin.mdx@@ -11,7 +11,7 @@ To enable LinkedIn Auth for your project, you need to set up a LinkedIn OAuth apSetting up LinkedIn logins for your application consists of 3 parts:- Create and configure a LinkedIn Project and App on the [LinkedIn Developer Dashboard](https://www.linkedin.com/developers/apps).-- Add your _LinkedIn (OIDC)_ `client_id` and `client_secret` to your [Supabase Project](https://supabase.com/dashboard).+- Add your _LinkedIn (OIDC)_ `client_id` and `client_secret` to your [Supabase Project](/dashboard).- Add the login code to your [Supabase JS Client App](https://github.com/supabase/supabase-js).## Access your LinkedIn Developer accountdiff --git a/apps/docs/content/guides/auth/social-login/auth-notion.mdx b/apps/docs/content/guides/auth/social-login/auth-notion.mdxindex 6a4db97cbe7..2823f723ef4 100644--- a/apps/docs/content/guides/auth/social-login/auth-notion.mdx+++ b/apps/docs/content/guides/auth/social-login/auth-notion.mdx@@ -11,7 +11,7 @@ To enable Notion Auth for your project, you need to set up a Notion ApplicationSetting up Notion logins for your application consists of 3 parts:- Create and configure a Notion Application [Notion Developer Portal](https://www.notion.so/my-integrations)-- Retrieve your OAuth client ID and OAuth client secret and add them to your [Supabase Project](https://supabase.com/dashboard)+- Retrieve your OAuth client ID and OAuth client secret and add them to your [Supabase Project](/dashboard)- Add the login code to your [Supabase JS Client App](https://github.com/supabase/supabase-js)## Create your notion integrationdiff --git a/apps/docs/content/guides/auth/social-login/auth-slack.mdx b/apps/docs/content/guides/auth/social-login/auth-slack.mdxindex 172eed7207d..41fe828d680 100644--- a/apps/docs/content/guides/auth/social-login/auth-slack.mdx+++ b/apps/docs/content/guides/auth/social-login/auth-slack.mdx@@ -17,7 +17,7 @@ We will be replacing the existing Slack provider with a new Slack (OIDC) provideSetting up Slack logins for your application consists of 3 parts:- Create and configure a Slack Project and App on the [Slack Developer Dashboard](https://api.slack.com/apps).-- Add your Slack `API Key` and `API Secret Key` to your [Supabase Project](https://supabase.com/dashboard).+- Add your Slack `API Key` and `API Secret Key` to your [Supabase Project](/dashboard).- Add the login code to your [Supabase JS Client App](https://github.com/supabase/supabase-js).## Access your Slack Developer accountdiff --git a/apps/docs/content/guides/auth/social-login/auth-spotify.mdx b/apps/docs/content/guides/auth/social-login/auth-spotify.mdxindex 57cd5f5f6a7..3bea06b3921 100644--- a/apps/docs/content/guides/auth/social-login/auth-spotify.mdx+++ b/apps/docs/content/guides/auth/social-login/auth-spotify.mdx@@ -11,7 +11,7 @@ To enable Spotify Auth for your project, you need to set up a Spotify OAuth applSetting up Spotify logins for your application consists of 3 parts:- Create and configure a Spotify Project and App on the [Spotify Developer Dashboard](https://developer.spotify.com/dashboard/).-- Add your Spotify `API Key` and `API Secret Key` to your [Supabase Project](https://supabase.com/dashboard).+- Add your Spotify `API Key` and `API Secret Key` to your [Supabase Project](/dashboard).- Add the login code to your [Supabase JS Client App](https://github.com/supabase/supabase-js).## Access your Spotify Developer accountdiff --git a/apps/docs/content/guides/auth/social-login/auth-twitch.mdx b/apps/docs/content/guides/auth/social-login/auth-twitch.mdxindex 3a4a2b8e978..dab5d837cfe 100644--- a/apps/docs/content/guides/auth/social-login/auth-twitch.mdx+++ b/apps/docs/content/guides/auth/social-login/auth-twitch.mdx@@ -11,7 +11,7 @@ To enable Twitch Auth for your project, you need to set up a Twitch ApplicationSetting up Twitch logins for your application consists of 3 parts:- Create and configure a Twitch Application [Twitch Developer Console](https://dev.twitch.tv/console)-- Add your Twitch OAuth Consumer keys to your [Supabase Project](https://supabase.com/dashboard)+- Add your Twitch OAuth Consumer keys to your [Supabase Project](/dashboard)- Add the login code to your [Supabase JS Client App](https://github.com/supabase/supabase-js)## Access your Twitch Developer accountdiff --git a/apps/docs/content/guides/auth/social-login/auth-twitter.mdx b/apps/docs/content/guides/auth/social-login/auth-twitter.mdxindex 6308bcc40d5..5fb8701653e 100644--- a/apps/docs/content/guides/auth/social-login/auth-twitter.mdx+++ b/apps/docs/content/guides/auth/social-login/auth-twitter.mdx@@ -11,7 +11,7 @@ To enable Twitter Auth for your project, you need to set up a Twitter OAuth applSetting up Twitter logins for your application consists of 3 parts:- Create and configure a Twitter Project and App on the [Twitter Developer Dashboard](https://developer.twitter.com/en/portal/dashboard).-- Add your Twitter `API Key` and `API Secret Key` to your [Supabase Project](https://supabase.com/dashboard).+- Add your Twitter `API Key` and `API Secret Key` to your [Supabase Project](/dashboard).- Add the login code to your [Supabase JS Client App](https://github.com/supabase/supabase-js).## Access your Twitter Developer accountdiff --git a/apps/docs/content/guides/auth/social-login/auth-zoom.mdx b/apps/docs/content/guides/auth/social-login/auth-zoom.mdxindex b1714a6f58d..7aa9436b782 100644--- a/apps/docs/content/guides/auth/social-login/auth-zoom.mdx+++ b/apps/docs/content/guides/auth/social-login/auth-zoom.mdx@@ -11,7 +11,7 @@ To enable Zoom Auth for your project, you need to set up a Zoom OAuth applicatioSetting up Zoom logins for your application consists of 3 parts:- Create and configure a Zoom OAuth App on [Zoom App Marketplace](https://marketplace.zoom.us/)-- Add your Zoom OAuth keys to your [Supabase Project](https://supabase.com/dashboard)+- Add your Zoom OAuth keys to your [Supabase Project](/dashboard)- Add the login code to your [Supabase JS Client App](https://github.com/supabase/supabase-js)## Access your Zoom Developer accountdiff --git a/apps/docs/content/guides/auth/third-party/clerk.mdx b/apps/docs/content/guides/auth/third-party/clerk.mdxindex f7a809a7765..152de808181 100644--- a/apps/docs/content/guides/auth/third-party/clerk.mdx+++ b/apps/docs/content/guides/auth/third-party/clerk.mdx@@ -123,7 +123,7 @@ This example uses a restrictive RLS policy checks that the [second factor verifi## Deprecated integration with JWT templates-As of 1st April 2025 the previously available [Clerk Integration with Supabase](https://supabase.com/partners/integrations/clerk) is considered deprecated and is no longer recommended for use. All projects using the deprecated integration will be excluded from Third-Party Monthly Active User (TP-MAU) charges until at least 1st January 2026.+As of 1st April 2025 the previously available [Clerk Integration with Supabase](/partners/integrations/clerk) is considered deprecated and is no longer recommended for use. All projects using the deprecated integration will be excluded from Third-Party Monthly Active User (TP-MAU) charges until at least 1st January 2026.This integration used low-level primitives that are still available in Supabase and Clerk, such as a [configurable JWT secret](/dashboard/project/_/settings/api) and [JWT templates from Clerk](https://clerk.com/docs/backend-requests/jwt-templates). This enables you to keep using it in an unofficial manner, though only limited support will be provided from Supabase.diff --git a/apps/docs/content/guides/cron.mdx b/apps/docs/content/guides/cron.mdxindex 45ff736f526..ba34687eb40 100644--- a/apps/docs/content/guides/cron.mdx+++ b/apps/docs/content/guides/cron.mdx@@ -5,7 +5,7 @@ subtitle: 'Schedule Recurring Jobs with Cron Syntax in Postgres'Supabase Cron is a Postgres Module that simplifies scheduling recurring Jobs with cron syntax and monitoring Job runs inside Postgres.-Cron Jobs can be created via SQL or the [Integrations -> Cron](https://supabase.com/dashboard/project/_/integrations) interface inside the Dashboard, and can run anywhere from every second to once a year depending on your use case.+Cron Jobs can be created via SQL or the [Integrations -> Cron](/dashboard/project/_/integrations) interface inside the Dashboard, and can run anywhere from every second to once a year depending on your use case.<Imagealt="Manage cron jobs via the Dashboard"diff --git a/apps/docs/content/guides/cron/quickstart.mdx b/apps/docs/content/guides/cron/quickstart.mdxindex cf1b2d6430b..1cd74f620aa 100644--- a/apps/docs/content/guides/cron/quickstart.mdx+++ b/apps/docs/content/guides/cron/quickstart.mdx@@ -299,4 +299,4 @@ Be extremely careful when setting up Jobs for system maintenance tasks as they cFor instance, scheduling a command to terminate idle connections with `pg_terminate_backend(pid)` can disrupt critical background processes like nightly backups. Often, there is an existing Postgres setting, such as `idle_session_timeout`, that can perform these common maintenance tasks without the risk.-Reach out to [Supabase Support](https://supabase.com/support) if you're unsure if that applies to your use case.+Reach out to [Supabase Support](/support) if you're unsure if that applies to your use case.diff --git a/apps/docs/content/guides/database/arrays.mdx b/apps/docs/content/guides/database/arrays.mdxindex 4d4aa9dfbec..1f549a84c6a 100644--- a/apps/docs/content/guides/database/arrays.mdx+++ b/apps/docs/content/guides/database/arrays.mdx@@ -19,7 +19,7 @@ Create a test table with a text array (an array of strings):><TabPanel id="dashboard" label="Dashboard">-1. Go to the [Table editor](https://supabase.com/dashboard/project/_/editor) page in the Dashboard.+1. Go to the [Table editor](/dashboard/project/_/editor) page in the Dashboard.1. Click **New Table** and create a table with the name `arraytest`.1. Click **Save**.1. Click **New Column** and create a column with the name `textarray`, type `text`, and select **Define as array**.@@ -49,7 +49,7 @@ create table arraytest (><TabPanel id="dashboard" label="Dashboard">-1. Go to the [Table editor](https://supabase.com/dashboard/project/_/editor) page in the Dashboard.+1. Go to the [Table editor](/dashboard/project/_/editor) page in the Dashboard.1. Select the `arraytest` table.1. Click **Insert row** and add `["Harry", "Larry", "Moe"]`.1. Click **Save.**@@ -131,7 +131,7 @@ supabase.from_('arraytest').insert(><TabPanel id="dashboard" label="Dashboard">-1. Go to the [Table editor](https://supabase.com/dashboard/project/_/editor) page in the Dashboard.+1. Go to the [Table editor](/dashboard/project/_/editor) page in the Dashboard.1. Select the `arraytest` table.You should see:diff --git a/apps/docs/content/guides/database/beekeeper-studio.mdx b/apps/docs/content/guides/database/beekeeper-studio.mdxindex c40eec40e75..4ec4c677259 100644--- a/apps/docs/content/guides/database/beekeeper-studio.mdx+++ b/apps/docs/content/guides/database/beekeeper-studio.mdx@@ -28,7 +28,7 @@ hideToc: true<StepHikeCompact.Details title="Get your connection credentials">- Get your connection credentials from the [**Connect** panel](https://supabase.com/dashboard/project/_/?showConnect=true). You will need:+ Get your connection credentials from the [**Connect** panel](/dashboard/project/_/?showConnect=true). You will need:- host- username- password@@ -50,7 +50,7 @@ hideToc: true<StepHikeCompact.Details title="Download your SSL Certificate">- Download your SSL certificate from the Dashboard's [`Database Settings`](https://supabase.com/dashboard/project/_/database/settings)+ Download your SSL certificate from the Dashboard's [`Database Settings`](/dashboard/project/_/database/settings)</StepHikeCompact.Details>diff --git a/apps/docs/content/guides/database/connecting-to-postgres.mdx b/apps/docs/content/guides/database/connecting-to-postgres.mdxindex e1379054e3b..011bfeab5c7 100644--- a/apps/docs/content/guides/database/connecting-to-postgres.mdx+++ b/apps/docs/content/guides/database/connecting-to-postgres.mdx@@ -77,7 +77,7 @@ The connection string looks like this:postgresql://postgres:[YOUR-PASSWORD]@db.apbkobhfnmcqqzqeeqss.supabase.co:5432/postgres```-Get your project's direct connection string from your project dashboard by clicking [Connect](https://supabase.com/dashboard/project/_?showConnect=true).+Get your project's direct connection string from your project dashboard by clicking [Connect](/dashboard/project/_?showConnect=true).## Shared pooler@@ -93,7 +93,7 @@ The connection string looks like this:postgres://postgres.apbkobhfnmcqqzqeeqss:[YOUR-PASSWORD]@aws-0-[REGION].pooler.supabase.com:5432/postgres```-Get your project's Session pooler connection string from your project dashboard by clicking [Connect](https://supabase.com/dashboard/project/_?showConnect=true).+Get your project's Session pooler connection string from your project dashboard by clicking [Connect](/dashboard/project/_?showConnect=true).### Supavisor transaction mode@@ -111,7 +111,7 @@ The connection string looks like this:postgres://postgres.apbkobhfnmcqqzqeeqss:[YOUR-PASSWORD]@aws-0-[REGION].pooler.supabase.com:6543/postgres```-Get your project's Transaction pooler connection string from your project dashboard by clicking [Connect](https://supabase.com/dashboard/project/_?showConnect=true).+Get your project's Transaction pooler connection string from your project dashboard by clicking [Connect](/dashboard/project/_?showConnect=true).## Dedicated pooler@@ -119,7 +119,7 @@ For paying customers, we provision a Dedicated Pooler ([PgBouncer](https://www.pThe Dedicated Pooler ensures best performance and latency, while using up more of your project's compute resources. If your network supports IPv6 or you have the IPv4 add-on, we encourage you to use the Dedicated Pooler over the Shared Pooler.-Get your project's Dedicated pooler connection string from your project dashboard by clicking [Connect](https://supabase.com/dashboard/project/_?showConnect=true).+Get your project's Dedicated pooler connection string from your project dashboard by clicking [Connect](/dashboard/project/_?showConnect=true).<Admonition type="note">diff --git a/apps/docs/content/guides/database/connecting-to-postgres/serverless-drivers.mdx b/apps/docs/content/guides/database/connecting-to-postgres/serverless-drivers.mdxindex afd8febfd7e..4f2cf3f9fbb 100644--- a/apps/docs/content/guides/database/connecting-to-postgres/serverless-drivers.mdx+++ b/apps/docs/content/guides/database/connecting-to-postgres/serverless-drivers.mdx@@ -64,7 +64,7 @@ Choose one of these Vercel Deploy Templates which use our [Vercel Deploy Integra### Manual configuration-In your [`Database Settings`](https://supabase.com/dashboard/project/_?showConnect=true) and copy the URI from the `Transaction pooler` section and save it as the `POSTGRES_URL` environment variable. Remember to replace the password placeholder with your actual database password and add the following suffix `?workaround=supabase-pooler.vercel`.+In your [`Database Settings`](/dashboard/project/_?showConnect=true) and copy the URI from the `Transaction pooler` section and save it as the `POSTGRES_URL` environment variable. Remember to replace the password placeholder with your actual database password and add the following suffix `?workaround=supabase-pooler.vercel`.```txt .env.localPOSTGRES_URL="postgres://postgres.cfcxynqnhdybqtbhjemm:[YOUR-PASSWORD]@aws-0-ap-southeast-1.pooler.supabase.com:6543/postgres?workaround=supabase-pooler.vercel"diff --git a/apps/docs/content/guides/database/custom-postgres-config.mdx b/apps/docs/content/guides/database/custom-postgres-config.mdxindex 26e1fc9b6ff..7b1bec9fa1c 100644--- a/apps/docs/content/guides/database/custom-postgres-config.mdx+++ b/apps/docs/content/guides/database/custom-postgres-config.mdx@@ -24,7 +24,7 @@ select * from pg_settings;### User-context settings-The [`pg_settings`](https://www.postgresql.org/docs/current/view-pg-settings.html) table's `context` column specifies the requirements for changing a setting. By default, those with a `user` context can be changed at the `role` or `database` level with [SQL](https://supabase.com/dashboard/project/_/sql/).+The [`pg_settings`](https://www.postgresql.org/docs/current/view-pg-settings.html) table's `context` column specifies the requirements for changing a setting. By default, those with a `user` context can be changed at the `role` or `database` level with [SQL](/dashboard/project/_/sql/).To list all user-context settings, run:@@ -46,7 +46,7 @@ show "statement_timeout";### Superuser settings-Some settings can only be modified by a superuser. Supabase pre-enables the [`supautils` extension](https://supabase.com/blog/roles-postgres-hooks#setting-up-the-supautils-extension), which allows the `postgres` role to retain certain superuser privileges. It enables modification of the below reserved configurations at the `role` level:+Some settings can only be modified by a superuser. Supabase pre-enables the [`supautils` extension](/blog/roles-postgres-hooks#setting-up-the-supautils-extension), which allows the `postgres` role to retain certain superuser privileges. It enables modification of the below reserved configurations at the `role` level:| Setting | Description || ---------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |@@ -60,9 +60,9 @@ Some settings can only be modified by a superuser. Supabase pre-enables the [`su| `pg_net.ttl` | Sets how long the [pg_net extension](/docs/guides/database/extensions/pg_net) saves responses || `pg_net.batch_size` | Sets how many requests the [pg_net extension](/docs/guides/database/extensions/pg_net) can make per second || `pg_stat_statements.*` | Configures the [pg_stat_statements extension](https://www.postgresql.org/docs/current/pgstatstatements.html). |-| `pgaudit.*` | Configures the [PGAudit extension](https://supabase.com/docs/guides/database/extensions/pgaudit). The `log_parameter` is still restricted to protect secrets |+| `pgaudit.*` | Configures the [PGAudit extension](/docs/guides/database/extensions/pgaudit). The `log_parameter` is still restricted to protect secrets || `pgrst.*` | [`PostgREST` settings](https://docs.postgrest.org/en/stable/references/configuration.html#db-aggregates-enabled) |-| `plan_filter.*` | Configures the [pg_plan_filter extension](https://supabase.com/docs/guides/database/extensions/pg_plan_filter) |+| `plan_filter.*` | Configures the [pg_plan_filter extension](/docs/guides/database/extensions/pg_plan_filter) || `session_replication_role` | Sets the session's behavior for triggers and rewrite rules. || `track_io_timing` | Collects timing statistics for database I/O activity. || `wal_compression` | This parameter enables compression of WAL using the specified compression method. |@@ -103,7 +103,7 @@ In order to overwrite the default settings, you must have `Owner` or `Administra<Admonition type="tip">-If a setting you need is not yet configurable, [share your use case with us](https://supabase.com/dashboard/support/new)! Let us know what setting you'd like to control, and we'll consider adding support in future updates.+If a setting you need is not yet configurable, [share your use case with us](/dashboard/support/new)! Let us know what setting you'd like to control, and we'll consider adding support in future updates.</Admonition>diff --git a/apps/docs/content/guides/database/dbeaver.mdx b/apps/docs/content/guides/database/dbeaver.mdxindex 7d7cb18fb65..bc6d5a0753f 100644--- a/apps/docs/content/guides/database/dbeaver.mdx+++ b/apps/docs/content/guides/database/dbeaver.mdx@@ -32,7 +32,7 @@ If you do not have DBeaver, you can download it from its [website](https://dbeav<StepHikeCompact.Step step={3}><StepHikeCompact.Details title="Get Your Credentials">- On your project dashboard, click [Connect](https://supabase.com/dashboard/project/_?showConnect=true), note your session pooler's:+ On your project dashboard, click [Connect](/dashboard/project/_?showConnect=true), note your session pooler's:- host- username@@ -64,7 +64,7 @@ If you do not have DBeaver, you can download it from its [website](https://dbeav<StepHikeCompact.Step step={5}><StepHikeCompact.Details title="Download certificate">- In the [Database Settings](https://supabase.com/dashboard/project/_/database/settings), download your SSL certificate.+ In the [Database Settings](/dashboard/project/_/database/settings), download your SSL certificate.</StepHikeCompact.Details><StepHikeCompact.Code>diff --git a/apps/docs/content/guides/database/drizzle.mdx b/apps/docs/content/guides/database/drizzle.mdxindex 04966beaf98..9c1914df45b 100644--- a/apps/docs/content/guides/database/drizzle.mdx+++ b/apps/docs/content/guides/database/drizzle.mdx@@ -12,7 +12,7 @@ hideToc: true<Admonition type="note">-If you plan on solely using Drizzle instead of the Supabase Data API (PostgREST), you can turn off the latter in the [API Settings](https://supabase.com/dashboard/project/_/settings/api).+If you plan on solely using Drizzle instead of the Supabase Data API (PostgREST), you can turn off the latter in the [API Settings](/dashboard/project/_/settings/api).</Admonition><StepHikeCompact>@@ -66,7 +66,7 @@ If you plan on solely using Drizzle instead of the Supabase Data API (PostgREST)Connect to your database using the Connection Pooler.- From the project [**Connect** panel](https://supabase.com/dashboard/project/_?showConnect=true), copy the URI from the "Shared Pooler" option and save it as the `DATABASE_URL` environment variable. Remember to replace the password placeholder with your actual database password.+ From the project [**Connect** panel](/dashboard/project/_?showConnect=true), copy the URI from the "Shared Pooler" option and save it as the `DATABASE_URL` environment variable. Remember to replace the password placeholder with your actual database password.</StepHikeCompact.Details>diff --git a/apps/docs/content/guides/database/extensions.mdx b/apps/docs/content/guides/database/extensions.mdxindex af3ab4b809d..e7e090c6ad4 100644--- a/apps/docs/content/guides/database/extensions.mdx+++ b/apps/docs/content/guides/database/extensions.mdx@@ -18,7 +18,7 @@ Supabase has pre-installed some of the most useful open source extensions.><TabPanel id="dashboard" label="Dashboard">-1. Go to the [Database](https://supabase.com/dashboard/project/_/database/tables) page in the Dashboard.+1. Go to the [Database](/dashboard/project/_/database/tables) page in the Dashboard.2. Click **Extensions** in the sidebar.3. Enable or disable an extension.@@ -56,7 +56,7 @@ In addition to the pre-configured extensions, you can also install your own SQL### Upgrade extensions-If a new version of an extension becomes available on Supabase, you need to initiate a software upgrade in the [Infrastructure Settings](https://supabase.com/dashboard/project/_/settings/infrastructure) to access it. Software upgrades can also be initiated by restarting your server in the [General Settings](https://supabase.com/dashboard/project/_/settings/general).+If a new version of an extension becomes available on Supabase, you need to initiate a software upgrade in the [Infrastructure Settings](/dashboard/project/_/settings/infrastructure) to access it. Software upgrades can also be initiated by restarting your server in the [General Settings](/dashboard/project/_/settings/general).### Full list of extensionsdiff --git a/apps/docs/content/guides/database/extensions/http.mdx b/apps/docs/content/guides/database/extensions/http.mdxindex fbcf72f7f67..2daf11fe010 100644--- a/apps/docs/content/guides/database/extensions/http.mdx+++ b/apps/docs/content/guides/database/extensions/http.mdx@@ -44,7 +44,7 @@ You can use the `http` extension to make these network requests from Postgres.><TabPanel id="dashboard" label="Dashboard">-1. Go to the [Database](https://supabase.com/dashboard/project/_/database/tables) page in the Dashboard.+1. Go to the [Database](/dashboard/project/_/database/tables) page in the Dashboard.2. Click on **Extensions** in the sidebar.3. Search for `http` and enable the extension.diff --git a/apps/docs/content/guides/database/extensions/hypopg.mdx b/apps/docs/content/guides/database/extensions/hypopg.mdxindex 69f23327a99..3a3875ef139 100644--- a/apps/docs/content/guides/database/extensions/hypopg.mdx+++ b/apps/docs/content/guides/database/extensions/hypopg.mdx@@ -19,7 +19,7 @@ The motivation for HypoPG is to allow users to quickly search for an index to im><TabPanel id="dashboard" label="Dashboard">-1. Go to the [Database](https://supabase.com/dashboard/project/_/database/tables) page in the Dashboard.+1. Go to the [Database](/dashboard/project/_/database/tables) page in the Dashboard.2. Click on **Extensions** in the sidebar.3. Search for `hypopg` and enable the extension.diff --git a/apps/docs/content/guides/database/extensions/pg_graphql.mdx b/apps/docs/content/guides/database/extensions/pg_graphql.mdxindex d3a35fa3a29..d2de89107db 100644--- a/apps/docs/content/guides/database/extensions/pg_graphql.mdx+++ b/apps/docs/content/guides/database/extensions/pg_graphql.mdx@@ -23,7 +23,7 @@ For more information about how the SQL schema is reflected into a GraphQL schema><TabPanel id="dashboard" label="Dashboard">-1. Go to the [Database](https://supabase.com/dashboard/project/_/database/tables) page in the Dashboard.+1. Go to the [Database](/dashboard/project/_/database/tables) page in the Dashboard.2. Click on **Extensions** in the sidebar.3. Search for "pg_graphql" and enable the extension.diff --git a/apps/docs/content/guides/database/extensions/pg_hashids.mdx b/apps/docs/content/guides/database/extensions/pg_hashids.mdxindex 07383d98c83..b179e95e980 100644--- a/apps/docs/content/guides/database/extensions/pg_hashids.mdx+++ b/apps/docs/content/guides/database/extensions/pg_hashids.mdx@@ -17,7 +17,7 @@ description: 'Generate Short UIDs from Numbers'><TabPanel id="dashboard" label="Dashboard">-1. Go to the [Database](https://supabase.com/dashboard/project/_/database/tables) page in the Dashboard.+1. Go to the [Database](/dashboard/project/_/database/tables) page in the Dashboard.2. Click on **Extensions** in the sidebar.3. Search for "pg_hashids" and enable the extension.diff --git a/apps/docs/content/guides/database/extensions/pg_jsonschema.mdx b/apps/docs/content/guides/database/extensions/pg_jsonschema.mdxindex 761fb109101..f9d7c6ff329 100644--- a/apps/docs/content/guides/database/extensions/pg_jsonschema.mdx+++ b/apps/docs/content/guides/database/extensions/pg_jsonschema.mdx@@ -18,7 +18,7 @@ tocVideo: 'amJo48ChLGs'><TabPanel id="dashboard" label="Dashboard">-1. Go to the [Database](https://supabase.com/dashboard/project/_/database/tables) page in the Dashboard.+1. Go to the [Database](/dashboard/project/_/database/tables) page in the Dashboard.2. Click on **Extensions** in the sidebar.3. Search for `pg_jsonschema` and enable the extension.diff --git a/apps/docs/content/guides/database/extensions/pg_net.mdx b/apps/docs/content/guides/database/extensions/pg_net.mdxindex 8fc26c46df3..c54185f2ccf 100644--- a/apps/docs/content/guides/database/extensions/pg_net.mdx+++ b/apps/docs/content/guides/database/extensions/pg_net.mdx@@ -10,7 +10,7 @@ The pg_net API is in beta. Functions signatures may change.</Admonition>-[pg_net](https://github.com/supabase/pg_net/) enables Postgres to make asynchronous HTTP/HTTPS requests in SQL. It differs from the [`http`](https://supabase.com/docs/guides/database/extensions/http) extension in that it is asynchronous by default. This makes it useful in blocking functions (like triggers).+[pg_net](https://github.com/supabase/pg_net/) enables Postgres to make asynchronous HTTP/HTTPS requests in SQL. It differs from the [`http`](/docs/guides/database/extensions/http) extension in that it is asynchronous by default. This makes it useful in blocking functions (like triggers).It eliminates the need for servers to continuously poll for database changes and instead allows the database to proactively notify external resources about significant events.@@ -25,7 +25,7 @@ It eliminates the need for servers to continuously poll for database changes and><TabPanel id="dashboard" label="Dashboard">-1. Go to the [Database](https://supabase.com/dashboard/project/_/database/tables) page in the Dashboard.+1. Go to the [Database](/dashboard/project/_/database/tables) page in the Dashboard.2. Click on **Extensions** in the sidebar.3. Search for "pg_net" and enable the extension.@@ -58,7 +58,7 @@ Creates an HTTP GET request returning the request's ID. HTTP requests are not st<Admonition type="caution">-This is a Postgres [SECURITY DEFINER](https://supabase.com/docs/guides/database/postgres/row-level-security#use-security-definer-functions) function.+This is a Postgres [SECURITY DEFINER](/docs/guides/database/postgres/row-level-security#use-security-definer-functions) function.</Admonition>@@ -104,7 +104,7 @@ The body's character set encoding matches the database's `server_encoding` setti<Admonition type="caution">-This is a Postgres [SECURITY DEFINER](https://supabase.com/docs/guides/database/postgres/row-level-security#use-security-definer-functions) function+This is a Postgres [SECURITY DEFINER](/docs/guides/database/postgres/row-level-security#use-security-definer-functions) function</Admonition>@@ -151,7 +151,7 @@ Creates an HTTP DELETE request, returning the request's ID. HTTP requests are no<Admonition type="caution">-This is a Postgres [SECURITY DEFINER](https://supabase.com/docs/guides/database/postgres/row-level-security#use-security-definer-functions) function+This is a Postgres [SECURITY DEFINER](/docs/guides/database/postgres/row-level-security#use-security-definer-functions) function</Admonition>@@ -226,7 +226,7 @@ The responses can be observed with the following query:select * from net._http_response;```-The data can also be observed in the `net` schema with the [Supabase Dashboard's SQL Editor](https://supabase.com/dashboard/project/_/editor)+The data can also be observed in the `net` schema with the [Supabase Dashboard's SQL Editor](/dashboard/project/_/editor)## Debugging requests@@ -256,7 +256,7 @@ where id = <request_id>-- including the body sent: {"key": "value", "key": 5}```-Alternatively, by wrapping a request in a [database function](https://supabase.com/docs/guides/database/functions), sent row data can be logged or returned for inspection and debugging.+Alternatively, by wrapping a request in a [database function](/docs/guides/database/functions), sent row data can be logged or returned for inspection and debugging.```sqlcreate or replace function debugging_example (row_id int)@@ -311,7 +311,7 @@ order by "created" desc;<Admonition type="note" label="Must be on pg_net v0.12.0 or above to reconfigure ">-Supabase supports reconfiguring pg*net starting from v0.12.0+. For the latest release, initiate a Postgres upgrade in the [Infrastructure Settings](https://supabase.com/dashboard/project/*/settings/infrastructure).+Supabase supports reconfiguring pg*net starting from v0.12.0+. For the latest release, initiate a Postgres upgrade in the [Infrastructure Settings](/dashboard/project/*/settings/infrastructure).</Admonition>@@ -357,7 +357,7 @@ select) as request_id;```-### Call an endpoint every minute with [pg_cron](https://supabase.com/docs/guides/database/extensions/pgcron)+### Call an endpoint every minute with [pg_cron](/docs/guides/database/extensions/pgcron)The pg_cron extension enables Postgres to become its own cron server. With it you can schedule regular calls with up to a minute precision to endpoints.diff --git a/apps/docs/content/guides/database/extensions/pg_repack.mdx b/apps/docs/content/guides/database/extensions/pg_repack.mdxindex b9416f2349a..663b972ac2b 100644--- a/apps/docs/content/guides/database/extensions/pg_repack.mdx+++ b/apps/docs/content/guides/database/extensions/pg_repack.mdx@@ -47,7 +47,7 @@ Get started with pg_repack by enabling the extension in the Supabase Dashboard.><TabPanel id="dashboard" label="Dashboard">-1. Go to the [Database](https://supabase.com/dashboard/project/_/database/tables) page in the Dashboard.+1. Go to the [Database](/dashboard/project/_/database/tables) page in the Dashboard.2. Click on **Extensions** in the sidebar.3. Search for "pg_repack" and enable the extension.diff --git a/apps/docs/content/guides/database/extensions/pg_stat_statements.mdx b/apps/docs/content/guides/database/extensions/pg_stat_statements.mdxindex 2259a0e62a5..4dff48827cd 100644--- a/apps/docs/content/guides/database/extensions/pg_stat_statements.mdx+++ b/apps/docs/content/guides/database/extensions/pg_stat_statements.mdx@@ -32,7 +32,7 @@ For more information on query optimization, check out the [query performance gui><TabPanel id="dashboard" label="Dashboard">-1. Go to the [Database](https://supabase.com/dashboard/project/_/database/tables) page in the Dashboard.+1. Go to the [Database](/dashboard/project/_/database/tables) page in the Dashboard.2. Click on **Extensions** in the sidebar.3. Search for "pg_stat_statements" and enable the extension.diff --git a/apps/docs/content/guides/database/extensions/pgaudit.mdx b/apps/docs/content/guides/database/extensions/pgaudit.mdxindex 4588804cd6b..8e4da995c4c 100644--- a/apps/docs/content/guides/database/extensions/pgaudit.mdx+++ b/apps/docs/content/guides/database/extensions/pgaudit.mdx@@ -23,7 +23,7 @@ This helps you with:><TabPanel id="dashboard" label="Dashboard">-1. Go to the [Database](https://supabase.com/dashboard/project/_/database/tables) page in the Dashboard.+1. Go to the [Database](/dashboard/project/_/database/tables) page in the Dashboard.2. Click on **Extensions** in the sidebar.3. Search for `pgaudit` and enable the extension.@@ -47,7 +47,7 @@ PGAudit can be configured with different levels of precision.**PGAudit logging precision:**-- **[Session](#session-logging):** Logs activity within a connection, such as a [psql](https://supabase.com/docs/guides/database/connecting-to-postgres#connecting-with-psql) connection.+- **[Session](#session-logging):** Logs activity within a connection, such as a [psql](/docs/guides/database/connecting-to-postgres#connecting-with-psql) connection.- **[User](#user-logging):** Logs activity by a particular database user (for example, `anon` or `postgres`).- **[Global](#global-logging):** Logs activity across the entire database.- **[Object](#object-logging):** Logs events related to specific database objects (for example, the auth.users table).@@ -83,11 +83,11 @@ Below is a limited example of how to assign PGAudit to monitor specific categori### Session logging-When you are connecting in a session environment, such as a [psql](https://supabase.com/docs/guides/database/connecting-to-postgres#connecting-with-psql) connection, you can configure PGAudit to record events initiated within the session.+When you are connecting in a session environment, such as a [psql](/docs/guides/database/connecting-to-postgres#connecting-with-psql) connection, you can configure PGAudit to record events initiated within the session.<Admonition type="note">-The [Dashboard](https://supabase.com/dashboard/project/_) is a transactional environment and won't sustain a session.+The [Dashboard](/dashboard/project/_) is a transactional environment and won't sustain a session.</Admonition>@@ -113,7 +113,7 @@ set pgaudit.log = 'none';### User logging-There are some cases where you may want to monitor a database user's actions. For instance, let's say you connected your database to [Zapier](https://supabase.com/partners/integrations/zapier) and created a custom role for it to use:+There are some cases where you may want to monitor a database user's actions. For instance, let's say you connected your database to [Zapier](/partners/integrations/zapier) and created a custom role for it to use:```sqlcreate user "zapier" with password '<new password>';@@ -242,7 +242,7 @@ create table account ();```-Generates the following log in the [Dashboard's Postgres Logs](https://supabase.com/dashboard/project/_/logs/postgres-logs):+Generates the following log in the [Dashboard's Postgres Logs](/dashboard/project/_/logs/postgres-logs):```AUDIT: SESSION,1,1,DDL,CREATE TABLE,TABLE,public.account,create table account(@@ -254,7 +254,7 @@ Generates the following log in the [Dashboard's Postgres Logs](https://supabase.## Finding and filtering audit logs-Logs generated by PGAudit can be found in [Postgres Logs](https://supabase.com/dashboard/project/_/logs/postgres-logs?s=AUDIT). To find a specific log, you can use the log explorer. Below is a basic example to extract logs referencing `CREATE TABLE` events+Logs generated by PGAudit can be found in [Postgres Logs](/dashboard/project/_/logs/postgres-logs?s=AUDIT). To find a specific log, you can use the log explorer. Below is a basic example to extract logs referencing `CREATE TABLE` events```sqlselect@@ -275,7 +275,7 @@ limit 100;<Admonition type="note">-API requests are already recorded in the [API Edge Network](https://supabase.com/dashboard/project/_/logs/edge-logs) logs.+API requests are already recorded in the [API Edge Network](/dashboard/project/_/logs/edge-logs) logs.</Admonition>@@ -292,7 +292,7 @@ alter role "authenticator" set pgaudit.log to 'write';### Monitoring the `auth.users` table-In the worst case scenario, where a privileged roles' password is exposed, you can use PGAudit to monitor if the `auth.users` table was targeted. It should be stated that API requests are already monitored in the [API Edge Network](https://supabase.com/dashboard/project/_/logs/edge-logs) and this is more about providing greater clarity about what is happening at the database level.+In the worst case scenario, where a privileged roles' password is exposed, you can use PGAudit to monitor if the `auth.users` table was targeted. It should be stated that API requests are already monitored in the [API Edge Network](/dashboard/project/_/logs/edge-logs) and this is more about providing greater clarity about what is happening at the database level.Logging `auth.user` should be done in Object Mode and requires a custom role:@@ -347,11 +347,11 @@ To prevent PGAudit from monitoring the problematic roles, you'll want to change#### Using PGAudit to debug database functions-Technically yes, but it is not the best approach. It is better to check out our [function debugging guide](https://supabase.com/docs/guides/database/functions#general-logging) instead.+Technically yes, but it is not the best approach. It is better to check out our [function debugging guide](/docs/guides/database/functions#general-logging) instead.#### Downloading database logs-In the [Logs Dashboard](https://supabase.com/dashboard/project/_/logs/postgres-logs) you can download logs as CSVs.+In the [Logs Dashboard](/dashboard/project/_/logs/postgres-logs) you can download logs as CSVs.#### Logging observed table rows@@ -369,7 +369,7 @@ You should not do this unless you are _absolutely_ certain it is necessary for y#### Logging function parameters-We don't currently support configuring `pgaudit.log_parameter` because it may log secrets in encrypted columns if you are using [pgsodium](https://supabase.com/docs/guides/database/extensions/pgsodium) or[Vault](https://supabase.com/docs/guides/database/vault).+We don't currently support configuring `pgaudit.log_parameter` because it may log secrets in encrypted columns if you are using [pgsodium](/docs/guides/database/extensions/pgsodium) or[Vault](/docs/guides/database/vault).You can upvote this [feature request](https://github.com/orgs/supabase/discussions/20183) with your use-case if you'd like this restriction lifted.@@ -390,6 +390,6 @@ PGAudit's [official documentation](https://www.pgaudit.org) focuses on system an## Resources- [Official `PGAudit` documentation](https://www.pgaudit.org)-- [Database Function Logging](https://supabase.com/docs/guides/database/functions#general-logging)-- [Supabase Logging](https://supabase.com/docs/guides/platform/logs)-- [Self-Hosting Logs](https://supabase.com/docs/reference/self-hosting-analytics/introduction)+- [Database Function Logging](/docs/guides/database/functions#general-logging)+- [Supabase Logging](/docs/guides/platform/logs)+- [Self-Hosting Logs](/docs/reference/self-hosting-analytics/introduction)diff --git a/apps/docs/content/guides/database/extensions/pgjwt.mdx b/apps/docs/content/guides/database/extensions/pgjwt.mdxindex 9b4c5c9d90e..2c03381b099 100644--- a/apps/docs/content/guides/database/extensions/pgjwt.mdx+++ b/apps/docs/content/guides/database/extensions/pgjwt.mdx@@ -25,7 +25,7 @@ The [`pgjwt`](https://github.com/michelp/pgjwt) (Postgres JSON Web Token) extens><TabPanel id="dashboard" label="Dashboard">-1. Go to the [Database](https://supabase.com/dashboard/project/_/database/tables) page in the Dashboard.+1. Go to the [Database](/dashboard/project/_/database/tables) page in the Dashboard.2. Click on **Extensions** in the sidebar.3. Search for `pgjwt` and enable the extension.diff --git a/apps/docs/content/guides/database/extensions/pgroonga.mdx b/apps/docs/content/guides/database/extensions/pgroonga.mdxindex 9313c4c7aea..05cc260e922 100644--- a/apps/docs/content/guides/database/extensions/pgroonga.mdx+++ b/apps/docs/content/guides/database/extensions/pgroonga.mdx@@ -18,7 +18,7 @@ tocVideo: 'Mmmv9g_MiBA'><TabPanel id="dashboard" label="Dashboard">-1. Go to the [Database](https://supabase.com/dashboard/project/_/database/tables) page in the Dashboard.+1. Go to the [Database](/dashboard/project/_/database/tables) page in the Dashboard.2. Click on **Extensions** in the sidebar.3. Search for `pgroonga` and enable the extension.diff --git a/apps/docs/content/guides/database/extensions/pgrouting.mdx b/apps/docs/content/guides/database/extensions/pgrouting.mdxindex eda1d8549ba..82ca28f4126 100644--- a/apps/docs/content/guides/database/extensions/pgrouting.mdx+++ b/apps/docs/content/guides/database/extensions/pgrouting.mdx@@ -31,7 +31,7 @@ The core functionality of `pgRouting` is a set of path finding algorithms includ><TabPanel id="dashboard" label="Dashboard">-1. Go to the [Database](https://supabase.com/dashboard/project/_/database/tables) page in the Dashboard.+1. Go to the [Database](/dashboard/project/_/database/tables) page in the Dashboard.2. Click on **Extensions** in the sidebar.3. Search for `pgrouting` and enable the extension.diff --git a/apps/docs/content/guides/database/extensions/pgsodium.mdx b/apps/docs/content/guides/database/extensions/pgsodium.mdxindex 5c3a9d4c92b..b0ee7c1465a 100644--- a/apps/docs/content/guides/database/extensions/pgsodium.mdx+++ b/apps/docs/content/guides/database/extensions/pgsodium.mdx@@ -27,7 +27,7 @@ Encryption requires keys. Keeping the keys in the same database as the encrypted## Resources- [Supabase Vault](/docs/guides/database/vault)-- Read more about Supabase Vault in the [blog post](https://supabase.com/blog/vault-now-in-beta)+- Read more about Supabase Vault in the [blog post](/blog/vault-now-in-beta)- [Supabase Vault on GitHub](https://github.com/supabase/vault)## Resourcesdiff --git a/apps/docs/content/guides/database/extensions/pgtap.mdx b/apps/docs/content/guides/database/extensions/pgtap.mdxindex de080823af7..b92995881d7 100644--- a/apps/docs/content/guides/database/extensions/pgtap.mdx+++ b/apps/docs/content/guides/database/extensions/pgtap.mdx@@ -24,7 +24,7 @@ Let's cover some basic concepts:><TabPanel id="dashboard" label="Dashboard">-1. Go to the [Database](https://supabase.com/dashboard/project/_/database/tables) page in the Dashboard.+1. Go to the [Database](/dashboard/project/_/database/tables) page in the Dashboard.2. Click on **Extensions** in the sidebar.3. Search for `pgtap` and enable the extension.diff --git a/apps/docs/content/guides/database/extensions/pgvector.mdx b/apps/docs/content/guides/database/extensions/pgvector.mdxindex f1e12bebe35..e0d11c1fb7a 100644--- a/apps/docs/content/guides/database/extensions/pgvector.mdx+++ b/apps/docs/content/guides/database/extensions/pgvector.mdx@@ -4,7 +4,7 @@ title: 'pgvector: Embeddings and vector similarity'description: 'pgvector: a PostgreSQL extension for storing embeddings and performing vector similarity search.'----[pgvector](https://github.com/pgvector/pgvector/) is a Postgres extension for vector similarity search. It can also be used for storing [embeddings](https://supabase.com/blog/openai-embeddings-postgres-vector).+[pgvector](https://github.com/pgvector/pgvector/) is a Postgres extension for vector similarity search. It can also be used for storing [embeddings](/blog/openai-embeddings-postgres-vector).<Admonition type="note">@@ -37,7 +37,7 @@ This is particularly useful if you're building on top of OpenAI's [GPT-3](https:><TabPanel id="dashboard" label="Dashboard">-1. Go to the [Database](https://supabase.com/dashboard/project/_/database/tables) page in the Dashboard.+1. Go to the [Database](/dashboard/project/_/database/tables) page in the Dashboard.2. Click on **Extensions** in the sidebar.3. Search for "vector" and enable the extension.@@ -118,7 +118,7 @@ To get the exact number of requested rows, use [iterative search](https://github## More pgvector and Supabase resources-- [Supabase Clippy: ChatGPT for Supabase Docs](https://supabase.com/blog/chatgpt-supabase-docs)-- [Storing OpenAI embeddings in Postgres with pgvector](https://supabase.com/blog/openai-embeddings-postgres-vector)-- [A ChatGPT Plugins Template built with Supabase Edge Runtime](https://supabase.com/blog/building-chatgpt-plugins-template)+- [Supabase Clippy: ChatGPT for Supabase Docs](/blog/chatgpt-supabase-docs)+- [Storing OpenAI embeddings in Postgres with pgvector](/blog/openai-embeddings-postgres-vector)+- [A ChatGPT Plugins Template built with Supabase Edge Runtime](/blog/building-chatgpt-plugins-template)- [Template for building your own custom ChatGPT style doc search](https://github.com/supabase-community/nextjs-openai-doc-search)diff --git a/apps/docs/content/guides/database/extensions/plpgsql_check.mdx b/apps/docs/content/guides/database/extensions/plpgsql_check.mdxindex 12b6ef13d8c..7956df7218f 100644--- a/apps/docs/content/guides/database/extensions/plpgsql_check.mdx+++ b/apps/docs/content/guides/database/extensions/plpgsql_check.mdx@@ -17,7 +17,7 @@ description: 'Lint PL/pgSQL code'><TabPanel id="dashboard" label="Dashboard">-1. Go to the [Database](https://supabase.com/dashboard/project/_/database/tables) page in the Dashboard.+1. Go to the [Database](/dashboard/project/_/database/tables) page in the Dashboard.2. Click on **Extensions** in the sidebar.3. Search for "plpgsql_check" and enable the extension.diff --git a/apps/docs/content/guides/database/extensions/plv8.mdx b/apps/docs/content/guides/database/extensions/plv8.mdxindex 89e1a8a51b9..1a24cba4641 100644--- a/apps/docs/content/guides/database/extensions/plv8.mdx+++ b/apps/docs/content/guides/database/extensions/plv8.mdx@@ -30,7 +30,7 @@ It can be used for database functions, triggers, queries and more.><TabPanel id="dashboard" label="Dashboard">-1. Go to the [Database](https://supabase.com/dashboard/project/_/database/tables) page in the Dashboard.+1. Go to the [Database](/dashboard/project/_/database/tables) page in the Dashboard.2. Click on **Extensions** in the sidebar.3. Search for "plv8" and enable the extension.diff --git a/apps/docs/content/guides/database/extensions/postgis.mdx b/apps/docs/content/guides/database/extensions/postgis.mdxindex fbdde09bdb5..aaf3d18e675 100644--- a/apps/docs/content/guides/database/extensions/postgis.mdx+++ b/apps/docs/content/guides/database/extensions/postgis.mdx@@ -26,7 +26,7 @@ You can get started with PostGIS by enabling the PostGIS extension in your Supab><TabPanel id="dashboard" label="Dashboard">-1. Go to the [Database](https://supabase.com/dashboard/project/_/database/tables) page in the Dashboard.+1. Go to the [Database](/dashboard/project/_/database/tables) page in the Dashboard.2. Click on **Extensions** in the sidebar.3. Search for `postgis` and enable the extension.4. In the confirmation prompt select "Create a new schema" and name it `gis` for example.@@ -204,7 +204,7 @@ At this point, if you go into your Supabase dashboard and look at the data, you```We can query the `restaurants` table directly, but it will return the `location` column in the format you see above.-We will create [database functions](https://supabase.com/docs/guides/database/functions) so that we can use the [st_y()](https://postgis.net/docs/ST_Y.html) and [st_x()](https://postgis.net/docs/ST_X.html) function to convert it back to lat and long floating values.+We will create [database functions](/docs/guides/database/functions) so that we can use the [st_y()](https://postgis.net/docs/ST_Y.html) and [st_x()](https://postgis.net/docs/ST_X.html) function to convert it back to lat and long floating values.### Order by distance@@ -456,7 +456,7 @@ val data = supabase.postgrest.rpc(As of PostGIS 2.3 or newer, the PostGIS extension is no longer relocatable from one schema to another. If you need to move it from one schema to another for any reason (e.g. from the public schema to the extensions schema for security reasons), you would normally run a ALTER EXTENSION to relocate the schema. However, you will now to do the following steps:-1. Backup your Database to prevent data loss - You can do this through the [CLI](https://supabase.com/docs/reference/cli/supabase-db-dump) or Postgres backup tools such as [pg_dumpall](https://www.postgresql.org/docs/current/backup-dump.html#BACKUP-DUMP-ALL)+1. Backup your Database to prevent data loss - You can do this through the [CLI](/docs/reference/cli/supabase-db-dump) or Postgres backup tools such as [pg_dumpall](https://www.postgresql.org/docs/current/backup-dump.html#BACKUP-DUMP-ALL)2. Drop all dependencies you created and the PostGIS extension - `DROP EXTENSION postgis CASCADE;`@@ -464,7 +464,7 @@ As of PostGIS 2.3 or newer, the PostGIS extension is no longer relocatable from4. Restore dropped data via the Backup if necessary from step 1 with your tool of choice.-Alternatively, you can contact the [Supabase Support Team](https://supabase.com/dashboard/support/new) and ask them to run the following SQL on your instance:+Alternatively, you can contact the [Supabase Support Team](/dashboard/support/new) and ask them to run the following SQL on your instance:```sqlBEGIN;diff --git a/apps/docs/content/guides/database/extensions/rum.mdx b/apps/docs/content/guides/database/extensions/rum.mdxindex e999209bc03..d4dbfc515d8 100644--- a/apps/docs/content/guides/database/extensions/rum.mdx+++ b/apps/docs/content/guides/database/extensions/rum.mdx@@ -38,7 +38,7 @@ You can get started with rum by enabling the extension in your Supabase dashboar><TabPanel id="dashboard" label="Dashboard">-1. Go to the [Database](https://supabase.com/dashboard/project/_/database/tables) page in the Dashboard.+1. Go to the [Database](/dashboard/project/_/database/tables) page in the Dashboard.2. Click on **Extensions** in the sidebar.3. Search for "rum" and enable the extension.diff --git a/apps/docs/content/guides/database/extensions/timescaledb.mdx b/apps/docs/content/guides/database/extensions/timescaledb.mdxindex 8f06cc54bdf..8ca28081578 100644--- a/apps/docs/content/guides/database/extensions/timescaledb.mdx+++ b/apps/docs/content/guides/database/extensions/timescaledb.mdx@@ -31,7 +31,7 @@ Supabase projects come with [TimescaleDB Apache 2 Edition](https://docs.timescal><TabPanel id="dashboard" label="Dashboard">-1. Go to the [Database](https://supabase.com/dashboard/project/_/database/tables) page in the Dashboard.+1. Go to the [Database](/dashboard/project/_/database/tables) page in the Dashboard.2. Click on **Extensions** in the sidebar.3. Search for `timescaledb` and enable the extension.diff --git a/apps/docs/content/guides/database/extensions/uuid-ossp.mdx b/apps/docs/content/guides/database/extensions/uuid-ossp.mdxindex 0417631fc32..a5ce1e05776 100644--- a/apps/docs/content/guides/database/extensions/uuid-ossp.mdx+++ b/apps/docs/content/guides/database/extensions/uuid-ossp.mdx@@ -25,7 +25,7 @@ Currently `uuid-ossp` extension is enabled by default and cannot be disabled.><TabPanel id="dashboard" label="Dashboard">-1. Go to the [Database](https://supabase.com/dashboard/project/_/database/tables) page in the Dashboard.+1. Go to the [Database](/dashboard/project/_/database/tables) page in the Dashboard.2. Click on **Extensions** in the sidebar.3. Search for `uuid-ossp` and enable the extension.@@ -92,5 +92,5 @@ create table contacts (## Resources-- [Choosing a Postgres Primary Key](https://supabase.com/blog/choosing-a-postgres-primary-key)+- [Choosing a Postgres Primary Key](/blog/choosing-a-postgres-primary-key)- [The Basics Of Postgres `UUID` Data Type](https://www.postgresqltutorial.com/postgresql-uuid/)diff --git a/apps/docs/content/guides/database/extensions/wrappers/overview.mdx b/apps/docs/content/guides/database/extensions/wrappers/overview.mdxindex a524a0d16b7..f8d36deae55 100644--- a/apps/docs/content/guides/database/extensions/wrappers/overview.mdx+++ b/apps/docs/content/guides/database/extensions/wrappers/overview.mdx@@ -133,9 +133,9 @@ To learn more about Wasm FDW, visit [Wrappers official documentation](https://suForeign Data Wrappers do not provide Row Level Security, thus it is not advised to expose them via your API. Wrappers should _always_ be stored in a private schema. For example, if you are connecting to your Stripe account, you should create a `stripe` schema to store all of your foreign tables inside. This schema should _not_ be added to the “Additional Schemas” setting in the API section.-If you want to expose any of the foreign table columns to your public API, you can create a [Database Function with security definer](https://supabase.com/docs/guides/database/functions#security-definer-vs-invoker) in the `public` schema, and then you can interact with your foreign table through API. For better access control, the function should have appropriate filters on the foreign table to apply security rules based on your business needs.+If you want to expose any of the foreign table columns to your public API, you can create a [Database Function with security definer](/docs/guides/database/functions#security-definer-vs-invoker) in the `public` schema, and then you can interact with your foreign table through API. For better access control, the function should have appropriate filters on the foreign table to apply security rules based on your business needs.-As an example, go to [SQL Editor](https://supabase.com/dashboard/project/_/sql/new) and then follow below steps,+As an example, go to [SQL Editor](/dashboard/project/_/sql/new) and then follow below steps,1. Create a Stripe Products foreign table:diff --git a/apps/docs/content/guides/database/functions.mdx b/apps/docs/content/guides/database/functions.mdxindex 3a6cac523b4..0f0c0517489 100644--- a/apps/docs/content/guides/database/functions.mdx+++ b/apps/docs/content/guides/database/functions.mdx@@ -469,7 +469,7 @@ Good targets to log include:#### General logging-To create custom logs in the [Dashboard's Postgres Logs](https://supabase.com/dashboard/project/_/logs/postgres-logs), you can use the `raise` keyword. By default, there are 3 observed severity levels:+To create custom logs in the [Dashboard's Postgres Logs](/dashboard/project/_/logs/postgres-logs), you can use the `raise` keyword. By default, there are 3 observed severity levels:- `log`- `warning`diff --git a/apps/docs/content/guides/database/inspect.mdx b/apps/docs/content/guides/database/inspect.mdxindex 5b6e55e355a..cc791f565a6 100644--- a/apps/docs/content/guides/database/inspect.mdx+++ b/apps/docs/content/guides/database/inspect.mdx@@ -108,7 +108,7 @@ Following commands require `pg_stat_statements` to be enabled: calls, locks, cacWhen using `pg_stat_statements` also take note that it only stores the latest 5,000 statements. Moreover, consider resetting the analysis after optimizing any queries by running `select pg_stat_statements_reset();`-Learn more about pg_stats [here](https://supabase.com/docs/guides/database/extensions/pg_stat_statements).+Learn more about pg_stats [here](/docs/guides/database/extensions/pg_stat_statements).## Using SQL@@ -240,7 +240,7 @@ from pg_statio_user_tables;This shows the ratio of data blocks fetched from the Postgres [shared_buffers](https://www.postgresql.org/docs/15/runtime-config-resource.html#RUNTIME-CONFIG-RESOURCE-MEMORY) cache against the data blocks that were read from disk/OS cache.-If either of your index or table hit rate are < 99% then this can indicate your compute plan is too small for your current workload and you would benefit from more memory. [Upgrading your compute](./compute-add-ons) is easy and can be done from your [project dashboard](https://supabase.com/dashboard/project/_/settings/compute-and-disk).+If either of your index or table hit rate are < 99% then this can indicate your compute plan is too small for your current workload and you would benefit from more memory. [Upgrading your compute](./compute-add-ons) is easy and can be done from your [project dashboard](/dashboard/project/_/settings/compute-and-disk).### Optimizing poor performing queriesdiff --git a/apps/docs/content/guides/database/json.mdx b/apps/docs/content/guides/database/json.mdxindex e062dd8fa01..9d90a37ab70 100644--- a/apps/docs/content/guides/database/json.mdx+++ b/apps/docs/content/guides/database/json.mdx@@ -46,7 +46,7 @@ create table books (</TabPanel><TabPanel id="dashboard" label="Dashboard">-1. Go to the [Table Editor](https://supabase.com/dashboard/project/_/editor) page in the Dashboard.+1. Go to the [Table Editor](/dashboard/project/_/editor) page in the Dashboard.2. Click **New Table** and create a table called `books`.3. Include a primary key with the following properties and click save:@@ -113,7 +113,7 @@ values</TabPanel><TabPanel id="dashboard" label="Dashboard">-1. Go to the [Table Editor](https://supabase.com/dashboard/project/_/editor) page in the Dashboard.+1. Go to the [Table Editor](/dashboard/project/_/editor) page in the Dashboard.2. Select the `books` table in the sidebar.3. Click **+ Insert row** and add 5 rows with the following properties:diff --git a/apps/docs/content/guides/database/metabase.mdx b/apps/docs/content/guides/database/metabase.mdxindex f4048fc3be5..a2101c9e203 100644--- a/apps/docs/content/guides/database/metabase.mdx+++ b/apps/docs/content/guides/database/metabase.mdx@@ -40,12 +40,12 @@ hideToc: true<StepHikeCompact.Details title="Connect to Postgres">Connect your Postgres server to Metabase.- - On your project dashboard, click [Connect](https://supabase.com/dashboard/project/_?showConnect=true)+ - On your project dashboard, click [Connect](/dashboard/project/_?showConnect=true)- View parameters under "Session pooler"<Admonition type="note" label="connection notice">- If you're in an [IPv6 environment](https://supabase.com/docs/guides/platform/ipv4-address#checking-your-network-ipv6-support) or have the [IPv4 Add-On](https://supabase.com/docs/guides/platform/ipv4-address#understanding-ip-addresses), you can use the direct connection string instead of Supavisor in Session mode.+ If you're in an [IPv6 environment](/docs/guides/platform/ipv4-address#checking-your-network-ipv6-support) or have the [IPv4 Add-On](/docs/guides/platform/ipv4-address#understanding-ip-addresses), you can use the direct connection string instead of Supavisor in Session mode.</Admonition>diff --git a/apps/docs/content/guides/database/orioledb.mdx b/apps/docs/content/guides/database/orioledb.mdxindex 2f3030158b6..08e58ec8eb6 100644--- a/apps/docs/content/guides/database/orioledb.mdx+++ b/apps/docs/content/guides/database/orioledb.mdx@@ -44,7 +44,7 @@ OrioleDB implements copy-on-write checkpoints to persist data efficiently. This### Creating OrioleDB projectYou can get started with OrioleDB by enabling the extension in your Supabase dashboard.-To get started with OrioleDB you need to [create a new Supabase project](https://supabase.com/dashboard/new/_) and choose `OrioleDB Public Alpha` Postgres version.+To get started with OrioleDB you need to [create a new Supabase project](/dashboard/new/_) and choose `OrioleDB Public Alpha` Postgres version.<Imagealt="Creating OrioleDB project"diff --git a/apps/docs/content/guides/database/overview.mdx b/apps/docs/content/guides/database/overview.mdxindex 45c4ea582a3..601413495e9 100644--- a/apps/docs/content/guides/database/overview.mdx+++ b/apps/docs/content/guides/database/overview.mdx@@ -98,4 +98,4 @@ Read about resetting your database password [here](/docs/guides/database/managin## Next steps- Read more about [Postgres](https://www.postgresql.org/about/)-- Sign in: [supabase.com/dashboard](https://supabase.com/dashboard)+- Sign in: [supabase.com/dashboard](/dashboard)diff --git a/apps/docs/content/guides/database/pgadmin.mdx b/apps/docs/content/guides/database/pgadmin.mdxindex fc9cbf485b1..37527961f5b 100644--- a/apps/docs/content/guides/database/pgadmin.mdx+++ b/apps/docs/content/guides/database/pgadmin.mdx@@ -72,7 +72,7 @@ hideToc: true<StepHikeCompact.Details title="SSL">- Download your SSL certificate from Dashboard's [`Database Settings`](https://supabase.com/dashboard/project/_/database/settings).+ Download your SSL certificate from Dashboard's [`Database Settings`](/dashboard/project/_/database/settings).In pgAdmin, navigate to the Parameters tab and select connection parameter as Root Certificate. Next navigate to the Root certificate input, it will open up a file-picker modal. Select the certificate you downloaded earlier and save the server details. pgAdmin should now be able to connect to your Postgres via SSL.diff --git a/apps/docs/content/guides/database/postgres-js.mdx b/apps/docs/content/guides/database/postgres-js.mdxindex f709bde47b1..325643300ec 100644--- a/apps/docs/content/guides/database/postgres-js.mdx+++ b/apps/docs/content/guides/database/postgres-js.mdx@@ -36,7 +36,7 @@ hideToc: trueCreate a `db.js` file with the connection details.- To get your connection details, go to the [**Connect** panel](https://supabase.com/dashboard/project/_?showConnect=true). Choose **Transaction pooler** if you're on a platform with transient connections, such as a serverless function, and **Session pooler** if you have a long-lived connection. Copy the URI and save it as the environment variable `DATABASE_URL`.+ To get your connection details, go to the [**Connect** panel](/dashboard/project/_?showConnect=true). Choose **Transaction pooler** if you're on a platform with transient connections, such as a serverless function, and **Session pooler** if you have a long-lived connection. Copy the URI and save it as the environment variable `DATABASE_URL`.</StepHikeCompact.Details>diff --git a/apps/docs/content/guides/database/postgres/column-level-security.mdx b/apps/docs/content/guides/database/postgres/column-level-security.mdxindex 9c4e32abef6..295fc3dca54 100644--- a/apps/docs/content/guides/database/postgres/column-level-security.mdx+++ b/apps/docs/content/guides/database/postgres/column-level-security.mdx@@ -88,20 +88,20 @@ Column-level privileges are a powerful tool, but they're also quite advanced and</Admonition>-You can view and edit the privileges in the [Supabase Studio](https://supabase.com/dashboard/project/_/database/column-privileges).+You can view and edit the privileges in the [Supabase Studio](/dashboard/project/_/database/column-privileges).## Manage column privileges in migrations-While you can manage privileges directly from the Dashboard, as your project grows you may want to manage them in your migrations. Read about database migrations in the [Local Development](https://supabase.com/docs/guides/deployment/database-migrations) guide.+While you can manage privileges directly from the Dashboard, as your project grows you may want to manage them in your migrations. Read about database migrations in the [Local Development](/docs/guides/deployment/database-migrations) guide.<StepHikeCompact><StepHikeCompact.Step step={1}><StepHikeCompact.Details title="Create a migration file">- To get started, generate a [new migration](https://supabase.com/docs/reference/cli/supabase-migration-new) to store the SQL needed to create your table along with row and column-level privileges.+ To get started, generate a [new migration](/docs/reference/cli/supabase-migration-new) to store the SQL needed to create your table along with row and column-level privileges.</StepHikeCompact.Details>diff --git a/apps/docs/content/guides/database/postgres/dropping-all-tables-in-schema.mdx b/apps/docs/content/guides/database/postgres/dropping-all-tables-in-schema.mdxindex 85fc606a870..8c27c252d97 100644--- a/apps/docs/content/guides/database/postgres/dropping-all-tables-in-schema.mdx+++ b/apps/docs/content/guides/database/postgres/dropping-all-tables-in-schema.mdx@@ -25,4 +25,4 @@ end $$;This query works by listing out all the tables in the given schema and then executing a `drop table` for each (hence the `for... loop`).-You can run this query using the [SQL Editor](https://supabase.com/dashboard/project/_/sql) in the Supabase Dashboard, or via `psql` if you're [connecting directly to the database](/docs/guides/database/connecting-to-postgres#direct-connections).+You can run this query using the [SQL Editor](/dashboard/project/_/sql) in the Supabase Dashboard, or via `psql` if you're [connecting directly to the database](/docs/guides/database/connecting-to-postgres#direct-connections).diff --git a/apps/docs/content/guides/database/postgres/first-row-in-group.mdx b/apps/docs/content/guides/database/postgres/first-row-in-group.mdxindex 7610c1944bd..12e964c2f6d 100644--- a/apps/docs/content/guides/database/postgres/first-row-in-group.mdx+++ b/apps/docs/content/guides/database/postgres/first-row-in-group.mdx@@ -23,7 +23,7 @@ The expected output we want is:| 3 | Brighton | 34 || 2 | Liverpool | 84 |-From the [SQL Editor](https://supabase.com/dashboard/project/_/sql), you can run a query like:+From the [SQL Editor](/dashboard/project/_/sql), you can run a query like:```sqlselect distinctdiff --git a/apps/docs/content/guides/database/postgres/indexes.mdx b/apps/docs/content/guides/database/postgres/indexes.mdxindex acbbff3daf4..d348cf5d3dc 100644--- a/apps/docs/content/guides/database/postgres/indexes.mdx+++ b/apps/docs/content/guides/database/postgres/indexes.mdx@@ -28,7 +28,7 @@ create table persons (<Admonition type="tip">-All the queries in this guide can be run using the [SQL Editor](https://supabase.com/dashboard/project/_/sql) in the Supabase Dashboard, or via `psql` if you're [connecting directly to the database](/docs/guides/database/connecting-to-postgres#direct-connections).+All the queries in this guide can be run using the [SQL Editor](/dashboard/project/_/sql) in the Supabase Dashboard, or via `psql` if you're [connecting directly to the database](/docs/guides/database/connecting-to-postgres#direct-connections).</Admonition>diff --git a/apps/docs/content/guides/database/postgres/roles.mdx b/apps/docs/content/guides/database/postgres/roles.mdxindex d6ac585c55a..4a9614128a7 100644--- a/apps/docs/content/guides/database/postgres/roles.mdx+++ b/apps/docs/content/guides/database/postgres/roles.mdx@@ -42,7 +42,7 @@ If you use special symbols in your Postgres password, you must remember to [perc### Changing your project password-When you created your project you were also asked to enter a password. This is the password for the `postgres` role in your database. You can update this from the Dashboard under the [Database Settings](https://supabase.com/dashboard/project/_/database/settings) page. You should _never_ give this to third-party service unless you absolutely trust them. Instead, we recommend that you create a new user for every service that you want to give access too. This will also help you with debugging - you can see every query that each role is executing in your database within `pg_stat_statements`.+When you created your project you were also asked to enter a password. This is the password for the `postgres` role in your database. You can update this from the Dashboard under the [Database Settings](/dashboard/project/_/database/settings) page. You should _never_ give this to third-party service unless you absolutely trust them. Instead, we recommend that you create a new user for every service that you want to give access too. This will also help you with debugging - you can see every query that each role is executing in your database within `pg_stat_statements`.Changing the password does not result in any downtime. All connected services, such as PostgREST, PgBouncer, and other Supabase managed services, are automatically updated to use the latest password to ensure availability. However, if you have any external services connecting to the Supabase database using hardcoded username/password credentials, a manual update will be required.diff --git a/apps/docs/content/guides/database/postgres/row-level-security.mdx b/apps/docs/content/guides/database/postgres/row-level-security.mdxindex 68056789cea..b527370a33c 100644--- a/apps/docs/content/guides/database/postgres/row-level-security.mdx+++ b/apps/docs/content/guides/database/postgres/row-level-security.mdx@@ -430,7 +430,7 @@ using ( (select private.has_good_role()) );<Admonition type="caution">-Security-definer functions should never be created in a schema in the "Exposed schemas" inside your [API settings](https://supabase.com/dashboard/project/_/settings/api)`.+Security-definer functions should never be created in a schema in the "Exposed schemas" inside your [API settings](/dashboard/project/_/settings/api)`.</Admonition>diff --git a/apps/docs/content/guides/database/postgres/setup-replication-external.mdx b/apps/docs/content/guides/database/postgres/setup-replication-external.mdxindex 16ad9f11bd9..99953937304 100644--- a/apps/docs/content/guides/database/postgres/setup-replication-external.mdx+++ b/apps/docs/content/guides/database/postgres/setup-replication-external.mdx@@ -27,7 +27,7 @@ select pg_create_logical_replication_slot('example_slot', 'pgoutput');<Admonition type="note">-This will need a **direct** connection (not a Connection Pooler) to your database and you can find the connection info in the [**Connect** panel](https://supabase.com/dashboard/project/_?showConnect=true) in the `Direct connection` section.+This will need a **direct** connection (not a Connection Pooler) to your database and you can find the connection info in the [**Connect** panel](/dashboard/project/_?showConnect=true) in the `Direct connection` section.You will also need to ensure that IPv6 is supported by your replication destination (or you can enable the [IPv4 add-on](/docs/guides/platform/ipv4-address))diff --git a/apps/docs/content/guides/database/postgres/which-version-of-postgres.mdx b/apps/docs/content/guides/database/postgres/which-version-of-postgres.mdxindex e02820460c8..b813ed938ea 100644--- a/apps/docs/content/guides/database/postgres/which-version-of-postgres.mdx+++ b/apps/docs/content/guides/database/postgres/which-version-of-postgres.mdx@@ -6,7 +6,7 @@ footerHelpType: 'postgres'It's important to know which version of Postgres you are running as each major version has different features and may cause breaking changes. You may also need to update your schema when [upgrading](https://www.postgresql.org/docs/current/pgupgrade.html) or downgrading to a major Postgres version.-Run the following query using the [SQL Editor](https://supabase.com/dashboard/project/_/sql) in the Supabase Dashboard:+Run the following query using the [SQL Editor](/dashboard/project/_/sql) in the Supabase Dashboard:```sqlselectdiff --git a/apps/docs/content/guides/database/prisma.mdx b/apps/docs/content/guides/database/prisma.mdxindex 682f598eef8..68fcd721818 100644--- a/apps/docs/content/guides/database/prisma.mdx+++ b/apps/docs/content/guides/database/prisma.mdx@@ -10,15 +10,15 @@ This quickly shows how to connect your Prisma application to Supabase Postgres.<Admonition type="note">-If you plan to solely use Prisma instead of the Supabase Data API (PostgREST), turn it off in the [API Settings](https://supabase.com/dashboard/project/_/settings/api).+If you plan to solely use Prisma instead of the Supabase Data API (PostgREST), turn it off in the [API Settings](/dashboard/project/_/settings/api).</Admonition><StepHikeCompact><StepHikeCompact.Step step={1}><StepHikeCompact.Details title="Create a custom user for Prisma">- - In the [SQL Editor](https://supabase.com/dashboard/project/_/sql/new), create a Prisma DB user with full privileges on the public schema.- - This gives you better control over Prisma's access and makes it easier to monitor using Supabase tools like the [Query Performance Dashboard](https://supabase.com/dashboard/project/_/advisors/query-performance) and [Log Explorer](https://supabase.com/dashboard/project/_/logs/explorer).+ - In the [SQL Editor](/dashboard/project/_/sql/new), create a Prisma DB user with full privileges on the public schema.+ - This gives you better control over Prisma's access and makes it easier to monitor using Supabase tools like the [Query Performance Dashboard](/dashboard/project/_/advisors/query-performance) and [Log Explorer](/dashboard/project/_/logs/explorer).<Admonition type="note" label="password manager">For security, consider using a [password generator](https://bitwarden.com/password-generator/) for the Prisma role.@@ -122,7 +122,7 @@ If you plan to solely use Prisma instead of the Supabase Data API (PostgREST), t<StepHikeCompact.Step step={3}><StepHikeCompact.Details title="Add your connection information to your .env file">- - On your project dashboard, click [Connect](https://supabase.com/dashboard/project/_?showConnect=true)+ - On your project dashboard, click [Connect](/dashboard/project/_?showConnect=true)- Find your Supavisor Session pooler string. It should end with 5432. It will be used in your `.env` file.<Admonition type="note">diff --git a/apps/docs/content/guides/database/prisma/prisma-troubleshooting.mdx b/apps/docs/content/guides/database/prisma/prisma-troubleshooting.mdxindex 9a33efad311..096229e0000 100644--- a/apps/docs/content/guides/database/prisma/prisma-troubleshooting.mdx+++ b/apps/docs/content/guides/database/prisma/prisma-troubleshooting.mdx@@ -55,8 +55,8 @@ Prisma couldn't establish a connection with Postgres or Supavisor before the tim### Solutions: [#solution-cant-reach-database-server-at]-- **Check database health**: Use the [Reports Dashboard](https://supabase.com/dashboard/project/_/reports/database) to monitor CPU, memory, and I/O usage. If the database is overloaded, consider increasing your [compute size](https://supabase.com/docs/guides/platform/compute-add-ons) or [optimizing your queries](https://supabase.com/docs/guides/database/query-optimization).-- **Verify connection string**: Double-check the connection string in your Prisma configuration to ensure it matches in your [project connect page](https://supabase.com/dashboard/project/_?showConnect=true).+- **Check database health**: Use the [Reports Dashboard](/dashboard/project/_/reports/database) to monitor CPU, memory, and I/O usage. If the database is overloaded, consider increasing your [compute size](/docs/guides/platform/compute-add-ons) or [optimizing your queries](/docs/guides/database/query-optimization).+- **Verify connection string**: Double-check the connection string in your Prisma configuration to ensure it matches in your [project connect page](/dashboard/project/_?showConnect=true).- **Increase connection timeout**: Try increasing the `connect_timeout` parameter in your Prisma configuration to give it more time to establish a connection.```md@@ -79,8 +79,8 @@ Prisma is unable to allocate connections to pending queries fast enough to meet- **Increase the pool timeout**: Increase the `pool_timeout` parameter in your Prisma configuration to give the pooler more time to allocate connections.- **Reduce the connection limit**: If you've explicitly increased the `connection_limit` parameter in your Prisma configuration, try reducing it to a more reasonable value.-- **Increase pool size**: If you are connecting with Supavisor, try increasing the pool size in the [Database Settings](https://supabase.com/dashboard/project/_/database/settings).-- **Optimize queries**: [Improve the efficiency of your queries](https://supabase.com/docs/guides/database/query-optimization) to reduce execution time.+- **Increase pool size**: If you are connecting with Supavisor, try increasing the pool size in the [Database Settings](/dashboard/project/_/database/settings).+- **Optimize queries**: [Improve the efficiency of your queries](/docs/guides/database/query-optimization) to reduce execution time.- **Increase compute size**: Like the preceding option, this is a strategy to reduce query execution time.---@@ -92,7 +92,7 @@ According to this [GitHub Issue for Prisma](https://github.com/prisma/prisma/dis### Solutions: [#solution-server-has-closed-the-connection]- **Limit row return sizes**: Try to limit the total amount of rows returned for particularly large requests.-- **Minimize database strain**:Check the Reports Page for database strain. If there is obvious strain, consider [optimizing](https://supabase.com/docs/guides/database/query-optimization) or increasing compute size+- **Minimize database strain**:Check the Reports Page for database strain. If there is obvious strain, consider [optimizing](/docs/guides/database/query-optimization) or increasing compute size---@@ -118,16 +118,16 @@ Postgres or Supavisor rejected a request for more connections### Possible causes:[#possible-causes-max-client-connections-reached]- **When working in transaction mode (port 6543):** The error "Max client connections reached" occurs when clients try to form more connections with the pooler than it can support.-- **When working in session mode (port 5432):** The max amount of clients is restricted to the "Pool Size" value in the [Database Settings](https://supabase.com/dashboard/project/_/database/settings). If the "Pool Size" is set to 15, even if the pooler can handle 200 client connections, it will still be effectively capped at 15 for each unique ["database-role+database" combination](https://github.com/orgs/supabase/discussions/21566).+- **When working in session mode (port 5432):** The max amount of clients is restricted to the "Pool Size" value in the [Database Settings](/dashboard/project/_/database/settings). If the "Pool Size" is set to 15, even if the pooler can handle 200 client connections, it will still be effectively capped at 15 for each unique ["database-role+database" combination](https://github.com/orgs/supabase/discussions/21566).- **When working with direct connections**: Postgres is already servicing the max amount of connections### Solutions [#solutions-causes-max-client-connections-reached]- **Transaction Mode for serverless apps**: If you are using serverless functions (Supabase Edge, Vercel, AWS Lambda), switch to transaction mode (port 6543). It handles more connections than session mode or direct connections.- **Reduce the number of Prisma connections**: A single client-server can establish multiple connections with a pooler. Typically, serverless setups do not need many connections. Starting with fewer, like five or three, or even just one, is often sufficient. In serverless setups, begin with `connection_limit=1`, increasing cautiously if needed to avoid maxing out connections.-- **Increase pool size**: If you are connecting with Supavisor, try increasing the pool size in the [Database Settings](https://supabase.com/dashboard/project/_/database/settings).+- **Increase pool size**: If you are connecting with Supavisor, try increasing the pool size in the [Database Settings](/dashboard/project/_/database/settings).- **Disconnect appropriately**: Close Prisma connections when they are no longer needed.-- **Decrease query time**: Reduce query complexity or add [strategic indexes](https://supabase.com/docs/guides/database/postgres/indexes) to your tables to speed up queries.+- **Decrease query time**: Reduce query complexity or add [strategic indexes](/docs/guides/database/postgres/indexes) to your tables to speed up queries.- **Increase compute size**: Sometimes the best option is to increase your compute size, which also increases your max client size and query execution speed---diff --git a/apps/docs/content/guides/database/psql.mdx b/apps/docs/content/guides/database/psql.mdxindex 3f8ad183054..d3af3e94a08 100644--- a/apps/docs/content/guides/database/psql.mdx+++ b/apps/docs/content/guides/database/psql.mdx@@ -17,7 +17,7 @@ You can obtain your connection info and Server root certificate from your applicDownload your [SSL certificate](#connecting-with-ssl) to `/path/to/prod-supabase.cer`.-Find your connection settings. Go to the project [**Connect** panel](https://supabase.com/dashboard/project/_?showConnect=true) and copy the URL from the `Session pooler` section, and copy the parameters into the connection string:+Find your connection settings. Go to the project [**Connect** panel](/dashboard/project/_?showConnect=true) and copy the URL from the `Session pooler` section, and copy the parameters into the connection string:```shellpsql "sslmode=verify-full sslrootcert=/path/to/prod-supabase.cer host=[CLOUD_PROVIDER]-0-[REGION].pooler.supabase.com dbname=postgres user=postgres.[PROJECT_REF]"diff --git a/apps/docs/content/guides/database/replication/faq.mdx b/apps/docs/content/guides/database/replication/faq.mdxindex 804976d0923..93427562d68 100644--- a/apps/docs/content/guides/database/replication/faq.mdx+++ b/apps/docs/content/guides/database/replication/faq.mdx@@ -25,7 +25,7 @@ It does not capture deletion of data and is **not recommended**, particularly fo# Can replication be configured in the Dashboard?-You can view [publications](https://supabase.com/dashboard/project/default/database/publications) in the Dashboard but all steps to configure replication must be done using the [SQL Editor](https://supabase.com/dashboard/project/default/sql/new) or a CLI tool of your choice.+You can view [publications](/dashboard/project/default/database/publications) in the Dashboard but all steps to configure replication must be done using the [SQL Editor](/dashboard/project/default/sql/new) or a CLI tool of your choice.# How to configure database settings for replication?diff --git a/apps/docs/content/guides/database/supavisor.mdx b/apps/docs/content/guides/database/supavisor.mdxindex 1ee0aedd6df..295a5612d67 100644--- a/apps/docs/content/guides/database/supavisor.mdx+++ b/apps/docs/content/guides/database/supavisor.mdx@@ -7,7 +7,7 @@ Supavisor logs are available under [Pooler Logs](/dashboard/project/_/logs/poole| Error Type | Description | Resolution Link || ------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------- |-| Max client connections reached | This error happens when the number of connections to Supavisor is more than [the allowed limit of your compute add-on](https://supabase.com/docs/guides/platform/compute-add-ons). | Follow this [guide](https://github.com/orgs/supabase/discussions/22305) to resolve. |+| Max client connections reached | This error happens when the number of connections to Supavisor is more than [the allowed limit of your compute add-on](/docs/guides/platform/compute-add-ons). | Follow this [guide](https://github.com/orgs/supabase/discussions/22305) to resolve. || Connection failed `{:error, :eaddrnotavail}` to 'db.xxx.supabase.co':5432 | Supavisor cannot connect to the customer database. This is usually caused if the target database is unable to respond. | N/A || Connection failed `{:error, :nxdomain}` to 'db.xxx.supabase.co':5432 | Supavisor cannot connect to the customer database. This is usually caused if the target database is unable to respond. | N/A || Connection closed when state was authentication | This error happens when either the database doesn’t exist or if the user doesn't have the right credentials. | N/A |diff --git a/apps/docs/content/guides/database/tables.mdx b/apps/docs/content/guides/database/tables.mdxindex ad9db5e13a0..6d2725ceaff 100644--- a/apps/docs/content/guides/database/tables.mdx+++ b/apps/docs/content/guides/database/tables.mdx@@ -58,7 +58,7 @@ and run the SQL queries yourself./></video>-1. Go to the [Table Editor](https://supabase.com/dashboard/project/_/editor) page in the Dashboard.+1. Go to the [Table Editor](/dashboard/project/_/editor) page in the Dashboard.2. Click **New Table** and create a table with the name `todos`.3. Click **Save**.4. Click **New Column** and create a column with the name `task` and type `text`.diff --git a/apps/docs/content/guides/database/vault.mdx b/apps/docs/content/guides/database/vault.mdxindex dae16254c24..2a6f0788973 100644--- a/apps/docs/content/guides/database/vault.mdx+++ b/apps/docs/content/guides/database/vault.mdx@@ -195,6 +195,6 @@ Which roles should have access to the `vault.secrets` table should be carefully### Resources-- Read more about Supabase Vault in the [blog post](https://supabase.com/blog/vault-now-in-beta)+- Read more about Supabase Vault in the [blog post](/blog/vault-now-in-beta)- [Supabase Vault on GitHub](https://github.com/supabase/vault)- [Column Encryption](/docs/guides/database/column-encryption)diff --git a/apps/docs/content/guides/database/webhooks.mdx b/apps/docs/content/guides/database/webhooks.mdxindex ab35a734d6a..3e6a27af497 100644--- a/apps/docs/content/guides/database/webhooks.mdx+++ b/apps/docs/content/guides/database/webhooks.mdx@@ -27,7 +27,7 @@ This video demonstrates how you can create a new customer in Stripe each time a## Creating a webhook-1. Create a new [Database Webhook](https://supabase.com/dashboard/project/_/integrations/webhooks/overview) in the Dashboard.+1. Create a new [Database Webhook](/dashboard/project/_/integrations/webhooks/overview) in the Dashboard.1. Give your Webhook a name.1. Select the table you want to hook into.1. Select one or more events (table inserts, updates, or deletes) you want to hook into.diff --git a/apps/docs/content/guides/deployment/branching/github-integration.mdx b/apps/docs/content/guides/deployment/branching/github-integration.mdxindex 41869d4fcf8..48d0aeb7207 100644--- a/apps/docs/content/guides/deployment/branching/github-integration.mdx+++ b/apps/docs/content/guides/deployment/branching/github-integration.mdx@@ -37,7 +37,7 @@ You will be using the [Supabase CLI](/docs/guides/cli) to initialise your local<StepHikeCompact.Step step={2}><StepHikeCompact.Details title="Pull your database migration" fullWidth>- Pull your database changes using `supabase db pull`. To get your database connection string, go to your project dashboard, click [Connect](https://supabase.com/dashboard/project/_?showConnect=true) and look for the Session pooler connection string.+ Pull your database changes using `supabase db pull`. To get your database connection string, go to your project dashboard, click [Connect](/dashboard/project/_?showConnect=true) and look for the Session pooler connection string.```markdownsupabase db pull --db-url <db_connection_string>diff --git a/apps/docs/content/guides/deployment/branching/troubleshooting.mdx b/apps/docs/content/guides/deployment/branching/troubleshooting.mdxindex 3715b64c88a..bc494b8b274 100644--- a/apps/docs/content/guides/deployment/branching/troubleshooting.mdx+++ b/apps/docs/content/guides/deployment/branching/troubleshooting.mdx@@ -26,7 +26,7 @@ To check the error message, see the Supabase workflow run for your branch underIf you enable [network restrictions](/docs/guides/platform/network-restrictions) on your project, the branching cluster will be blocked from connecting to your project by default. This often results in database connection failures when migrating your production project after merging a development branch.-The workaround is to explicitly allow the IPv6 CIDR range of the branching cluster in your project's [Database Settings](https://supabase.com/dashboard/project/_/database/settings) page: `2600:1f18:2b7d:f600::/56`+The workaround is to explicitly allow the IPv6 CIDR range of the branching cluster in your project's [Database Settings](/dashboard/project/_/database/settings) page: `2600:1f18:2b7d:f600::/56`<Imagealt="Network restrictions to allow connections from branching cluster"diff --git a/apps/docs/content/guides/deployment/database-migrations.mdx b/apps/docs/content/guides/deployment/database-migrations.mdxindex 6495069cbf5..c3816014366 100644--- a/apps/docs/content/guides/deployment/database-migrations.mdx+++ b/apps/docs/content/guides/deployment/database-migrations.mdx@@ -262,7 +262,7 @@ The last step is deploying these changes to a live Supabase project.You've been developing your project locally, making changes to your tables via migrations. It's time to deploy your project to the Supabase Platform and start scaling up to millions of users!-Head over to [Supabase](https://supabase.com/dashboard) and create a new project to deploy to.+Head over to [Supabase](/dashboard) and create a new project to deploy to.<StepHikeCompact>@@ -336,4 +336,4 @@ supabase db push --include-seed</StepHikeCompact.Step></StepHikeCompact>-Visiting your live project on [Supabase](https://supabase.com/dashboard/project/_), you'll see a new `employees` table, complete with the `department` column you added in the second migration above.+Visiting your live project on [Supabase](/dashboard/project/_), you'll see a new `employees` table, complete with the `department` column you added in the second migration above.diff --git a/apps/docs/content/guides/deployment/going-into-prod.mdx b/apps/docs/content/guides/deployment/going-into-prod.mdxindex 3ba214283c0..b88edf58dd6 100644--- a/apps/docs/content/guides/deployment/going-into-prod.mdx+++ b/apps/docs/content/guides/deployment/going-into-prod.mdx@@ -18,21 +18,21 @@ After developing your project and deciding it's Production Ready, you should run- Enable replication on tables containing sensitive data by enabling Row Level Security (RLS) and setting row security policies:- Go to the Authentication > Policies page in the Supabase Dashboard to enable RLS and create security policies.- Go to the Database > Publications page in the Supabase Dashboard to manage replication tables.-- Turn on [SSL Enforcement](/docs/guides/platform/ssl-enforcement) (see: [dashboard](https://supabase.com/dashboard/project/_/auth/policies))-- Enable [Network Restrictions](/docs/guides/platform/network-restrictions) for your database (see: [dashboard](https://supabase.com/dashboard/project/_/database/settings#network-restrictions)).+- Turn on [SSL Enforcement](/docs/guides/platform/ssl-enforcement) (see: [dashboard](/dashboard/project/_/auth/policies))+- Enable [Network Restrictions](/docs/guides/platform/network-restrictions) for your database (see: [dashboard](/dashboard/project/_/database/settings#network-restrictions)).- Ensure that your Supabase Account is protected with multi-factor authentication (MFA).- If using a GitHub signin, [enable 2FA on GitHub](https://docs.github.com/en/authentication/securing-your-account-with-two-factor-authentication-2fa/configuring-two-factor-authentication). Since your GitHub account gives you administrative rights to your Supabase org, you should protect it with a strong password and 2FA using a U2F key or a TOTP app.- - If using email+password signin, set up [MFA for your Supabase account](https://supabase.com/docs/guides/platform/multi-factor-authentication#enable-mfa).+ - If using email+password signin, set up [MFA for your Supabase account](/docs/guides/platform/multi-factor-authentication#enable-mfa).- Enable [MFA enforcement on your organization](/docs/guides/platform/network-restrictions). This ensures all users must have a valid MFA backed session to interact with organization and project resources.-- Consider [adding multiple owners on your Supabase org](https://supabase.com/dashboard/org/_/team). This ensures that if one of the owners is unreachable or loses access to their account, you still have Owner access to your org.-- Ensure email confirmations are [enabled](https://supabase.com/dashboard/project/_/auth/providers) in the `Settings > Auth` page.-- Ensure that you've [set the expiry](https://supabase.com/dashboard/project/_/auth/providers) for one-time passwords (OTPs) to a reasonable value that you are comfortable with. We recommend setting this to 3600 seconds (1 hour) or lower.+- Consider [adding multiple owners on your Supabase org](/dashboard/org/_/team). This ensures that if one of the owners is unreachable or loses access to their account, you still have Owner access to your org.+- Ensure email confirmations are [enabled](/dashboard/project/_/auth/providers) in the `Settings > Auth` page.+- Ensure that you've [set the expiry](/dashboard/project/_/auth/providers) for one-time passwords (OTPs) to a reasonable value that you are comfortable with. We recommend setting this to 3600 seconds (1 hour) or lower.- Increase the length of the OTP if you need a higher level of entropy.-- If your application requires a higher level of security, consider setting up [multi-factor authentication](https://supabase.com/docs/guides/auth/auth-mfa) (MFA) for your users.+- If your application requires a higher level of security, consider setting up [multi-factor authentication](/docs/guides/auth/auth-mfa) (MFA) for your users.- Use a custom SMTP server for auth emails so that your users can see that the mails are coming from a trusted domain (preferably the same domain that your app is hosted on). Grab SMTP credentials from any major email provider such as SendGrid, AWS SES, etc.- Think hard about how _you_ would abuse your service as an attacker, and mitigate.- Review these [common cybersecurity threats](https://auth0.com/docs/security/prevent-threats).-- Check and review issues in your database using [Security Advisor](https://supabase.com/dashboard/project/_/database/security-advisor).+- Check and review issues in your database using [Security Advisor](/dashboard/project/_/database/security-advisor).## Performance@@ -42,9 +42,9 @@ After developing your project and deciding it's Production Ready, you should run- Perform load testing (preferably on a staging env)- Tools like [k6](https://k6.io/) can simulate traffic from many different users.- Upgrade your database if you require more resources. If you need anything beyond what is listed, contact [email protected].-- If you are expecting a surge in traffic (for a big launch) and are on a Team or Enterprise Plan, [contact support](https://supabase.com/dashboard/support/new) with more details about your launch and we'll help keep an eye on your project.-- If you expect your database size to be > 4 GB, [enable](https://supabase.com/dashboard/project/_/settings/addons?panel=pitr) the Point in Time Recovery (PITR) add-on. Daily backups can take up resources from your database when the backup is in progress. PITR is more resource efficient, since only the changes to the database are backed up.-- Check and review issues in your database using [Performance Advisor](https://supabase.com/dashboard/project/_/database/performance-advisor).+- If you are expecting a surge in traffic (for a big launch) and are on a Team or Enterprise Plan, [contact support](/dashboard/support/new) with more details about your launch and we'll help keep an eye on your project.+- If you expect your database size to be > 4 GB, [enable](/dashboard/project/_/settings/addons?panel=pitr) the Point in Time Recovery (PITR) add-on. Daily backups can take up resources from your database when the backup is in progress. PITR is more resource efficient, since only the changes to the database are backed up.+- Check and review issues in your database using [Performance Advisor](/dashboard/project/_/database/performance-advisor).## Availability@@ -61,7 +61,7 @@ After developing your project and deciding it's Production Ready, you should run- Supabase Projects use disks that offer 99.8-99.9% durability by default.- Use Read Replicas if you require availability resilience to a disk failure event- Use PITR if you require durability resilience to a disk failure event-- Upgrading to the Supabase Pro Plan will give you [access to our support team](https://supabase.com/dashboard/support/new).+- Upgrading to the Supabase Pro Plan will give you [access to our support team](/dashboard/support/new).## Rate limiting, resource allocation, & abuse prevention@@ -87,7 +87,7 @@ After developing your project and deciding it's Production Ready, you should run### Realtime quotas- Review the [Realtime quotas](/docs/guides/realtime/quotas).-- If you need quotas increased you can always [contact support](https://supabase.com/dashboard/support/new).+- If you need quotas increased you can always [contact support](/dashboard/support/new).### Abuse preventiondiff --git a/apps/docs/content/guides/deployment/shared-responsibility-model.mdx b/apps/docs/content/guides/deployment/shared-responsibility-model.mdxindex ed553ae0680..02280bab1d1 100644--- a/apps/docs/content/guides/deployment/shared-responsibility-model.mdx+++ b/apps/docs/content/guides/deployment/shared-responsibility-model.mdx@@ -34,7 +34,7 @@ You are also responsible for ensuring that tables with sensitive data have the rSupabase provides controls for [securing your data](/docs/guides/database/secure-data), and it is recommended that you always apply [Row Level Security](/docs/guides/database/postgres/row-level-security) (RLS).-We will also provide you with security alerts through [Security Advisor](https://supabase.com/dashboard/project/_/database/security-advisor) and applying the recommendations are your responsibility.+We will also provide you with security alerts through [Security Advisor](/dashboard/project/_/database/security-advisor) and applying the recommendations are your responsibility.## You decide your own workflow@@ -75,7 +75,7 @@ Supabase places very few guard-rails around your database. That gives you a lotYou are responsible for using best-practices to optimize and manage your database: adding indexes, adding filters on large queries, using caching strategies, optimizing your database queries, and managing connections to the database.-You are responsible of provisioning enough compute to run the workload that your application requires. The Supabase Dashboard provides [observability tooling](https://supabase.com/dashboard/project/_/reports/database) to help with this.+You are responsible of provisioning enough compute to run the workload that your application requires. The Supabase Dashboard provides [observability tooling](/dashboard/project/_/reports/database) to help with this.## Before going to production@@ -89,7 +89,7 @@ Supabase provides a SOC 2 compliant environment for hosting and managing sensitiYou can use Supabase to store and process Protected Health Information (PHI). You are responsible for the following-- Signing a Business Associate Agreement (BAA) with Supabase. Submit a [HIPAA add-on request](https://forms.supabase.com/hipaa2) to get started. You will need to be at least on the [Team Plan](https://supabase.com/pricing) to sign a BAA with us.+- Signing a Business Associate Agreement (BAA) with Supabase. Submit a [HIPAA add-on request](https://forms.supabase.com/hipaa2) to get started. You will need to be at least on the [Team Plan](/pricing) to sign a BAA with us.- [Marking specific projects as HIPAA projects](/docs/guides/platform/hipaa-projects) and addressing security issues raised by the advisor.- Ensuring [MFA is enabled](/docs/guides/platform/multi-factor-authentication) on all Supabase accounts.- [Enforce MFA](/docs/guides/platform/org-mfa-enforcement) as a requirement to access the organizationdiff --git a/apps/docs/content/guides/functions/connect-to-postgres.mdx b/apps/docs/content/guides/functions/connect-to-postgres.mdxindex 2422a3a7169..a96d6235fb3 100644--- a/apps/docs/content/guides/functions/connect-to-postgres.mdx+++ b/apps/docs/content/guides/functions/connect-to-postgres.mdx@@ -115,8 +115,8 @@ Deployed edge functions are pre-configured to use SSL for connections to the SupIf you want to use SSL connections during local development, follow these steps:-1. Download the SSL certificate from [Database Settings](https://supabase.com/dashboard/project/_/database/settings)-2. Add to your [local .env file](https://supabase.com/docs/guides/functions/secrets), add these two variables:+1. Download the SSL certificate from [Database Settings](/dashboard/project/_/database/settings)+2. Add to your [local .env file](/docs/guides/functions/secrets), add these two variables:```bashSSL_CERT_FILE=/path/to/cert.crt # set the path to the downloaded certdiff --git a/apps/docs/content/guides/functions/deploy.mdx b/apps/docs/content/guides/functions/deploy.mdxindex f8dcbfaa92b..a1ddf17ffb0 100644--- a/apps/docs/content/guides/functions/deploy.mdx+++ b/apps/docs/content/guides/functions/deploy.mdx@@ -88,7 +88,7 @@ When the deployment is successful, your function is automatically distributed to## Step 5: Test your live function-You can now invoke your Edge Function using the project's `ANON_KEY`, which can be found in the [API settings](https://supabase.com/dashboard/project/_/settings/api) of the Supabase Dashboard. You can invoke it from within your app:+You can now invoke your Edge Function using the project's `ANON_KEY`, which can be found in the [API settings](/dashboard/project/_/settings/api) of the Supabase Dashboard. You can invoke it from within your app:<$CodeTabs>diff --git a/apps/docs/content/guides/functions/development-environment.mdx b/apps/docs/content/guides/functions/development-environment.mdxindex 4bea05f1ee0..e8384a07494 100644--- a/apps/docs/content/guides/functions/development-environment.mdx+++ b/apps/docs/content/guides/functions/development-environment.mdx@@ -8,7 +8,7 @@ tocVideo: 'lFhU3L8VoSQ'<Admonition type="note">-Before getting started, make sure you have the Supabase CLI installed. Check out the [CLI installation guide](https://supabase.com/docs/guides/cli) for installation methods and troubleshooting.+Before getting started, make sure you have the Supabase CLI installed. Check out the [CLI installation guide](/docs/guides/cli) for installation methods and troubleshooting.</Admonition>@@ -95,7 +95,7 @@ It's recommended to organize your functions according to the following structure- **Use "fat functions"**. Develop few, large functions by combining related functionality. This minimizes cold starts.- **Name functions with hyphens (`-`)**. This is the most URL-friendly approach- **Store shared code in `_shared`**. Store any shared code in a folder prefixed with an underscore (`_`).-- **Separate tests**. Use a separate folder for [Unit Tests](https://supabase.com/docs/guides/functions/unit-test) that includes the name of the function followed by a `-test` suffix.+- **Separate tests**. Use a separate folder for [Unit Tests](/docs/guides/functions/unit-test) that includes the name of the function followed by a `-test` suffix.---diff --git a/apps/docs/content/guides/functions/ephemeral-storage.mdx b/apps/docs/content/guides/functions/ephemeral-storage.mdxindex 0642784ccb4..0ae5c2aa58c 100644--- a/apps/docs/content/guides/functions/ephemeral-storage.mdx+++ b/apps/docs/content/guides/functions/ephemeral-storage.mdx@@ -31,7 +31,7 @@ To access an S3 bucket from Edge Functions, you must set the following for envir- `S3FS_ACCESS_KEY_ID`- `S3FS_SECRET_ACCESS_KEY`-[Follow this guide](https://supabase.com/docs/guides/storage/s3/authentication) to enable and create an access key for Supabase Storage S3.+[Follow this guide](/docs/guides/storage/s3/authentication) to enable and create an access key for Supabase Storage S3.To access a file path in your mounted bucket from your Edge Function, use the prefix `/s3/YOUR-BUCKET-NAME`.diff --git a/apps/docs/content/guides/functions/examples/auth-send-email-hook-react-email-resend.mdx b/apps/docs/content/guides/functions/examples/auth-send-email-hook-react-email-resend.mdxindex aa095e5c618..be5464a72f7 100644--- a/apps/docs/content/guides/functions/examples/auth-send-email-hook-react-email-resend.mdx+++ b/apps/docs/content/guides/functions/examples/auth-send-email-hook-react-email-resend.mdx@@ -19,7 +19,7 @@ To get the most out of this guide, you’ll need to:- [Create a Resend API key](https://resend.com/api-keys)- [Verify your domain](https://resend.com/domains)-Make sure you have the latest version of the [Supabase CLI](https://supabase.com/docs/guides/cli#installation) installed.+Make sure you have the latest version of the [Supabase CLI](/docs/guides/cli#installation) installed.### 1. Create Supabase functiondiff --git a/apps/docs/content/guides/functions/examples/elevenlabs-generate-speech-stream.mdx b/apps/docs/content/guides/functions/examples/elevenlabs-generate-speech-stream.mdxindex 833bdef47d8..6dbee26bdc9 100644--- a/apps/docs/content/guides/functions/examples/elevenlabs-generate-speech-stream.mdx+++ b/apps/docs/content/guides/functions/examples/elevenlabs-generate-speech-stream.mdx@@ -18,14 +18,14 @@ Find the [example project on GitHub](https://github.com/elevenlabs/elevenlabs-ex- An ElevenLabs account with an [API key](/app/settings/api-keys).- A [Supabase](https://supabase.com) account (you can sign up for a free account via [database.new](https://database.new)).-- The [Supabase CLI](https://supabase.com/docs/guides/local-development) installed on your machine.+- The [Supabase CLI](/docs/guides/local-development) installed on your machine.- The [Deno runtime](https://docs.deno.com/runtime/getting_started/installation/) installed on your machine and optionally [setup in your favourite IDE](https://docs.deno.com/runtime/getting_started/setup_your_environment).## Setup### Create a Supabase project locally-After installing the [Supabase CLI](https://supabase.com/docs/guides/local-development), run the following command to create a new Supabase project locally:+After installing the [Supabase CLI](/docs/guides/local-development), run the following command to create a new Supabase project locally:```bashsupabase init@@ -87,7 +87,7 @@ ELEVENLABS_API_KEY=your_api_keyThe project uses a couple of dependencies:-- The [@supabase/supabase-js](https://supabase.com/docs/reference/javascript) library to interact with the Supabase database.+- The [@supabase/supabase-js](/docs/reference/javascript) library to interact with the Supabase database.- The ElevenLabs [JavaScript SDK](/docs/quickstart) to interact with the text-to-speech API.- The open-source [object-hash](https://www.npmjs.com/package/object-hash) to generate a hash from the request parameters.diff --git a/apps/docs/content/guides/functions/examples/elevenlabs-transcribe-speech.mdx b/apps/docs/content/guides/functions/examples/elevenlabs-transcribe-speech.mdxindex 535efc970ab..3fb84811193 100644--- a/apps/docs/content/guides/functions/examples/elevenlabs-transcribe-speech.mdx+++ b/apps/docs/content/guides/functions/examples/elevenlabs-transcribe-speech.mdx@@ -20,7 +20,7 @@ Find the [example project on GitHub](https://github.com/elevenlabs/elevenlabs-ex- An ElevenLabs account with an [API key](/app/settings/api-keys).- A [Supabase](https://supabase.com) account (you can sign up for a free account via [database.new](https://database.new)).-- The [Supabase CLI](https://supabase.com/docs/guides/local-development) installed on your machine.+- The [Supabase CLI](/docs/guides/local-development) installed on your machine.- The [Deno runtime](https://docs.deno.com/runtime/getting_started/installation/) installed on your machine and optionally [setup in your favourite IDE](https://docs.deno.com/runtime/getting_started/setup_your_environment).- A [Telegram](https://telegram.org) account.@@ -34,7 +34,7 @@ Use the [BotFather](https://t.me/BotFather) to create a new Telegram bot. Run th### Create a Supabase project locally-After installing the [Supabase CLI](https://supabase.com/docs/guides/local-development), run the following command to create a new Supabase project locally:+After installing the [Supabase CLI](/docs/guides/local-development), run the following command to create a new Supabase project locally:```bashsupabase init@@ -97,7 +97,7 @@ FUNCTION_SECRET=random_secretThe project uses a couple of dependencies:- The open-source [grammY Framework](https://grammy.dev/) to handle the Telegram webhook requests.-- The [@supabase/supabase-js](https://supabase.com/docs/reference/javascript) library to interact with the Supabase database.+- The [@supabase/supabase-js](/docs/reference/javascript) library to interact with the Supabase database.- The ElevenLabs [JavaScript SDK](/docs/quickstart) to interact with the speech-to-text API.Since Supabase Edge Function uses the [Deno runtime](https://deno.land/), you don't need to install the dependencies, rather you can [import](https://docs.deno.com/examples/npm/) them via the `npm:` prefix.@@ -253,7 +253,7 @@ Run the following command to apply the database migrations from the `supabase/misupabase db push```-Navigate to the [table editor](https://supabase.com/dashboard/project/_/editor) in your Supabase dashboard and you should see and empty `transcription_logs` table.+Navigate to the [table editor](/dashboard/project/_/editor) in your Supabase dashboard and you should see and empty `transcription_logs` table.@@ -263,7 +263,7 @@ Lastly, run the following command to deploy the Edge Function:supabase functions deploy --no-verify-jwt scribe-bot```-Navigate to the [Edge Functions view](https://supabase.com/dashboard/project/_/functions) in your Supabase dashboard and you should see the `scribe-bot` function deployed. Make a note of the function URL as you'll need it later, it should look something like `https://<project-ref>.functions.supabase.co/scribe-bot`.+Navigate to the [Edge Functions view](/dashboard/project/_/functions) in your Supabase dashboard and you should see the `scribe-bot` function deployed. Make a note of the function URL as you'll need it later, it should look something like `https://<project-ref>.functions.supabase.co/scribe-bot`.diff --git a/apps/docs/content/guides/functions/examples/image-manipulation.mdx b/apps/docs/content/guides/functions/examples/image-manipulation.mdxindex 551da2e9d81..3afed37cb90 100644--- a/apps/docs/content/guides/functions/examples/image-manipulation.mdx+++ b/apps/docs/content/guides/functions/examples/image-manipulation.mdx@@ -3,7 +3,7 @@ title: 'Image Manipulation'description: 'How to optimize and transform images using Edge Functions.'----Supabase Storage has [out-of-the-box support](https://supabase.com/docs/guides/storage/serving/image-transformations?queryGroups=language&language=js) for the most common image transformations and optimizations you need.+Supabase Storage has [out-of-the-box support](/docs/guides/storage/serving/image-transformations?queryGroups=language&language=js) for the most common image transformations and optimizations you need.If you need to do anything custom beyond what Supabase Storage provides, you can use Edge Functions to write custom image manipulation scripts.In this example, we will use [`magick-wasm`](https://github.com/dlemstra/magick-wasm) to perform image manipulations. `magick-wasm` is the WebAssembly port of the popular ImageMagick library and supports processing over 100 file formats.@@ -16,7 +16,7 @@ Edge Functions currently doesn't support image processing libraries such as `Sha### Prerequisites-Make sure you have the latest version of the [Supabase CLI](https://supabase.com/docs/guides/cli#installation) installed.+Make sure you have the latest version of the [Supabase CLI](/docs/guides/cli#installation) installed.### Create the Edge Function@@ -71,7 +71,7 @@ supabase functions deploy image-blur<Admonition type="caution">-Hosted Edge Functions have [limits](https://supabase.com/docs/guides/functions/limits) on memory and CPU usage.+Hosted Edge Functions have [limits](/docs/guides/functions/limits) on memory and CPU usage.If you try to perform complex image processing or handle large images (> 5MB) your function may return a resource limit exceeded error.diff --git a/apps/docs/content/guides/functions/examples/push-notifications.mdx b/apps/docs/content/guides/functions/examples/push-notifications.mdxindex 6a50add4ea8..827565b21a4 100644--- a/apps/docs/content/guides/functions/examples/push-notifications.mdx+++ b/apps/docs/content/guides/functions/examples/push-notifications.mdx@@ -105,7 +105,7 @@ Push notifications are an important part of any mobile app. They allow you to se## Create the database webhook- Navigate to the [Database Webhooks settings](https://supabase.com/dashboard/project/_/integrations/webhooks/overview) in your Supabase Dashboard.+ Navigate to the [Database Webhooks settings](/dashboard/project/_/integrations/webhooks/overview) in your Supabase Dashboard.1. Enable and create a new hook.1. Conditions to fire webhook: Select the `notifications` table and tick the `Insert` event.@@ -116,7 +116,7 @@ Push notifications are an important part of any mobile app. They allow you to se## Send push notification- 1. Navigate to the [table editor](https://supabase.com/dashboard/project/_/editor) in your Supabase Dashboard.+ 1. Navigate to the [table editor](/dashboard/project/_/editor) in your Supabase Dashboard.1. In your `notifications` table, insert a new row.1. Watch the magic happen 🪄@@ -277,7 +277,7 @@ Push notifications are an important part of any mobile app. They allow you to se## Create the database webhook- Navigate to the [Database Webhooks settings](https://supabase.com/dashboard/project/_/database/hooks) in your Supabase Dashboard.+ Navigate to the [Database Webhooks settings](/dashboard/project/_/database/hooks) in your Supabase Dashboard.1. Enable and create a new hook.1. Conditions to fire webhook: Select the `public.notifications` table and tick the `Insert` event.@@ -288,7 +288,7 @@ Push notifications are an important part of any mobile app. They allow you to se## Send push notification1. Make sure you have a user with an FCM token in the `profiles` table.- 1. Navigate to the [table editor](https://supabase.com/dashboard/project/_/editor) in your Supabase Dashboard.+ 1. Navigate to the [table editor](/dashboard/project/_/editor) in your Supabase Dashboard.1. In your `notifications` table, insert a new row.1. Watch the magic happen 🪄diff --git a/apps/docs/content/guides/functions/examples/semantic-search.mdx b/apps/docs/content/guides/functions/examples/semantic-search.mdxindex 043721ca96c..e05f9be8940 100644--- a/apps/docs/content/guides/functions/examples/semantic-search.mdx+++ b/apps/docs/content/guides/functions/examples/semantic-search.mdx@@ -13,7 +13,7 @@ Since Supabase Edge Runtime [v1.36.0](https://github.com/supabase/edge-runtime/rIn this tutorial you're implementing three parts:1. A [`generate-embedding`](https://github.com/supabase/supabase/tree/master/examples/ai/edge-functions/supabase/functions/generate-embedding/index.ts) database webhook edge function which generates embeddings when a content row is added (or updated) in the [`public.embeddings`](https://github.com/supabase/supabase/tree/master/examples/ai/edge-functions/supabase/migrations/20240408072601_embeddings.sql) table.-2. A [`query_embeddings` Postgres function](https://github.com/supabase/supabase/tree/master/examples/ai/edge-functions/supabase/migrations/20240410031515_vector-search.sql) which allows us to perform similarity search from an Edge Function via [Remote Procedure Call (RPC)](https://supabase.com/docs/guides/database/functions?language=js).+2. A [`query_embeddings` Postgres function](https://github.com/supabase/supabase/tree/master/examples/ai/edge-functions/supabase/migrations/20240410031515_vector-search.sql) which allows us to perform similarity search from an Edge Function via [Remote Procedure Call (RPC)](/docs/guides/database/functions?language=js).3. A [`search` edge function](https://github.com/supabase/supabase/tree/master/examples/ai/edge-functions/supabase/functions/search/index.ts) which generates the embedding for the search term, performs the similarity search via RPC function call, and returns the result.You can find the complete example code on [GitHub](https://github.com/supabase/supabase/tree/master/examples/ai/edge-functions)diff --git a/apps/docs/content/guides/functions/examples/send-emails.mdx b/apps/docs/content/guides/functions/examples/send-emails.mdxindex 8dc64ae0683..7b4ce506d19 100644--- a/apps/docs/content/guides/functions/examples/send-emails.mdx+++ b/apps/docs/content/guides/functions/examples/send-emails.mdx@@ -13,7 +13,7 @@ To get the most out of this guide, you’ll need to:- [Create an API key](https://resend.com/api-keys)- [Verify your domain](https://resend.com/domains)-Make sure you have the latest version of the [Supabase CLI](https://supabase.com/docs/guides/cli#installation) installed.+Make sure you have the latest version of the [Supabase CLI](/docs/guides/cli#installation) installed.### 1. Create Supabase function@@ -79,7 +79,7 @@ supabase functions deploy resend --no-verify-jwt<Admonition type="caution">-When you deploy to Supabase, make sure that your `RESEND_API_KEY` is set in [Edge Function Secrets Management](https://supabase.com/dashboard/project/_/settings/functions)+When you deploy to Supabase, make sure that your `RESEND_API_KEY` is set in [Edge Function Secrets Management](/dashboard/project/_/settings/functions)</Admonition>diff --git a/apps/docs/content/guides/functions/examples/sentry-monitoring.mdx b/apps/docs/content/guides/functions/examples/sentry-monitoring.mdxindex 13dac78103f..ae6d901ebae 100644--- a/apps/docs/content/guides/functions/examples/sentry-monitoring.mdx+++ b/apps/docs/content/guides/functions/examples/sentry-monitoring.mdx@@ -8,7 +8,7 @@ Add the [Sentry Deno SDK](https://docs.sentry.io/platforms/javascript/guides/den### Prerequisites- [Create a Sentry account](https://sentry.io/signup/).-- Make sure you have the latest version of the [Supabase CLI](https://supabase.com/docs/guides/cli#installation) installed.+- Make sure you have the latest version of the [Supabase CLI](/docs/guides/cli#installation) installed.### 1. Create Supabase functiondiff --git a/apps/docs/content/guides/functions/function-configuration.mdx b/apps/docs/content/guides/functions/function-configuration.mdxindex 18f2f54f7a0..86bbfc2649e 100644--- a/apps/docs/content/guides/functions/function-configuration.mdx+++ b/apps/docs/content/guides/functions/function-configuration.mdx@@ -37,7 +37,7 @@ You set these rules once and never worry about them again. Deploy your functions<Admonition type="note">-To see more general `config.toml` options, check out [this guide](https://supabase.com/docs/guides/local-development/managing-config).+To see more general `config.toml` options, check out [this guide](/docs/guides/local-development/managing-config).</Admonition>diff --git a/apps/docs/content/guides/functions/kysely-postgres.mdx b/apps/docs/content/guides/functions/kysely-postgres.mdxindex aea900281b0..22f4e09ecbf 100644--- a/apps/docs/content/guides/functions/kysely-postgres.mdx+++ b/apps/docs/content/guides/functions/kysely-postgres.mdx@@ -21,7 +21,7 @@ Combining Kysely with Deno Postgres gives you a convenient developer experienceFind the example on [GitHub](https://github.com/supabase/supabase/tree/master/examples/edge-functions/supabase/functions/kysely-postgres)-Get your database connection credentials from the project's [**Connect** panel](https://supabase.com/dashboard/project/_/?showConnect=true) and store them in an `.env` file:+Get your database connection credentials from the project's [**Connect** panel](/dashboard/project/_/?showConnect=true) and store them in an `.env` file:```bash .envDB_HOSTNAME=diff --git a/apps/docs/content/guides/functions/logging.mdx b/apps/docs/content/guides/functions/logging.mdxindex b4d5290e3b0..b5b108f7650 100644--- a/apps/docs/content/guides/functions/logging.mdx+++ b/apps/docs/content/guides/functions/logging.mdx@@ -15,7 +15,7 @@ Logs are provided for each function invocation, locally and in hosted environmenAccess logs from the Functions section of your Dashboard:-1. Navigate to the [Functions section](https://supabase.com/dashboard/project/_/functions) of the Dashboard+1. Navigate to the [Functions section](/dashboard/project/_/functions) of the Dashboard2. Select your function from the list3. Choose your log view:- **Invocations:** Request/Response data including headers, body, status codes, and execution duration. Filter by date, time, or status code.diff --git a/apps/docs/content/guides/functions/quickstart-dashboard.mdx b/apps/docs/content/guides/functions/quickstart-dashboard.mdxindex e044023131e..0a2f1264ed3 100644--- a/apps/docs/content/guides/functions/quickstart-dashboard.mdx+++ b/apps/docs/content/guides/functions/quickstart-dashboard.mdx@@ -27,7 +27,7 @@ You'll need a Supabase project to get started. If you don't have one yet, createNavigate to your Supabase project dashboard and locate the Edge Functions section:-1. Go to your [Supabase Dashboard](https://supabase.com/dashboard)+1. Go to your [Supabase Dashboard](/dashboard)2. Select your project3. In the left sidebar, click on **Edge Functions**diff --git a/apps/docs/content/guides/functions/secrets.mdx b/apps/docs/content/guides/functions/secrets.mdxindex 64bd3223007..d7b556e4047 100644--- a/apps/docs/content/guides/functions/secrets.mdx+++ b/apps/docs/content/guides/functions/secrets.mdx@@ -89,7 +89,7 @@ You will also need to set secrets for your production Edge Functions. You can do**Using the Dashboard**:-1. Visit [Edge Function Secrets Management](https://supabase.com/dashboard/project/_/settings/functions) page in your Dashboard.+1. Visit [Edge Function Secrets Management](/dashboard/project/_/settings/functions) page in your Dashboard.2. Add the Key and Value for your secret and press Save<Imagediff --git a/apps/docs/content/guides/functions/troubleshooting.mdx b/apps/docs/content/guides/functions/troubleshooting.mdxindex 96874aeff44..39fe091cca9 100644--- a/apps/docs/content/guides/functions/troubleshooting.mdx+++ b/apps/docs/content/guides/functions/troubleshooting.mdx@@ -106,7 +106,7 @@ Run the function locally with `supabase functions serve` to get detailed stack tFor invocation or CORS issues:-1. **Review CORS configuration:** Check out the [CORS guide](https://supabase.com/docs/guides/functions/cors), and ensure you've properly configured CORS headers+1. **Review CORS configuration:** Check out the [CORS guide](/docs/guides/functions/cors), and ensure you've properly configured CORS headers2. **Check function logs:** Look for errors in the Functions > Logs section3. **Verify authentication:** Confirm JWT tokens and permissions are correctdiff --git a/apps/docs/content/guides/functions/wasm.mdx b/apps/docs/content/guides/functions/wasm.mdxindex 32603f39fb3..c8377bc6e10 100644--- a/apps/docs/content/guides/functions/wasm.mdx+++ b/apps/docs/content/guides/functions/wasm.mdx@@ -14,7 +14,7 @@ This allows you to:- Port existing libraries from other languages (C, C++, Rust) to JavaScript- Access low-level system operations not available in JavaScript-For example, libraries like [magick-wasm](https://supabase.com/docs/guides/functions/examples/image-manipulation) port existing C libraries to WebAssembly for complex image processing.+For example, libraries like [magick-wasm](/docs/guides/functions/examples/image-manipulation) port existing C libraries to WebAssembly for complex image processing.---diff --git a/apps/docs/content/guides/getting-started/architecture.mdx b/apps/docs/content/guides/getting-started/architecture.mdxindex 559bb711276..fce7abe1647 100644--- a/apps/docs/content/guides/getting-started/architecture.mdx+++ b/apps/docs/content/guides/getting-started/architecture.mdx@@ -161,4 +161,4 @@ As the profile of a developer changes over time, Supabase will continue to evolv### Support existing toolsSupabase supports existing tools and communities wherever possible. Supabase is more like a "community of communities" - each tool typically has its own community which we work with.-Open source is something we approach [collaboratively](https://supabase.com/blog/supabase-series-b#giving-back): we employ maintainers, sponsor projects, invest in businesses, and develop our own open source tools.+Open source is something we approach [collaboratively](/blog/supabase-series-b#giving-back): we employ maintainers, sponsor projects, invest in businesses, and develop our own open source tools.diff --git a/apps/docs/content/guides/getting-started/features.mdx b/apps/docs/content/guides/getting-started/features.mdxindex 9861c760f73..a2dd8b8bf49 100644--- a/apps/docs/content/guides/getting-started/features.mdx+++ b/apps/docs/content/guides/getting-started/features.mdx@@ -158,7 +158,7 @@ Execute an Edge Function in a region close to your database. [Docs](/docs/guides### NPM compatibility-Edge functions natively support NPM modules and Node built-in APIs. [Link](https://supabase.com/blog/edge-functions-node-npm).+Edge functions natively support NPM modules and Node built-in APIs. [Link](/blog/edge-functions-node-npm).## Project management@@ -185,7 +185,7 @@ Features are initially launched as a private alpha to gather feedback from the c### Public alpha-The alpha stage indicates that the API might change in the future, not that the service isn’t stable. Even though the [uptime Service Level Agreement](https://supabase.com/sla) does not cover products in Alpha, we do our best to have the service as stable as possible.+The alpha stage indicates that the API might change in the future, not that the service isn’t stable. Even though the [uptime Service Level Agreement](/sla) does not cover products in Alpha, we do our best to have the service as stable as possible.### Beta@@ -193,7 +193,7 @@ Features in Beta are tested by an external penetration tester for security issue### Generally available-In addition to the Beta requirements, features in GA are covered by the [uptime SLA](https://supabase.com/sla).+In addition to the Beta requirements, features in GA are covered by the [uptime SLA](/sla).| Product | Feature | Stage | Available on self-hosted || -------------- | -------------------------- | -------------- | ------------------------------------------- |diff --git a/apps/docs/content/guides/getting-started/mcp.mdx b/apps/docs/content/guides/getting-started/mcp.mdxindex 734af8f0012..b5667aba713 100644--- a/apps/docs/content/guides/getting-started/mcp.mdx+++ b/apps/docs/content/guides/getting-started/mcp.mdx@@ -20,7 +20,7 @@ Once connected, your AI assistants can interact with and query your Supabase pro## Step 1: Create an access token-First, go to your [Supabase settings](https://supabase.com/dashboard/account/tokens) and create an access token to authenticate the MCP server with your Supabase account. Give it a name that describes its purpose, like "Cursor MCP Server".+First, go to your [Supabase settings](/dashboard/account/tokens) and create an access token to authenticate the MCP server with your Supabase account. Give it a name that describes its purpose, like "Cursor MCP Server".## Step 2: Follow our security best practicesdiff --git a/apps/docs/content/guides/getting-started/quickstarts/hono.mdx b/apps/docs/content/guides/getting-started/quickstarts/hono.mdxindex 983c5086099..dda758571bd 100644--- a/apps/docs/content/guides/getting-started/quickstarts/hono.mdx+++ b/apps/docs/content/guides/getting-started/quickstarts/hono.mdx@@ -47,7 +47,7 @@ hideToc: trueCopy the `.env.example` file to `.env` and update the values with your Supabase project URL and anon key.- Lastly, [enable anonymous sign-ins](https://supabase.com/dashboard/project/_/settings/auth) in the Auth settings.+ Lastly, [enable anonymous sign-ins](/dashboard/project/_/settings/auth) in the Auth settings.<ProjectConfigVariables variable="url" /><ProjectConfigVariables variable="publishableKey" />diff --git a/apps/docs/content/guides/getting-started/quickstarts/laravel.mdx b/apps/docs/content/guides/getting-started/quickstarts/laravel.mdxindex d978bb8b345..0409238ad81 100644--- a/apps/docs/content/guides/getting-started/quickstarts/laravel.mdx+++ b/apps/docs/content/guides/getting-started/quickstarts/laravel.mdx@@ -49,9 +49,9 @@ hideToc: trueGo to [database.new](https://database.new) and create a new Supabase project. Save your database password securely.- When your project is up and running, navigate to your project dashboard and click on [Connect](https://supabase.com/dashboard/project/_?showConnect=true).+ When your project is up and running, navigate to your project dashboard and click on [Connect](/dashboard/project/_?showConnect=true).- Look for the Session Pooler connection string and copy the string. You will need to replace the Password with your saved database password. You can reset your database password in your [Database Settings](https://supabase.com/dashboard/project/_/database/settings) if you do not have it.+ Look for the Session Pooler connection string and copy the string. You will need to replace the Password with your saved database password. You can reset your database password in your [Database Settings](/dashboard/project/_/database/settings) if you do not have it.<Admonition type="note">diff --git a/apps/docs/content/guides/getting-started/quickstarts/nextjs.mdx b/apps/docs/content/guides/getting-started/quickstarts/nextjs.mdxindex 6db673183c3..5dace7e590c 100644--- a/apps/docs/content/guides/getting-started/quickstarts/nextjs.mdx+++ b/apps/docs/content/guides/getting-started/quickstarts/nextjs.mdx@@ -18,7 +18,7 @@ hideToc: true<StepHikeCompact.Details title="Create a Next.js app">Use the `create-next-app` command and the `with-supabase` template, to create a Next.js app pre-configured with:- - [Cookie-based Auth](https://supabase.com/docs/guides/auth/auth-helpers/nextjs)+ - [Cookie-based Auth](/docs/guides/auth/auth-helpers/nextjs)- [TypeScript](https://www.typescriptlang.org/)- [Tailwind CSS](https://tailwindcss.com/)diff --git a/apps/docs/content/guides/getting-started/quickstarts/redwoodjs.mdx b/apps/docs/content/guides/getting-started/quickstarts/redwoodjs.mdxindex e73bae18f29..144617f30a2 100644--- a/apps/docs/content/guides/getting-started/quickstarts/redwoodjs.mdx+++ b/apps/docs/content/guides/getting-started/quickstarts/redwoodjs.mdx@@ -9,7 +9,7 @@ hideToc: true<StepHikeCompact.Step step={1}><StepHikeCompact.Details title="Setup your new Supabase Project">- [Create a new project](https://supabase.com/dashboard) in the Supabase Dashboard.+ [Create a new project](/dashboard) in the Supabase Dashboard.<Admonition type="tip">@@ -27,9 +27,9 @@ hideToc: true<StepHikeCompact.Step step={2}><StepHikeCompact.Details title="Gather Database Connection Strings">- Open the project [**Connect** panel](https://supabase.com/dashboard/project/_?showConnect=true). This quickstart connects using the **Transaction pooler** and **Session pooler** mode. Transaction mode is used for application queries and Session mode is used for running migrations with Prisma.+ Open the project [**Connect** panel](/dashboard/project/_?showConnect=true). This quickstart connects using the **Transaction pooler** and **Session pooler** mode. Transaction mode is used for application queries and Session mode is used for running migrations with Prisma.- To do this, set the connection mode to `Transaction` in the [Database Settings page](https://supabase.com/dashboard/project/_/database/settings) and copy the connection string and append `?pgbouncer=true&&connection_limit=1`. `pgbouncer=true` disables Prisma from generating prepared statements. This is required since our connection pooler does not support prepared statements in transaction mode yet. The `connection_limit=1` parameter is only required if you are using Prisma from a serverless environment. This is the Transaction mode connection string.+ To do this, set the connection mode to `Transaction` in the [Database Settings page](/dashboard/project/_/database/settings) and copy the connection string and append `?pgbouncer=true&&connection_limit=1`. `pgbouncer=true` disables Prisma from generating prepared statements. This is required since our connection pooler does not support prepared statements in transaction mode yet. The `connection_limit=1` parameter is only required if you are using Prisma from a serverless environment. This is the Transaction mode connection string.To get the Session mode connection pooler string, change the port of the connection string from the dashboard to 5432.diff --git a/apps/docs/content/guides/getting-started/quickstarts/ruby-on-rails.mdx b/apps/docs/content/guides/getting-started/quickstarts/ruby-on-rails.mdxindex f87855f8c8c..f2ffcf4ffb9 100644--- a/apps/docs/content/guides/getting-started/quickstarts/ruby-on-rails.mdx+++ b/apps/docs/content/guides/getting-started/quickstarts/ruby-on-rails.mdx@@ -31,9 +31,9 @@ hideToc: trueGo to [database.new](https://database.new) and create a new Supabase project. Save your database password securely.- When your project is up and running, navigate to your project dashboard and click on [Connect](https://supabase.com/dashboard/project/_?showConnect=true).+ When your project is up and running, navigate to your project dashboard and click on [Connect](/dashboard/project/_?showConnect=true).- Look for the Session Pooler connection string and copy the string. You will need to replace the Password with your saved database password. You can reset your database password in your [Database Settings](https://supabase.com/dashboard/project/_/database/settings) if you do not have it.+ Look for the Session Pooler connection string and copy the string. You will need to replace the Password with your saved database password. You can reset your database password in your [Database Settings](/dashboard/project/_/database/settings) if you do not have it.<Admonition type="note">diff --git a/apps/docs/content/guides/getting-started/tutorials/with-flutter.mdx b/apps/docs/content/guides/getting-started/tutorials/with-flutter.mdxindex a3c5623cb49..da29ecd8b2f 100644--- a/apps/docs/content/guides/getting-started/tutorials/with-flutter.mdx+++ b/apps/docs/content/guides/getting-started/tutorials/with-flutter.mdx@@ -47,7 +47,7 @@ We can setup deep links with just a minor tweak on our Flutter application.We have to use `io.supabase.flutterquickstart` as the scheme. In this example, we will use `login-callback` as the host for our deep link, but you can change it to whatever you would like.-First, add `io.supabase.flutterquickstart://login-callback/` as a new [redirect URL](https://supabase.com/dashboard/project/_/auth/url-configuration) in the Dashboard.+First, add `io.supabase.flutterquickstart://login-callback/` as a new [redirect URL](/dashboard/project/_/auth/url-configuration) in the Dashboard.@@ -856,5 +856,5 @@ Congratulations, you've built a fully functional user management app using Flutt## See also-- [Flutter Tutorial: building a Flutter chat app](https://supabase.com/blog/flutter-tutorial-building-a-chat-app)-- [Flutter Tutorial - Part 2: Authentication and Authorization with RLS](https://supabase.com/blog/flutter-authentication-and-authorization-with-rls)+- [Flutter Tutorial: building a Flutter chat app](/blog/flutter-tutorial-building-a-chat-app)+- [Flutter Tutorial - Part 2: Authentication and Authorization with RLS](/blog/flutter-authentication-and-authorization-with-rls)diff --git a/apps/docs/content/guides/getting-started/tutorials/with-ionic-angular.mdx b/apps/docs/content/guides/getting-started/tutorials/with-ionic-angular.mdxindex e366f24d0c7..a2024f389a1 100644--- a/apps/docs/content/guides/getting-started/tutorials/with-ionic-angular.mdx+++ b/apps/docs/content/guides/getting-started/tutorials/with-ionic-angular.mdx@@ -596,4 +596,4 @@ At this stage, you have a fully functional application!## See also-- [Authentication in Ionic Angular with Supabase](https://supabase.com/blog/authentication-in-ionic-angular)+- [Authentication in Ionic Angular with Supabase](/blog/authentication-in-ionic-angular)diff --git a/apps/docs/content/guides/integrations/build-a-supabase-integration.mdx b/apps/docs/content/guides/integrations/build-a-supabase-integration.mdxindex f70007202fa..29b785b1e69 100644--- a/apps/docs/content/guides/integrations/build-a-supabase-integration.mdx+++ b/apps/docs/content/guides/integrations/build-a-supabase-integration.mdx@@ -5,7 +5,7 @@ subtitle: "This guide steps through building a Supabase Integration using OAuth2description: 'Build a Supabase Integration using OAuth2 and the Management API.'----Using OAuth2.0 you can retrieve an access and refresh token that grant your application full access to the [Management API](https://supabase.com/docs/reference/api/introduction) on behalf of the user.+Using OAuth2.0 you can retrieve an access and refresh token that grant your application full access to the [Management API](/docs/reference/api/introduction) on behalf of the user.## Create an OAuth app@@ -158,7 +158,7 @@ When creating a new project, you can either ask the user to provide a database p### Configure custom Auth SMTP-You can configure the user's [custom SMTP settings](https://supabase.com/docs/guides/auth/auth-smtp) using the [`/config/auth` endpoint](https://api.supabase.com/api/v1#/projects%20config/updateV1AuthConfig).+You can configure the user's [custom SMTP settings](/docs/guides/auth/auth-smtp) using the [`/config/auth` endpoint](https://api.supabase.com/api/v1#/projects%20config/updateV1AuthConfig).### Handling dynamic redirect URLsdiff --git a/apps/docs/content/guides/integrations/supabase-marketplace.mdx b/apps/docs/content/guides/integrations/supabase-marketplace.mdxindex c439fb646d8..b196fca240f 100644--- a/apps/docs/content/guides/integrations/supabase-marketplace.mdx+++ b/apps/docs/content/guides/integrations/supabase-marketplace.mdx@@ -6,8 +6,8 @@ description: 'Integrations and Partners'The Supabase Marketplace brings together all the tools you need to extend your Supabase project. This includes:-- [Experts](https://supabase.com/partners/experts) - partners to help you build and support your Supabase project.-- [Integrations](https://supabase.com/partners/integrations) - extend your projects with external Auth, Caching, Hosting, and Low-code tools.+- [Experts](/partners/experts) - partners to help you build and support your Supabase project.+- [Integrations](/partners/integrations) - extend your projects with external Auth, Caching, Hosting, and Low-code tools.## Build an integration@@ -20,7 +20,7 @@ Supabase provides several integration points:## List your integration-[Apply to the Partners program](https://supabase.com/partners/integrations#become-a-partner) to list your integration in the Partners marketplace and in the Supabase docs.+[Apply to the Partners program](/partners/integrations#become-a-partner) to list your integration in the Partners marketplace and in the Supabase docs.Integrations are assessed on the following criteria:diff --git a/apps/docs/content/guides/integrations/vercel-marketplace.mdx b/apps/docs/content/guides/integrations/vercel-marketplace.mdxindex 0f753e5d208..6a16f263f81 100644--- a/apps/docs/content/guides/integrations/vercel-marketplace.mdx+++ b/apps/docs/content/guides/integrations/vercel-marketplace.mdx@@ -84,9 +84,9 @@ Note: you can invite non-Vercel users to your Supabase Organization, but their p## Pricing-Pricing for databases created through Vercel Marketplace is identical to those created directly within Supabase. Detailed pricing information is available on the [Supabase pricing page](https://supabase.com/pricing).+Pricing for databases created through Vercel Marketplace is identical to those created directly within Supabase. Detailed pricing information is available on the [Supabase pricing page](/pricing).-The [usage page](https://supabase.com/dashboard/org/_/usage) tracks the usage of your Vercel databases, with this information sent to Vercel for billing, which appears on your Vercel invoice.+The [usage page](/dashboard/org/_/usage) tracks the usage of your Vercel databases, with this information sent to Vercel for billing, which appears on your Vercel invoice.Note: Supabase Organization billing cycle is separate from Vercel's. Plan changes will reset the billing cycle to the day of the change, with the initial billing cycle starting the day you install the integration.diff --git a/apps/docs/content/guides/local-development/cli/testing-and-linting.mdx b/apps/docs/content/guides/local-development/cli/testing-and-linting.mdxindex 59e8bb4e0d1..bd1c44b453d 100644--- a/apps/docs/content/guides/local-development/cli/testing-and-linting.mdx+++ b/apps/docs/content/guides/local-development/cli/testing-and-linting.mdx@@ -20,7 +20,7 @@ Usage:supabase test db [flags]```-This is powered by the [pgTAP](https://supabase.com/docs/guides/database/extensions/pgtap) extension. You can find a full guide to writing and running tests in the [Testing your database](/docs/guides/database/testing) section.+This is powered by the [pgTAP](/docs/guides/database/extensions/pgtap) extension. You can find a full guide to writing and running tests in the [Testing your database](/docs/guides/database/testing) section.### Test helpers@@ -44,7 +44,7 @@ By default, Mailpit is available at [localhost:54324](http://localhost:54324) wh### Going into production-The "default" email provided by Supabase is only for development purposes. It is [heavily restricted](/docs/guides/platform/going-into-prod#auth-rate-limits) to ensure that it is not used for spam. Before going into production, you must configure your own email provider. This is as simple as enabling a new SMTP credentials in your [project settings](https://supabase.com/dashboard/project/_/settings/auth).+The "default" email provided by Supabase is only for development purposes. It is [heavily restricted](/docs/guides/platform/going-into-prod#auth-rate-limits) to ensure that it is not used for spam. Before going into production, you must configure your own email provider. This is as simple as enabling a new SMTP credentials in your [project settings](/dashboard/project/_/settings/auth).## Linting your databasediff --git a/apps/docs/content/guides/local-development/overview.mdx b/apps/docs/content/guides/local-development/overview.mdxindex d399cabc9fc..708a4d065c0 100644--- a/apps/docs/content/guides/local-development/overview.mdx+++ b/apps/docs/content/guides/local-development/overview.mdx@@ -33,7 +33,7 @@ For this guide, we'll create a table called `employees` and see how we can make<StepHikeCompact.Step step={1}><StepHikeCompact.Details title="Create your first migration file">- To get started, generate a [new migration](https://supabase.com/docs/reference/cli/supabase-migration-new) to store the SQL needed to create our `employees` table+ To get started, generate a [new migration](/docs/reference/cli/supabase-migration-new) to store the SQL needed to create our `employees` table</StepHikeCompact.Details>@@ -213,7 +213,7 @@ The last step is deploying these changes to a live Supabase project.## Deploy your project-You've been developing your project locally, making changes to your tables via migrations. It's time to deploy your project to the Supabase Platform and start scaling up to millions of users! Head over to [Supabase](https://supabase.com/dashboard) and create a new project to deploy to.+You've been developing your project locally, making changes to your tables via migrations. It's time to deploy your project to the Supabase Platform and start scaling up to millions of users! Head over to [Supabase](/dashboard) and create a new project to deploy to.### Log in to the Supabase CLI@@ -269,7 +269,7 @@ Deploy any local database migrations using [`db push`](/docs/reference/cli/usagesupabase db push```-Visiting your live project on [Supabase](https://supabase.com/dashboard), you'll see a new `employees` table, complete with the `department` column you added in the second migration above.+Visiting your live project on [Supabase](/dashboard), you'll see a new `employees` table, complete with the `department` column you added in the second migration above.### Deploy Edge Functionsdiff --git a/apps/docs/content/guides/local-development/testing/overview.mdx b/apps/docs/content/guides/local-development/testing/overview.mdxindex ddc5030f781..eb212ec063e 100644--- a/apps/docs/content/guides/local-development/testing/overview.mdx+++ b/apps/docs/content/guides/local-development/testing/overview.mdx@@ -323,6 +323,6 @@ Common issues and solutions:## Additional resources- [pgTAP Documentation](https://pgtap.org)-- [Supabase CLI Reference](https://supabase.com/docs/reference/cli/supabase-test)-- [pgTAP Supabase reference](https://supabase.com/docs/guides/database/extensions/pgtap?queryGroups=database-method&database-method=sql#testing-rls-policies)-- [Database testing reference](https://supabase.com/docs/guides/database/testing)+- [Supabase CLI Reference](/docs/reference/cli/supabase-test)+- [pgTAP Supabase reference](/docs/guides/database/extensions/pgtap?queryGroups=database-method&database-method=sql#testing-rls-policies)+- [Database testing reference](/docs/guides/database/testing)diff --git a/apps/docs/content/guides/platform.mdx b/apps/docs/content/guides/platform.mdxindex 6816244e44e..f4c58fe84a0 100644--- a/apps/docs/content/guides/platform.mdx+++ b/apps/docs/content/guides/platform.mdx@@ -7,7 +7,7 @@ sidebar_label: 'Overview'Supabase is a hosted platform which makes it very simple to get started without needing to manage any infrastructure.-Visit [supabase.com/dashboard](https://supabase.com/dashboard) and sign in to start creating projects.+Visit [supabase.com/dashboard](/dashboard) and sign in to start creating projects.## Projectsdiff --git a/apps/docs/content/guides/platform/access-control.mdx b/apps/docs/content/guides/platform/access-control.mdxindex 2483a8f1ddb..fdb8f357949 100644--- a/apps/docs/content/guides/platform/access-control.mdx+++ b/apps/docs/content/guides/platform/access-control.mdx@@ -14,7 +14,7 @@ For each organization and project, a member can have one of the following roles:<Admonition type="note">-Read-Only role is only available on the [Team and Enterprise plans](https://supabase.com/pricing).+Read-Only role is only available on the [Team and Enterprise plans](/pricing).</Admonition>@@ -56,7 +56,7 @@ Otherwise, you'll need to invite a user as **Owner**, and they need to accept th<Admonition type="note">-Project scoped roles are only available on the [Team and Enterprise plans](https://supabase.com/pricing).+Project scoped roles are only available on the [Team and Enterprise plans](/pricing).</Admonition>diff --git a/apps/docs/content/guides/platform/backups.mdx b/apps/docs/content/guides/platform/backups.mdxindex ddc201410f7..72ca5d5c52d 100644--- a/apps/docs/content/guides/platform/backups.mdx+++ b/apps/docs/content/guides/platform/backups.mdx@@ -7,7 +7,7 @@ Database backups are an integral part of any disaster recovery plan. Disasters c<Admonition type="note">-The Supabase team regularly monitors the status of backups. In case of any issues, you can [contact support](https://supabase.com/dashboard/support/new). Also you can check out our [status page](https://status.supabase.com/) at any time.+The Supabase team regularly monitors the status of backups. In case of any issues, you can [contact support](/dashboard/support/new). Also you can check out our [status page](https://status.supabase.com/) at any time.</Admonition>@@ -19,7 +19,7 @@ Once a project is deleted all associated data will be permanently removed, inclu## Types of backups-Database backups can be categorized into two types: **logical** and **physical**. You can learn more about them [here](https://supabase.com/blog/postgresql-physical-logical-backups).+Database backups can be categorized into two types: **logical** and **physical**. You can learn more about them [here](/blog/postgresql-physical-logical-backups).As a general rule of thumb, projects will either have logical or physical backups based on plan, database size, and add-ons:@@ -35,9 +35,9 @@ Once a project satisfies at least one of the requirements for physical backups t</Admonition>-You can confirm your project's backup type by navigating to [Database Backups > Scheduled backups](https://supabase.com/dashboard/project/_/database/backups/scheduled) and if you can download a backup then it is logical, otherwise it is physical.+You can confirm your project's backup type by navigating to [Database Backups > Scheduled backups](/dashboard/project/_/database/backups/scheduled) and if you can download a backup then it is logical, otherwise it is physical.-However, if your project has the Point-in-Time Recovery (PITR) add-on then the backups are physical and you can view them in [Database Backups > Point in time](https://supabase.com/dashboard/project/_/database/backups/pitr).+However, if your project has the Point-in-Time Recovery (PITR) add-on then the backups are physical and you can view them in [Database Backups > Point in time](/dashboard/project/_/database/backups/pitr).## Frequency of backups@@ -69,7 +69,7 @@ For security purposes, passwords for custom roles are not stored in daily backupThe Postgres utility [pg_dumpall](https://www.postgresql.org/docs/current/app-pg-dumpall.html) is used to perform daily backups. An SQL file is generated, zipped up, and sent to our storage servers for safe keeping.-You can access daily backups in the [Scheduled backups](https://supabase.com/dashboard/project/_/database/backups/scheduled) settings in the Dashboard. Pro Plan projects can access the last 7 days' worth of daily backups. Team Plan projects can access the last 14 days' worth of daily backups, while Enterprise Plan projects can access up to 30 days' worth of daily backups. Users can restore their project to any one of the backups. If you wish to generate a logical backup on your own, you can do so through the [Supabase CLI](/docs/reference/cli/supabase-db-dump).+You can access daily backups in the [Scheduled backups](/dashboard/project/_/database/backups/scheduled) settings in the Dashboard. Pro Plan projects can access the last 7 days' worth of daily backups. Team Plan projects can access the last 14 days' worth of daily backups, while Enterprise Plan projects can access up to 30 days' worth of daily backups. Users can restore their project to any one of the backups. If you wish to generate a logical backup on your own, you can do so through the [Supabase CLI](/docs/reference/cli/supabase-db-dump).You can also manage backups programmatically using the Management API:@@ -131,7 +131,7 @@ If you enable PITR, Daily Backups will no longer be taken. PITR provides a finer</Admonition>-When you disable PITR, all new backups will still be taken as physical backups only. Physical backups can still be used for restoration, but they are not available for direct download. If you need to download a backup after PITR is disabled, you’ll need to take a manual [logical backup using the Supabase CLI or pg_dump](https://supabase.com/docs/guides/platform/migrating-within-supabase/backup-restore#backup-database-using-the-cli).+When you disable PITR, all new backups will still be taken as physical backups only. Physical backups can still be used for restoration, but they are not available for direct download. If you need to download a backup after PITR is disabled, you’ll need to take a manual [logical backup using the Supabase CLI or pg_dump](/docs/guides/platform/migrating-within-supabase/backup-restore#backup-database-using-the-cli).<Admonition type="note">@@ -141,7 +141,7 @@ If PITR has been disabled, logical backups remain available until they pass the### Backup process [#pitr-backup-process]-As discussed [here](https://supabase.com/blog/postgresql-physical-logical-backups), PITR is made possible by a combination of taking physical backups of a project, as well as archiving [Write Ahead Log (WAL)](https://www.postgresql.org/docs/current/wal-intro.html) files. Physical backups provide a snapshot of the underlying directory of the database, while WAL files contain records of every change made in the database.+As discussed [here](/blog/postgresql-physical-logical-backups), PITR is made possible by a combination of taking physical backups of a project, as well as archiving [Write Ahead Log (WAL)](https://www.postgresql.org/docs/current/wal-intro.html) files. Physical backups provide a snapshot of the underlying directory of the database, while WAL files contain records of every change made in the database.Supabase uses [WAL-G](https://github.com/wal-g/wal-g), an open source archival and restoration tool, to handle both aspects of PITR. On a daily basis, a snapshot of the database is taken and sent to our storage servers. Throughout the day, as database transactions occur, WAL files are generated and uploaded.@@ -149,7 +149,7 @@ By default, WAL files are backed up at two minute intervals. If these files cros-You can access PITR in the [Point in Time](https://supabase.com/dashboard/project/_/database/backups/pitr) settings in the Dashboard. The recovery period of a project is indicated by the earliest and latest points of recoveries displayed in your preferred timezone. If need be, the maximum amount of this recovery period can be modified accordingly.+You can access PITR in the [Point in Time](/dashboard/project/_/database/backups/pitr) settings in the Dashboard. The recovery period of a project is indicated by the earliest and latest points of recoveries displayed in your preferred timezone. If need be, the maximum amount of this recovery period can be modified accordingly.Note that the latest restore point of the project could be significantly far from the current time. This occurs when there has not been any recent activity in the database, and therefore no WAL file backups have been made recently. This is perfectly fine as the state of the database at the latest point of recovery would still be indicative of the state of the database at the current time given that no transactions have been made in between.diff --git a/apps/docs/content/guides/platform/billing-faq.mdx b/apps/docs/content/guides/platform/billing-faq.mdxindex fa0dcde3872..57fcb3bc60f 100644--- a/apps/docs/content/guides/platform/billing-faq.mdx+++ b/apps/docs/content/guides/platform/billing-faq.mdx@@ -12,21 +12,21 @@ subtitle: 'This documentation covers frequently asked questions around subscript#### What are organizations and projects?The Supabase Platform has "organizations" and "projects". An organization may contain multiple projects. Each project is a dedicated Supabase instance with all of its sub-services including Storage, Auth, Functions and Realtime.-Each organization only has a single subscription with a single plan (Free, Pro, Team or Enterprise). Project add-ons such as [Compute](/docs/guides/platform/compute-add-ons), [IPv4](/docs/guides/platform/ipv4-address), [Log Drains](/docs/guides/platform/log-drains), [Advanced MFA](/docs/guides/auth/auth-mfa/phone), [Custom Domains](https://supabase.com/docs/guides/platform/custom-domains) and [PITR](https://supabase.com/docs/guides/platform/backups#point-in-time-recovery) are configured per project and are added to your organization subscription.+Each organization only has a single subscription with a single plan (Free, Pro, Team or Enterprise). Project add-ons such as [Compute](/docs/guides/platform/compute-add-ons), [IPv4](/docs/guides/platform/ipv4-address), [Log Drains](/docs/guides/platform/log-drains), [Advanced MFA](/docs/guides/auth/auth-mfa/phone), [Custom Domains](/docs/guides/platform/custom-domains) and [PITR](/docs/guides/platform/backups#point-in-time-recovery) are configured per project and are added to your organization subscription.-Read more on [About billing on Supabase](https://supabase.com/docs/guides/platform/billing-on-supabase#organization-based-billing).+Read more on [About billing on Supabase](/docs/guides/platform/billing-on-supabase#organization-based-billing).#### How many free projects can I have?-You are entitled to two active free projects. Paused projects do not count towards your quota. Note that within an organization, we count the free project limits from all members that are either Owner or Admin. If you’ve got another organization member with the Admin or Owner role that has already exhausted their free project quota, you won’t be able to launch another free project in that organization. You can create another Free Plan organization or change the role of the affected member in your [organization’s team settings](https://supabase.com/dashboard/org/_/team).+You are entitled to two active free projects. Paused projects do not count towards your quota. Note that within an organization, we count the free project limits from all members that are either Owner or Admin. If you’ve got another organization member with the Admin or Owner role that has already exhausted their free project quota, you won’t be able to launch another free project in that organization. You can create another Free Plan organization or change the role of the affected member in your [organization’s team settings](/dashboard/org/_/team).#### Can I mix free and paid projects in a single organization?-The subscription plan is set on the organization level and it is not possible to mix paid and non-paid projects inside a single organization. However, you can have a paid and a free organization and make use of the [self-serve project transfers](https://supabase.com/docs/guides/platform/project-transfer) to organize your projects. All projects in an organization benefit from the subscription plan. If your organization is on the Pro Plan, all projects within the organization benefit from no project pausing, automated backups and so on.+The subscription plan is set on the organization level and it is not possible to mix paid and non-paid projects inside a single organization. However, you can have a paid and a free organization and make use of the [self-serve project transfers](/docs/guides/platform/project-transfer) to organize your projects. All projects in an organization benefit from the subscription plan. If your organization is on the Pro Plan, all projects within the organization benefit from no project pausing, automated backups and so on.#### Can I transfer my projects to another organization?-Yes, you can transfer your projects to another organization. You can find instructions on how to transfer your projects [here](https://supabase.com/docs/guides/platform/project-transfer).+Yes, you can transfer your projects to another organization. You can find instructions on how to transfer your projects [here](/docs/guides/platform/project-transfer).#### Can I transfer my credits to another organization?@@ -34,7 +34,7 @@ Yes, you can transfer the credits to another organization. Submit a [support tic## Pricing-See the [Pricing page](https://supabase.com/pricing) for details.+See the [Pricing page](/pricing) for details.#### Are there any charges for paused projects?@@ -54,13 +54,13 @@ Refer to our [Compute](/docs/guides/platform/manage-your-usage/compute#billing-e#### How does compute billing work?-Each Supabase project is a dedicated VM and Postgres database. By default, your instance runs on the Micro compute instance. You have the option to upgrade your compute size in your [Project settings](https://supabase.com/dashboard/project/_/settings/addons). See [Compute Add-ons](https://supabase.com/docs/guides/platform/compute-add-ons) for available options.+Each Supabase project is a dedicated VM and Postgres database. By default, your instance runs on the Micro compute instance. You have the option to upgrade your compute size in your [Project settings](/dashboard/project/_/settings/addons). See [Compute Add-ons](/docs/guides/platform/compute-add-ons) for available options.When you change your compute size, there are no immediate upfront charges. Instead, you will be billed based on the compute hours during your billing cycle reset.If you launch additional instances on your paid plan, we will add the corresponding compute hours to your final invoice.-If you upgrade your project to a larger instance for 10 hours and then downgrade, you’ll only pay for the larger instance for the 10 hours of usage at the end of your billing cycle. You can see your current compute usage on your [organization’s usage page](https://supabase.com/dashboard/org/_/usage).+If you upgrade your project to a larger instance for 10 hours and then downgrade, you’ll only pay for the larger instance for the 10 hours of usage at the end of your billing cycle. You can see your current compute usage on your [organization’s usage page](/dashboard/org/_/usage).Read more about [Compute usage](/docs/guides/platform/manage-your-usage/compute).@@ -76,7 +76,7 @@ Read more about [Egress usage](/docs/guides/platform/manage-your-usage/egress).#### How do I change my subscription plan?-Change your subscription plan in your [organization's billing settings](https://supabase.com/dashboard/org/_/billing). To upgrade to an Enterprise Plan, complete the [Enterprise request form](https://forms.supabase.com/enterprise).+Change your subscription plan in your [organization's billing settings](/dashboard/org/_/billing). To upgrade to an Enterprise Plan, complete the [Enterprise request form](https://forms.supabase.com/enterprise).#### What happens if I cancel my subscription?@@ -96,11 +96,11 @@ You will be notified when you exceed the Free Plan quota. It is important to tak#### What will happen when I exceed the Pro Plan quota and have the spend cap on?-You will be notified when you exceed your Pro Plan quota. To unblock yourself, you can toggle off your spend cap in your [organization’s billing settings](https://supabase.com/dashboard/org/_/billing) to pay for over-usage beyond the Pro plans limits. If you continue to exceed the limits without reducing your usage or turning off the spend cap, restrictions will apply. Learn more about restrictions in the [Fair Use Policy](#fair-use-policy) section.+You will be notified when you exceed your Pro Plan quota. To unblock yourself, you can toggle off your spend cap in your [organization’s billing settings](/dashboard/org/_/billing) to pay for over-usage beyond the Pro plans limits. If you continue to exceed the limits without reducing your usage or turning off the spend cap, restrictions will apply. Learn more about restrictions in the [Fair Use Policy](#fair-use-policy) section.#### How do I scale beyond the limits of my Pro Plan?-The Pro Plan has a Spend Cap enabled by default to keep costs under control. If you want to scale beyond the plan's included quota, switch off the Spend Cap to pay for additional usage beyond the plans included limits. You can toggle the Spend Cap in the [organization's billing settings](https://supabase.com/dashboard/org/_/billing). Read more about the [Spend Cap](/docs/guides/platform/cost-control#spend-cap).+The Pro Plan has a Spend Cap enabled by default to keep costs under control. If you want to scale beyond the plan's included quota, switch off the Spend Cap to pay for additional usage beyond the plans included limits. You can toggle the Spend Cap in the [organization's billing settings](/dashboard/org/_/billing). Read more about the [Spend Cap](/docs/guides/platform/cost-control#spend-cap).## Fair Use Policy@@ -130,25 +130,25 @@ The Fair Use Policy is generally applied to all projects of the restricted organTo remove restrictions, you will need to address the issue that caused the restriction. This could be reducing your usage, paying overdue invoices, updating your payment method, or any other issue that caused the restriction. Once the issue is resolved, the restriction will be lifted.-Restrictions due to usage limits are lifted with the next billing cycle as your quota refills at the beginning of each cycle. You can see when your current billing cycle ends on the [billing page](https://supabase.com/dashboard/org/_/billing) under "Upcoming Invoice". You can also lift restrictions immediately by [upgrading](https://supabase.com/dashboard/org/_/billing?panel=subscriptionPlan) to Pro (if on Free Plan) or by [disabling spend cap](https://supabase.com/dashboard/org/_/billing?panel=costControl) (if on Pro Plan with spend cap enabled).+Restrictions due to usage limits are lifted with the next billing cycle as your quota refills at the beginning of each cycle. You can see when your current billing cycle ends on the [billing page](/dashboard/org/_/billing) under "Upcoming Invoice". You can also lift restrictions immediately by [upgrading](/dashboard/org/_/billing?panel=subscriptionPlan) to Pro (if on Free Plan) or by [disabling spend cap](/dashboard/org/_/billing?panel=costControl) (if on Pro Plan with spend cap enabled).## Reports and invoices#### Where do I find my invoices?-You can find all invoices from your organization on your [organization’s invoices page](https://supabase.com/dashboard/org/_/billing#invoices).+You can find all invoices from your organization on your [organization’s invoices page](/dashboard/org/_/billing#invoices).#### Where can I see a breakdown of usage?-You can find the breakdown of your usage on your [organization’s usage page](https://supabase.com/dashboard/org/_/usage).+You can find the breakdown of your usage on your [organization’s usage page](/dashboard/org/_/usage).#### Where can I check my credit balance?-You can check your Credit balance on the [organization’s billing page](https://supabase.com/dashboard/org/_/billing). Credits will be used on future invoices before charging your payment method. If you have enough credits to cover an invoice, there is no charge at all.+You can check your Credit balance on the [organization’s billing page](/dashboard/org/_/billing). Credits will be used on future invoices before charging your payment method. If you have enough credits to cover an invoice, there is no charge at all.#### Can I include the VAT number?-You can update your VAT number in the Tax ID section of your [organization’s billing page](https://supabase.com/dashboard/org/_/billing).+You can update your VAT number in the Tax ID section of your [organization’s billing page](/dashboard/org/_/billing).#### Can I change the details of an existing invoice?@@ -171,25 +171,25 @@ All our invoices are issued in USD, but you can pay in any currency so long as t#### Can I change the payment method?Yes, you will have to add the new payment method before being allowed to remove the old one.-This can be done from your dashboard on the [organization’s billing page](https://supabase.com/dashboard/org/_/billing).+This can be done from your dashboard on the [organization’s billing page](/dashboard/org/_/billing).Read more on [Manage your payment methods](/docs/guides/platform/manage-your-subscription#manage-your-payment-methods).#### Can I pay upfront for multiple months?-You can top up your credit balance to cover multiple months through your [organization’s billing page](https://supabase.com/dashboard/org/_/billing).+You can top up your credit balance to cover multiple months through your [organization’s billing page](/dashboard/org/_/billing).Read more on [Credit top-ups](/docs/guides/platform/credits#credit-top-ups).#### When are payments taken?-Payments are taken at the beginning of each billing cycle. You will be charged once a month. You can see the current billing cycle and upcoming invoice in your [organization's billing settings](https://supabase.com/dashboard/org/_/billing). The subscription plan fee is charged upfront, whereas usage-charges, including compute, are charged in arrears based on your usage.+Payments are taken at the beginning of each billing cycle. You will be charged once a month. You can see the current billing cycle and upcoming invoice in your [organization's billing settings](/dashboard/org/_/billing). The subscription plan fee is charged upfront, whereas usage-charges, including compute, are charged in arrears based on your usage.Read more on [Your monthly invoice](/docs/guides/platform/your-monthly-invoice).#### Where can I change my billing details?-You can update your billing details on the [organization’s billing page](https://supabase.com/dashboard/org/_/billing).+You can update your billing details on the [organization’s billing page](/dashboard/org/_/billing).Note that any changes made to your billing details will only be reflected in your upcoming invoices. Our payment provider cannot regenerate previous invoices.#### What happens if I am unable to make the payment?@@ -206,7 +206,7 @@ You can be overdue when- You had insufficient funds- There was no card on record-Check your payment methods in your [organization’s billing page](https://supabase.com/dashboard/org/_/billing) to ensure there are no expired payment methods and the correct payment method is marked as default.+Check your payment methods in your [organization’s billing page](/dashboard/org/_/billing) to ensure there are no expired payment methods and the correct payment method is marked as default.If you are still facing issues, raise a [support ticket](https://supabase.help).Payments are always in USD and may show up as coming from Singapore, given our payment entity is in Singapore. Make sure you allow payments from Singapore and in USD@@ -217,7 +217,7 @@ No, you cannot delay your payment.#### Can I get a refund of my unused credits?-No, we do not provide refunds. Please refer to our [Terms of Service](https://supabase.com/terms#1-fees).+No, we do not provide refunds. Please refer to our [Terms of Service](/terms#1-fees).#### What do I do if my bill looks wrong?diff --git a/apps/docs/content/guides/platform/billing-on-supabase.mdx b/apps/docs/content/guides/platform/billing-on-supabase.mdxindex 48d3c7c3c1b..54293ddd952 100644--- a/apps/docs/content/guides/platform/billing-on-supabase.mdx+++ b/apps/docs/content/guides/platform/billing-on-supabase.mdx@@ -5,7 +5,7 @@ title: 'About billing on Supabase'## Subscription plans-Supabase offers different subscription plans—Free, Pro, Team, and Enterprise. For a closer look at each plan's features and pricing, visit our [pricing page](https://supabase.com/pricing).+Supabase offers different subscription plans—Free, Pro, Team, and Enterprise. For a closer look at each plan's features and pricing, visit our [pricing page](/pricing).### Free Plandiff --git a/apps/docs/content/guides/platform/clone-project.mdx b/apps/docs/content/guides/platform/clone-project.mdxindex f2399770ae5..dcc3abcdb06 100644--- a/apps/docs/content/guides/platform/clone-project.mdx+++ b/apps/docs/content/guides/platform/clone-project.mdx@@ -33,7 +33,7 @@ PITR is an additional add-on available for organizations on a paid plan with phy</Admonition>-To begin, switch to the source project—the project containing the data you wish to restore—and go to the [database backups](https://supabase.com/dashboard/project/_/database/backups/restore-to-new-project) page. Select the **Restore to a New Project** tab.+To begin, switch to the source project—the project containing the data you wish to restore—and go to the [database backups](/dashboard/project/_/database/backups/restore-to-new-project) page. Select the **Restore to a New Project** tab.A list of available backups is displayed. Select the backup you want to use and click the "Restore" button. For projects with PITR enabled, use the date and time selector to specify the exact point in time from which you wish to restore data.diff --git a/apps/docs/content/guides/platform/compute-and-disk.mdx b/apps/docs/content/guides/platform/compute-and-disk.mdxindex 76ac429d90c..381a6edbb71 100644--- a/apps/docs/content/guides/platform/compute-and-disk.mdx+++ b/apps/docs/content/guides/platform/compute-and-disk.mdx@@ -12,30 +12,30 @@ The following table describes the base instances, Nano (free plan) and Micro (pa<Admonition type="note" label="Nano instances in paid plan organizations">-In paid organizations, Nano Compute are billed at the same price as Micro Compute. It is recommended to upgrade your Project from Nano Compute to Micro Compute when it's convenient for you. Compute sizes are not auto-upgraded because of the downtime incurred. See [Supabase Pricing](https://supabase.com/pricing) for more information. You cannot launch Nano instances on paid plans, only Micro and above - but you might have Nano instances after upgrading from Free Plan.+In paid organizations, Nano Compute are billed at the same price as Micro Compute. It is recommended to upgrade your Project from Nano Compute to Micro Compute when it's convenient for you. Compute sizes are not auto-upgraded because of the downtime incurred. See [Supabase Pricing](/pricing) for more information. You cannot launch Nano instances on paid plans, only Micro and above - but you might have Nano instances after upgrading from Free Plan.</Admonition>-| Compute Size | Hourly Price USD | Monthly Price USD | CPU | Memory | Max DB Size (Recommended)[^2] |-| ------------ | ------------------------- | --------------------------------------------------------------------------------------------------------------------------- | ----------------------- | ------------ | ----------------------------- |-| Nano[^3] | <Price price="0" /> | <Price price="0" /> | Shared | Up to 0.5 GB | 500 MB |-| Micro | <Price price="0.01344" /> | ~<Price price="10" /> | 2-core ARM (shared) | 1 GB | 10 GB |-| Small | <Price price="0.0206" /> | ~<Price price="15" /> | 2-core ARM (shared) | 2 GB | 50 GB |-| Medium | <Price price="0.0822" /> | ~<Price price="60" /> | 2-core ARM (shared) | 4 GB | 100 GB |-| Large | <Price price="0.1517" /> | ~<Price price="110" /> | 2-core ARM (dedicated) | 8 GB | 200 GB |-| XL | <Price price="0.2877" /> | ~<Price price="210" /> | 4-core ARM (dedicated) | 16 GB | 500 GB |-| 2XL | <Price price="0.562" /> | ~<Price price="410" /> | 8-core ARM (dedicated) | 32 GB | 1 TB |-| 4XL | <Price price="1.32" /> | ~<Price price="960" /> | 16-core ARM (dedicated) | 64 GB | 2 TB |-| 8XL | <Price price="2.562" /> | ~<Price price="1" />,870 | 32-core ARM (dedicated) | 128 GB | 4 TB |-| 12XL | <Price price="3.836" /> | ~<Price price="2" />,800 | 48-core ARM (dedicated) | 192 GB | 6 TB |-| 16XL | <Price price="5.12" /> | ~<Price price="3" />,730 | 64-core ARM (dedicated) | 256 GB | 10 TB |-| >16XL | - | [Contact Us](https://supabase.com/dashboard/support/new?category=sales&subject=Enquiry%20about%20larger%20instance%20sizes) | Custom | Custom | Custom |+| Compute Size | Hourly Price USD | Monthly Price USD | CPU | Memory | Max DB Size (Recommended)[^2] |+| ------------ | ------------------------- | ------------------------------------------------------------------------------------------------------- | ----------------------- | ------------ | ----------------------------- |+| Nano[^3] | <Price price="0" /> | <Price price="0" /> | Shared | Up to 0.5 GB | 500 MB |+| Micro | <Price price="0.01344" /> | ~<Price price="10" /> | 2-core ARM (shared) | 1 GB | 10 GB |+| Small | <Price price="0.0206" /> | ~<Price price="15" /> | 2-core ARM (shared) | 2 GB | 50 GB |+| Medium | <Price price="0.0822" /> | ~<Price price="60" /> | 2-core ARM (shared) | 4 GB | 100 GB |+| Large | <Price price="0.1517" /> | ~<Price price="110" /> | 2-core ARM (dedicated) | 8 GB | 200 GB |+| XL | <Price price="0.2877" /> | ~<Price price="210" /> | 4-core ARM (dedicated) | 16 GB | 500 GB |+| 2XL | <Price price="0.562" /> | ~<Price price="410" /> | 8-core ARM (dedicated) | 32 GB | 1 TB |+| 4XL | <Price price="1.32" /> | ~<Price price="960" /> | 16-core ARM (dedicated) | 64 GB | 2 TB |+| 8XL | <Price price="2.562" /> | ~<Price price="1" />,870 | 32-core ARM (dedicated) | 128 GB | 4 TB |+| 12XL | <Price price="3.836" /> | ~<Price price="2" />,800 | 48-core ARM (dedicated) | 192 GB | 6 TB |+| 16XL | <Price price="5.12" /> | ~<Price price="3" />,730 | 64-core ARM (dedicated) | 256 GB | 10 TB |+| >16XL | - | [Contact Us](/dashboard/support/new?category=sales&subject=Enquiry%20about%20larger%20instance%20sizes) | Custom | Custom | Custom |[^1]: Database max connections are recommended values and can be customized depending on your use case.-[^2]: Database size for each compute instance is the default recommendation but the actual performance of your database has many contributing factors, including resources available to it and the size of the data contained within it. See the [shared responsibility model](https://supabase.com/docs/guides/platform/shared-responsibility-model) for more information.+[^2]: Database size for each compute instance is the default recommendation but the actual performance of your database has many contributing factors, including resources available to it and the size of the data contained within it. See the [shared responsibility model](/docs/guides/platform/shared-responsibility-model) for more information.[^3]: Compute resources on the Free plan are subject to change.-Compute sizes can be changed by first selecting your project in the dashboard [here](https://supabase.com/dashboard/project/_/settings/compute-and-disk) and the upgrade process will [incur downtime](/docs/guides/platform/compute-and-disk#upgrade-downtime).+Compute sizes can be changed by first selecting your project in the dashboard [here](/dashboard/project/_/settings/compute-and-disk) and the upgrade process will [incur downtime](/docs/guides/platform/compute-and-disk#upgrade-downtime).<Imagealt="Compute Size Selection"@@ -61,7 +61,7 @@ Compute instance changes are usually applied with less than 2 minutes of downtim</Admonition>-When considering compute upgrades, assess whether your bottlenecks are hardware-constrained or software-constrained. For example, you may want to look into [optimizing the number of connections](/docs/guides/platform/performance#optimizing-the-number-of-connections) or [examining query performance](/docs/guides/platform/performance#examining-query-performance). When you're happy with your Postgres instance's performance, then you can focus on additional compute resources. For example, you can load test your application in staging to understand your compute requirements. You can also start out on a smaller tier, [create a report](https://supabase.com/dashboard/project/_/reports) in the Dashboard to monitor your CPU utilization, and upgrade as needed.+When considering compute upgrades, assess whether your bottlenecks are hardware-constrained or software-constrained. For example, you may want to look into [optimizing the number of connections](/docs/guides/platform/performance#optimizing-the-number-of-connections) or [examining query performance](/docs/guides/platform/performance#examining-query-performance). When you're happy with your Postgres instance's performance, then you can focus on additional compute resources. For example, you can load test your application in staging to understand your compute requirements. You can also start out on a smaller tier, [create a report](/dashboard/project/_/reports) in the Dashboard to monitor your CPU utilization, and upgrade as needed.## Disk@@ -105,11 +105,11 @@ Larger compute instances (4XL and above) are designed for sustained, high perfor### Choosing the right compute instance for consistent disk performance-If you need consistent disk performance, choose the 4XL or larger compute instance. If you're unsure of how much throughput or IOPS your application requires, you can load test your project and inspect these [metrics in the Dashboard](https://supabase.com/dashboard/project/_/reports). If the `Disk IO % consumed` stat is more than 1%, it indicates that your workload has exceeded the baseline IO throughput during the day. If this metric goes to 100%, the workload has used up all available disk IO budget. Projects that use any disk IO budget are good candidates for upgrading to a larger compute instance with higher throughput.+If you need consistent disk performance, choose the 4XL or larger compute instance. If you're unsure of how much throughput or IOPS your application requires, you can load test your project and inspect these [metrics in the Dashboard](/dashboard/project/_/reports). If the `Disk IO % consumed` stat is more than 1%, it indicates that your workload has exceeded the baseline IO throughput during the day. If this metric goes to 100%, the workload has used up all available disk IO budget. Projects that use any disk IO budget are good candidates for upgrading to a larger compute instance with higher throughput.### Provisioned disk throughput and IOPS-The default disk type is gp3, which comes with a baseline throughput of 125 MB/s and a default IOPS of 3,000. You can provision additional IOPS and throughput from the [Database Settings](https://supabase.com/dashboard/project/_/settings/compute-and-disk) page, but keep in mind that the effective IOPS and throughput will be limited by the compute instance size. This requires Large compute size or above.+The default disk type is gp3, which comes with a baseline throughput of 125 MB/s and a default IOPS of 3,000. You can provision additional IOPS and throughput from the [Database Settings](/dashboard/project/_/settings/compute-and-disk) page, but keep in mind that the effective IOPS and throughput will be limited by the compute instance size. This requires Large compute size or above.<Admonition type="caution">diff --git a/apps/docs/content/guides/platform/cost-control.mdx b/apps/docs/content/guides/platform/cost-control.mdxindex 1ecbaee2955..95a247925d4 100644--- a/apps/docs/content/guides/platform/cost-control.mdx+++ b/apps/docs/content/guides/platform/cost-control.mdx@@ -21,11 +21,11 @@ Note that only certain usage items are covered by the Spend Cap.### What happens when the Spend Cap is off?-Your projects will continue to operate after exceeding the quota for a usage item. Any additional usage will be charged based on the item's cost per unit, as outlined on the [pricing page](https://supabase.com/pricing).+Your projects will continue to operate after exceeding the quota for a usage item. Any additional usage will be charged based on the item's cost per unit, as outlined on the [pricing page](/pricing).<Admonition type="note">-When the Spend Cap is off, we recommend monitoring your usage and costs on the [organization's usage page](https://supabase.com/dashboard/org/_/usage).+When the Spend Cap is off, we recommend monitoring your usage and costs on the [organization's usage page](/dashboard/org/_/usage).</Admonition>@@ -64,8 +64,8 @@ The Spend Cap doesn't allow for fine-grained cost control, such as setting budge### Configure the Spend Cap-You can configure the Spend Cap when creating an organization on the Pro Plan or at any time in the Cost Control section of the [organization's billing page](https://supabase.com/dashboard/org/_/billing).+You can configure the Spend Cap when creating an organization on the Pro Plan or at any time in the Cost Control section of the [organization's billing page](/dashboard/org/_/billing).## Keep track of your usage and costs-You can monitor your usage on the [organization's usage page](https://supabase.com/dashboard/org/_/usage). The Upcoming Invoice section of the [organization's billing page](https://supabase.com/dashboard/org/_/billing) shows your current spending and provides an estimate of your total costs for the billing cycle based on your usage.+You can monitor your usage on the [organization's usage page](/dashboard/org/_/usage). The Upcoming Invoice section of the [organization's billing page](/dashboard/org/_/billing) shows your current spending and provides an estimate of your total costs for the billing cycle based on your usage.diff --git a/apps/docs/content/guides/platform/credits.mdx b/apps/docs/content/guides/platform/credits.mdxindex b7d765b0230..6197fe1423c 100644--- a/apps/docs/content/guides/platform/credits.mdx+++ b/apps/docs/content/guides/platform/credits.mdx@@ -16,7 +16,7 @@ Each organization has a credit balance. Credits are applied to future invoices tzoomable/>-You can find the credit balance on the [organization's billing page](https://supabase.com/dashboard/org/_/billing).+You can find the credit balance on the [organization's billing page](/dashboard/org/_/billing).### What causes the credit balance to change?@@ -35,13 +35,13 @@ You may want to consider this option to avoid issues with recurring payments, ga<Admonition type="note">-If you are interested in larger (> <Price price="2000" />) credit packages, [reach out](https://supabase.com/dashboard/support/new?subject=I%20would%20like%20to%20inquire%20about%20larger%20credit%20packages&category=Sales).+If you are interested in larger (> <Price price="2000" />) credit packages, [reach out](/dashboard/support/new?subject=I%20would%20like%20to%20inquire%20about%20larger%20credit%20packages&category=Sales).</Admonition>### How to top up credits-1. On the [organization's billing page](https://supabase.com/dashboard/org/_/billing), go to section **Credit Balance**+1. On the [organization's billing page](/dashboard/org/_/billing), go to section **Credit Balance**2. Click **Top Up**3. Choose the amount4. Choose a payment method or add a new payment method@@ -71,4 +71,4 @@ Yes, you can transfer credits to another organization. Submit a [support ticket]### Can I get a refund of my unused credits?-No, we do not provide refunds. Please refer to our [Terms of Service](https://supabase.com/terms#1-fees).+No, we do not provide refunds. Please refer to our [Terms of Service](/terms#1-fees).diff --git a/apps/docs/content/guides/platform/custom-domains.mdx b/apps/docs/content/guides/platform/custom-domains.mdxindex 05b4f37e013..d4899e9e040 100644--- a/apps/docs/content/guides/platform/custom-domains.mdx+++ b/apps/docs/content/guides/platform/custom-domains.mdx@@ -26,7 +26,7 @@ Custom domains help you keep your APIs portable for the long term. By using a cu### Configure a custom domain using the Supabase dashboard-Follow the **Custom Domains** steps in the [General Settings](https://supabase.com/dashboard/project/_/settings/general) page in the Dashboard to set up a custom domain for your project.+Follow the **Custom Domains** steps in the [General Settings](/dashboard/project/_/settings/general) page in the Dashboard to set up a custom domain for your project.### Configure a custom domain using the Supabase CLI@@ -148,7 +148,7 @@ To get started:1. [Install](/docs/guides/resources/supabase-cli) the latest version of the Supabase CLI.1. [Log in](/docs/guides/cli/local-development#log-in-to-the-supabase-cli) to your Supabase account using the CLI.1. Ensure that you have [Owner or Admin permissions](/docs/guides/platform/access-control#manage-team-members) for the project you'd like to set up a vanity subdomain for.-1. Ensure that your organization is on a paid plan (Pro/Team/Enterprise Plan) in the [Billing page of the Dashboard](https://supabase.com/dashboard/org/_/billing).+1. Ensure that your organization is on a paid plan (Pro/Team/Enterprise Plan) in the [Billing page of the Dashboard](/dashboard/org/_/billing).### Configure a vanity subdomaindiff --git a/apps/docs/content/guides/platform/database-size.mdx b/apps/docs/content/guides/platform/database-size.mdxindex fd670e91a1c..f829fa38e69 100644--- a/apps/docs/content/guides/platform/database-size.mdx+++ b/apps/docs/content/guides/platform/database-size.mdx@@ -6,9 +6,9 @@ description: 'Understanding how database size applies to your subscription.'Disk metrics refer to the storage usage reported by Postgres. These metrics are updated daily. As you read through this document, we will refer to "database size" and "disk size":-- _Database size_: Displays the actual size of the data within your Postgres database. This can be found on the [Database Reports page](https://supabase.com/dashboard/project/_/reports/database).+- _Database size_: Displays the actual size of the data within your Postgres database. This can be found on the [Database Reports page](/dashboard/project/_/reports/database).-- _Disk size_: Shows the overall disk space usage, which includes both the database size and additional files required for Postgres to function like the Write Ahead Log (WAL) and other system log files. You can view this on the [Database Settings page](https://supabase.com/dashboard/project/_/database/settings).+- _Disk size_: Shows the overall disk space usage, which includes both the database size and additional files required for Postgres to function like the Write Ahead Log (WAL) and other system log files. You can view this on the [Database Settings page](/dashboard/project/_/database/settings).## Database size@@ -20,7 +20,7 @@ selectfrom pg_database;```-This value is reported in the [database report page](https://supabase.com/dashboard/project/_/reports/database).+This value is reported in the [database report page](/dashboard/project/_/reports/database).Database size is consumed primarily by your data, indexes, and materialized views. You can reduce your database size by removing any of these and running a Vacuum operation.@@ -42,7 +42,7 @@ select pg_size_pretty(sum(size)) as wal_size from pg_ls_waldir();### Vacuum operations-Postgres does not immediately reclaim the physical space used by dead tuples (i.e., deleted rows) in the DB. They are marked as "removed" until a [vacuum operation](https://www.postgresql.org/docs/current/routine-vacuuming.html) is executed. As a result, deleting data from your database may not immediately reduce the reported disk usage. You can use the [Supabase CLI](https://supabase.com/docs/guides/cli/getting-started) `inspect db bloat` command to view all dead tuples in your database. Alternatively, you can run the [query](https://github.com/supabase/cli/blob/c9cce58025fded16b4c332747f819a44f45c3b83/internal/inspect/bloat/bloat.go#L17) found in the CLI's GitHub repo in the [SQL Editor](https://supabase.com/dashboard/project/_/sql/)+Postgres does not immediately reclaim the physical space used by dead tuples (i.e., deleted rows) in the DB. They are marked as "removed" until a [vacuum operation](https://www.postgresql.org/docs/current/routine-vacuuming.html) is executed. As a result, deleting data from your database may not immediately reduce the reported disk usage. You can use the [Supabase CLI](/docs/guides/cli/getting-started) `inspect db bloat` command to view all dead tuples in your database. Alternatively, you can run the [query](https://github.com/supabase/cli/blob/c9cce58025fded16b4c332747f819a44f45c3b83/internal/inspect/bloat/bloat.go#L17) found in the CLI's GitHub repo in the [SQL Editor](/dashboard/project/_/sql/)```bash# Login to the CLI@@ -58,7 +58,7 @@ npx supabase linknpx supabase inspect db bloat --linked```-If you find a table you would like to immediately clean, you can run the following in the [SQL Editor](https://supabase.com/dashboard/project/_/sql/new):+If you find a table you would like to immediately clean, you can run the following in the [SQL Editor](/dashboard/project/_/sql/new):```sqlvacuum full <table name>;@@ -94,11 +94,11 @@ The automatic resize operation will add an additional 50% capped to a maximum of</Admonition>-Disk size can also be manually expanded on the [Database Settings page](https://supabase.com/dashboard/project/_/database/settings). The maximum disk size for the Pro/Team Plan is 60 TB. If you need more than this, [contact us](https://forms.supabase.com/enterprise) to learn more about the Enterprise Plan.+Disk size can also be manually expanded on the [Database Settings page](/dashboard/project/_/database/settings). The maximum disk size for the Pro/Team Plan is 60 TB. If you need more than this, [contact us](https://forms.supabase.com/enterprise) to learn more about the Enterprise Plan.<Admonition type="note">-You may want to import a lot of data into your database which requires multiple disk expansions. for example, uploading more than 1.5x the current size of your database storage will put your database into [read-only mode](#read-only-mode). If so, it is highly recommended you increase the disk size manually on the [Database Settings page](https://supabase.com/dashboard/project/_/database/settings).+You may want to import a lot of data into your database which requires multiple disk expansions. for example, uploading more than 1.5x the current size of your database storage will put your database into [read-only mode](#read-only-mode). If so, it is highly recommended you increase the disk size manually on the [Database Settings page](/dashboard/project/_/database/settings).Due to restrictions on the underlying cloud provider, disk expansions can occur only once every six hours. During the six hour cool down window, the disk cannot be resized again.@@ -108,7 +108,7 @@ Due to restrictions on the underlying cloud provider, disk expansions can occurFree Plan projects enter [read-only](#read-only-mode) mode when you exceed the 500 MB limit. Once in read-only mode, you have these options:-- [Upgrade to the Pro Plan](https://supabase.com/dashboard/org/_/billing) to increase the limit to 8 GB. [Disable the Spend Cap](https://app.supabase.com/org/_/billing?panel=costControl) if you want your Pro instance to auto-scale beyond the 8 GB disk size limit.+- [Upgrade to the Pro Plan](/dashboard/org/_/billing) to increase the limit to 8 GB. [Disable the Spend Cap](https://app.supabase.com/org/_/billing?panel=costControl) if you want your Pro instance to auto-scale beyond the 8 GB disk size limit.- [Disable read-only mode](#disabling-read-only-mode) and reduce your database size.### Read-only mode@@ -119,7 +119,7 @@ In read-only mode, clients will encounter errors such as `cannot execute INSERT### Disabling read-only mode-You manually override read-only mode to reduce disk size. To do this, run the following in the [SQL Editor](https://supabase.com/dashboard/project/_/sql):+You manually override read-only mode to reduce disk size. To do this, run the following in the [SQL Editor](/dashboard/project/_/sql):First, change the [transaction access mode](https://www.postgresql.org/docs/current/sql-set-transaction.html):diff --git a/apps/docs/content/guides/platform/get-set-up-for-billing.mdx b/apps/docs/content/guides/platform/get-set-up-for-billing.mdxindex 368d757f723..f4556d1ed54 100644--- a/apps/docs/content/guides/platform/get-set-up-for-billing.mdx+++ b/apps/docs/content/guides/platform/get-set-up-for-billing.mdx@@ -29,4 +29,4 @@ For more information on credits and credit top-ups, see the [Credits page](/docsBilling details cannot be changed once an invoice is issued, so it's crucial to configure them correctly from the start.-You can update your billing email address, billing address and tax ID on the [organization's billing page](https://supabase.com/dashboard/org/_/billing).+You can update your billing email address, billing address and tax ID on the [organization's billing page](/dashboard/org/_/billing).diff --git a/apps/docs/content/guides/platform/hipaa-projects.mdx b/apps/docs/content/guides/platform/hipaa-projects.mdxindex b5e9a92470a..2e91554e454 100644--- a/apps/docs/content/guides/platform/hipaa-projects.mdx+++ b/apps/docs/content/guides/platform/hipaa-projects.mdx@@ -14,10 +14,10 @@ Organizations must have a signed BAA with Supabase and have the Health Insurance## Configuring a HIPAA project-When the HIPAA add-on is enabled on an organization, projects within the organization can be configured as _High Compliance_. This configuration can be found in the [General Project Settings page](https://supabase.com/dashboard/project/_/settings) of the dashboard.-Once enabled, additional security checks will be run against the project to ensure the deployed configuration is compliant. These checks are performed on a continual basis and security warnings will appear in the [Security Advisor](https://supabase.com/dashboard/project/_/advisors/security) if a non-compliant setting is detected.+When the HIPAA add-on is enabled on an organization, projects within the organization can be configured as _High Compliance_. This configuration can be found in the [General Project Settings page](/dashboard/project/_/settings) of the dashboard.+Once enabled, additional security checks will be run against the project to ensure the deployed configuration is compliant. These checks are performed on a continual basis and security warnings will appear in the [Security Advisor](/dashboard/project/_/advisors/security) if a non-compliant setting is detected.-The required project configuration is outlined in the [shared responsibility model](https://supabase.com/docs/guides/deployment/shared-responsibility-model#managing-healthcare-data) for managing healthcare data.+The required project configuration is outlined in the [shared responsibility model](/docs/guides/deployment/shared-responsibility-model#managing-healthcare-data) for managing healthcare data.These include:diff --git a/apps/docs/content/guides/platform/ipv4-address.mdx b/apps/docs/content/guides/platform/ipv4-address.mdxindex 4e1afd14e94..58508648855 100644--- a/apps/docs/content/guides/platform/ipv4-address.mdx+++ b/apps/docs/content/guides/platform/ipv4-address.mdx@@ -97,7 +97,7 @@ nslookup db.<PROJECT_REF>.supabase.co## Identifying your connections-The pooler and direct connection strings can be found in the [project connect page](https://supabase.com/dashboard/project/_?showConnect=true):+The pooler and direct connection strings can be found in the [project connect page](/dashboard/project/_?showConnect=true):#### Direct connectiondiff --git a/apps/docs/content/guides/platform/manage-your-subscription.mdx b/apps/docs/content/guides/platform/manage-your-subscription.mdxindex fa8b763c3a3..38b72d38e27 100644--- a/apps/docs/content/guides/platform/manage-your-subscription.mdx+++ b/apps/docs/content/guides/platform/manage-your-subscription.mdx@@ -7,7 +7,7 @@ title: 'Manage your subscription'To change your subscription plan-1. On the [organization's billing page](https://supabase.com/dashboard/org/_/billing), go to section **Subscription Plan**+1. On the [organization's billing page](/dashboard/org/_/billing), go to section **Subscription Plan**2. Click **Change subscription plan**3. On the side panel, choose a subscription plan4. Follow the prompts@@ -49,7 +49,7 @@ Upon subscription downgrade, any prepaid subscription fee will be credited back**Example:**If you start a Pro Plan subscription on January 1 and downgrade to the Free Plan on January 15, your organization will receive about 50% of the subscription fee as credits for the unused time between January 15 and January 31.-As stated in our [Terms of Service](https://supabase.com/terms#1-fees), we do not offer refunds to the payment method on file.+As stated in our [Terms of Service](/terms#1-fees), we do not offer refunds to the payment method on file.#### Charges on downgrade@@ -65,26 +65,26 @@ You can add multiple payment methods, but only one can be active at a time.### Add a payment method-1. On the [organization's billing page](https://supabase.com/dashboard/org/_/billing), go to section **Payment Methods**+1. On the [organization's billing page](/dashboard/org/_/billing), go to section **Payment Methods**2. Click **Add new card**3. Provide your credit card details4. Click **Add payment method**### Delete a payment method-1. On the [organization's billing page](https://supabase.com/dashboard/org/_/billing), go to section **Payment Methods**+1. On the [organization's billing page](/dashboard/org/_/billing), go to section **Payment Methods**2. In the context menu of the payment method you want to delete, click **Delete card**3. Click **Confirm**### Set a payment method as active-1. On the [organization's billing page](https://supabase.com/dashboard/org/_/billing), go to section **Payment Methods**+1. On the [organization's billing page](/dashboard/org/_/billing), go to section **Payment Methods**2. In the context menu of the payment method you want to delete, click **Use this card**3. Click **Confirm**## Manage your billing details-You can update your billing email address, billing address and tax ID on the [organization's billing page](https://supabase.com/dashboard/org/_/billing).+You can update your billing email address, billing address and tax ID on the [organization's billing page](/dashboard/org/_/billing).<Admonition type="note">diff --git a/apps/docs/content/guides/platform/manage-your-usage/branching.mdx b/apps/docs/content/guides/platform/manage-your-usage/branching.mdxindex 59e3b8f3813..28f86ca2632 100644--- a/apps/docs/content/guides/platform/manage-your-usage/branching.mdx+++ b/apps/docs/content/guides/platform/manage-your-usage/branching.mdx@@ -43,7 +43,7 @@ The project has a Preview branch "XYZ", that runs for 30 hours, incurring Comput## View usage-You can view Branching usage on the [organization's usage page](https://supabase.com/dashboard/org/_/usage). The page shows the usage of all projects by default. To view the usage for a specific project, select it from the dropdown. You can also select a different time period.+You can view Branching usage on the [organization's usage page](/dashboard/org/_/usage). The page shows the usage of all projects by default. To view the usage for a specific project, select it from the dropdown. You can also select a different time period.<Imagealt="Usage page navigation bar"diff --git a/apps/docs/content/guides/platform/manage-your-usage/compute.mdx b/apps/docs/content/guides/platform/manage-your-usage/compute.mdxindex 14abb5de266..2e8140b85db 100644--- a/apps/docs/content/guides/platform/manage-your-usage/compute.mdx+++ b/apps/docs/content/guides/platform/manage-your-usage/compute.mdx@@ -40,26 +40,26 @@ Paid plans include <Price price="10" /> in Compute Credits, which cover one proj## Pricing-| Compute Size | Hourly Price USD | Monthly Price USD |-| ------------ | ------------------------- | --------------------------------------------------------------------------------------------------------------------------- |-| Nano[^1] | <Price price="0" /> | <Price price="0" /> |-| Micro | <Price price="0.01344" /> | ~<Price price="10" /> |-| Small | <Price price="0.0206" /> | ~<Price price="15" /> |-| Medium | <Price price="0.0822" /> | ~<Price price="60" /> |-| Large | <Price price="0.1517" /> | ~<Price price="110" /> |-| XL | <Price price="0.2877" /> | ~<Price price="210" /> |-| 2XL | <Price price="0.562" /> | ~<Price price="410" /> |-| 4XL | <Price price="1.32" /> | ~<Price price="960" /> |-| 8XL | <Price price="2.562" /> | ~<Price price="1,870" /> |-| 12XL | <Price price="3.836" /> | ~<Price price="2,800"/> |-| 16XL | <Price price="5.12" /> | ~<Price price="3,730"/> |-| >16XL | - | [Contact Us](https://supabase.com/dashboard/support/new?category=sales&subject=Enquiry%20about%20larger%20instance%20sizes) |+| Compute Size | Hourly Price USD | Monthly Price USD |+| ------------ | ------------------------- | ------------------------------------------------------------------------------------------------------- |+| Nano[^1] | <Price price="0" /> | <Price price="0" /> |+| Micro | <Price price="0.01344" /> | ~<Price price="10" /> |+| Small | <Price price="0.0206" /> | ~<Price price="15" /> |+| Medium | <Price price="0.0822" /> | ~<Price price="60" /> |+| Large | <Price price="0.1517" /> | ~<Price price="110" /> |+| XL | <Price price="0.2877" /> | ~<Price price="210" /> |+| 2XL | <Price price="0.562" /> | ~<Price price="410" /> |+| 4XL | <Price price="1.32" /> | ~<Price price="960" /> |+| 8XL | <Price price="2.562" /> | ~<Price price="1,870" /> |+| 12XL | <Price price="3.836" /> | ~<Price price="2,800"/> |+| 16XL | <Price price="5.12" /> | ~<Price price="3,730"/> |+| >16XL | - | [Contact Us](/dashboard/support/new?category=sales&subject=Enquiry%20about%20larger%20instance%20sizes) |[^1]: Compute resources on the Free Plan are subject to change.<Admonition type="note" label="Nano Compute size in paid plan organizations">-In paid organizations, Nano Compute are billed at the same price as Micro Compute. It is recommended to upgrade your Project from Nano Compute to Micro Compute when it's convenient for you. Compute sizes are not auto-upgraded because of the downtime incurred. See [Supabase Pricing](https://supabase.com/pricing) for more information. You cannot launch Nano instances on paid plans, only Micro and above - but you might have Nano instances after upgrading from Free Plan.+In paid organizations, Nano Compute are billed at the same price as Micro Compute. It is recommended to upgrade your Project from Nano Compute to Micro Compute when it's convenient for you. Compute sizes are not auto-upgraded because of the downtime incurred. See [Supabase Pricing](/pricing) for more information. You cannot launch Nano instances on paid plans, only Micro and above - but you might have Nano instances after upgrading from Free Plan.</Admonition>@@ -106,7 +106,7 @@ The project's Compute size changes throughout the billing cycle.## View usage-You can view Compute usage on the [organization's usage page](https://supabase.com/dashboard/org/_/usage). The page shows the usage of all projects by default. To view the usage for a specific project, select it from the dropdown. You can also select a different time period.+You can view Compute usage on the [organization's usage page](/dashboard/org/_/usage). The page shows the usage of all projects by default. To view the usage for a specific project, select it from the dropdown. You can also select a different time period.<Imagealt="Usage page navigation bar"@@ -130,7 +130,7 @@ In the Compute Hours section, you can see how many hours of a specific Compute s## Optimize usage-- Start out on a smaller Compute size, [create a report](https://supabase.com/dashboard/project/_/reports) on the Dashboard to monitor your CPU and memory utilization, and upgrade the Compute size as needed+- Start out on a smaller Compute size, [create a report](/dashboard/project/_/reports) on the Dashboard to monitor your CPU and memory utilization, and upgrade the Compute size as needed- Load test your application in staging to understand your Compute requirements- [Transfer projects](/docs/guides/platform/project-transfer) to a Free Plan organization to reduce Compute usage- Delete unused projectsdiff --git a/apps/docs/content/guides/platform/manage-your-usage/custom-domains.mdx b/apps/docs/content/guides/platform/manage-your-usage/custom-domains.mdxindex 4493951975b..1860f2de8db 100644--- a/apps/docs/content/guides/platform/manage-your-usage/custom-domains.mdx+++ b/apps/docs/content/guides/platform/manage-your-usage/custom-domains.mdx@@ -5,7 +5,7 @@ title: 'Manage Custom Domain usage'## What you are charged for-You can configure a [custom domain](/docs/guides/platform/custom-domains) for a project by enabling the [Custom Domain add-on](https://supabase.com/dashboard/project/_/settings/addons?panel=customDomain). You are charged for all custom domains configured across your projects.+You can configure a [custom domain](/docs/guides/platform/custom-domains) for a project by enabling the [Custom Domain add-on](/dashboard/project/_/settings/addons?panel=customDomain). You are charged for all custom domains configured across your projects.## How charges are calculateddiff --git a/apps/docs/content/guides/platform/manage-your-usage/disk-size.mdx b/apps/docs/content/guides/platform/manage-your-usage/disk-size.mdxindex 4b7e04dd64c..1bf78ecc9ed 100644--- a/apps/docs/content/guides/platform/manage-your-usage/disk-size.mdx+++ b/apps/docs/content/guides/platform/manage-your-usage/disk-size.mdx@@ -101,7 +101,7 @@ This disk type is billed from the first byte of provisioned disk, meaning for 66## View usage-You can view Disk size usage on the [organization's usage page](https://supabase.com/dashboard/org/_/usage). The page shows the usage of all projects by default. To view the usage for a specific project, select it from the dropdown.+You can view Disk size usage on the [organization's usage page](/dashboard/org/_/usage). The page shows the usage of all projects by default. To view the usage for a specific project, select it from the dropdown.<Imagealt="Usage page navigation bar"diff --git a/apps/docs/content/guides/platform/manage-your-usage/edge-function-invocations.mdx b/apps/docs/content/guides/platform/manage-your-usage/edge-function-invocations.mdxindex f24f7f2803a..db31cb0d456 100644--- a/apps/docs/content/guides/platform/manage-your-usage/edge-function-invocations.mdx+++ b/apps/docs/content/guides/platform/manage-your-usage/edge-function-invocations.mdx@@ -60,7 +60,7 @@ The organization's function invocations exceed the quota by 1.4 million, incurri## View usage-You can view Edge Function Invocations usage on the [organization's usage page](https://supabase.com/dashboard/org/_/usage). The page shows the usage of all projects by default. To view the usage for a specific project, select it from the dropdown. You can also select a different time period.+You can view Edge Function Invocations usage on the [organization's usage page](/dashboard/org/_/usage). The page shows the usage of all projects by default. To view the usage for a specific project, select it from the dropdown. You can also select a different time period.<Imagealt="Usage page navigation bar"diff --git a/apps/docs/content/guides/platform/manage-your-usage/egress.mdx b/apps/docs/content/guides/platform/manage-your-usage/egress.mdxindex b5819a76234..cccd1986fc3 100644--- a/apps/docs/content/guides/platform/manage-your-usage/egress.mdx+++ b/apps/docs/content/guides/platform/manage-your-usage/egress.mdx@@ -47,7 +47,7 @@ Data pushed to clients via Supabase Realtime for subscribed events.Data sent to the client when using the shared connection pooler (Supavisor) to access your database. When using the shared connection pooler, we do not count database egress, as this would otherwise count double (Database -> Shared Pooler + Shared Pooler -> Client).-**Example:** You are using our [shared connection pooler](https://supabase.com/docs/guides/database/connecting-to-postgres#shared-pooler) and you query a list of invoices in your backend. The data returned from that query is contributing to Shared Pooler Egress.+**Example:** You are using our [shared connection pooler](/docs/guides/database/connecting-to-postgres#shared-pooler) and you query a list of invoices in your backend. The data returned from that query is contributing to Shared Pooler Egress.### Log Drain Egress@@ -113,7 +113,7 @@ The organization's Egress usage exceeds the uncached egress quota by 50 GB and t### Usage page-You can view Egress usage on the [organization's usage page](https://supabase.com/dashboard/org/_/usage). The page shows the usage of all projects by default. To view the usage for a specific project, select it from the dropdown. You can also select a different time period.+You can view Egress usage on the [organization's usage page](/dashboard/org/_/usage). The page shows the usage of all projects by default. To view the usage for a specific project, select it from the dropdown. You can also select a different time period.<Imagealt="Usage page navigation bar"@@ -146,7 +146,7 @@ Separately, you can see the cached egress right below:### Custom report-1. On the [reports page](https://supabase.com/dashboard/project/_/reports), click **New custom report** in the left navigation menu+1. On the [reports page](/dashboard/project/_/reports), click **New custom report** in the left navigation menu2. After creating a new report, add charts for one or more Supabase services by clicking **Add block**<Image@@ -164,7 +164,7 @@ To better understand your Egress usage, identify what’s driving the most traff### Frequent database queries-On the Advisors [Query performance view](https://supabase.com/dashboard/project/_/database/query-performance?preset=most_frequent&sort=calls&order=desc) you can see the most frequent queries and the average number of rows returned.+On the Advisors [Query performance view](/dashboard/project/_/database/query-performance?preset=most_frequent&sort=calls&order=desc) you can see the most frequent queries and the average number of rows returned.<Imagealt="Most frequent queries"@@ -177,7 +177,7 @@ On the Advisors [Query performance view](https://supabase.com/dashboard/project/### Most requested API endpoints-In the [Logs Explorer](https://supabase.com/dashboard/project/_/logs/explorer) you can access Edge Logs, and review the top paths to identify heavily queried endpoints. These logs currently do not include response byte data. That data will be available in the future too.+In the [Logs Explorer](/dashboard/project/_/logs/explorer) you can access Edge Logs, and review the top paths to identify heavily queried endpoints. These logs currently do not include response byte data. That data will be available in the future too.<Imagealt="Top paths"diff --git a/apps/docs/content/guides/platform/manage-your-usage/ipv4.mdx b/apps/docs/content/guides/platform/manage-your-usage/ipv4.mdxindex b909a569f66..321eb06f29f 100644--- a/apps/docs/content/guides/platform/manage-your-usage/ipv4.mdx+++ b/apps/docs/content/guides/platform/manage-your-usage/ipv4.mdx@@ -5,7 +5,7 @@ title: 'Manage IPv4 usage'## What you are charged for-You can assign a dedicated [IPv4 address](/docs/guides/platform/ipv4-address) to a database by enabling the [IPv4 add-on](https://supabase.com/dashboard/project/_/settings/addons?panel=ipv4). You are charged for all IPv4 addresses configured across your databases.+You can assign a dedicated [IPv4 address](/docs/guides/platform/ipv4-address) to a database by enabling the [IPv4 add-on](/dashboard/project/_/settings/addons?panel=ipv4). You are charged for all IPv4 addresses configured across your databases.<Admonition type="note">diff --git a/apps/docs/content/guides/platform/manage-your-usage/log-drains.mdx b/apps/docs/content/guides/platform/manage-your-usage/log-drains.mdxindex ce94b88ffe6..a734d5a00ad 100644--- a/apps/docs/content/guides/platform/manage-your-usage/log-drains.mdx+++ b/apps/docs/content/guides/platform/manage-your-usage/log-drains.mdx@@ -5,7 +5,7 @@ title: 'Manage Log Drain usage'## What you are charged for-You can configure log drains in the [project settings](https://supabase.com/dashboard/project/_/settings/log-drains) to send logs to one or more destinations. You are charged for each log drain that is configured (referred to as [Log Drain Hours](/docs/guides/platform/manage-your-usage/log-drains#log-drain-hours)), the log events sent (referred to as [Log Drain Events](/docs/guides/platform/manage-your-usage/log-drains#log-drain-events)), and the [Egress](/docs/guides/platform/manage-your-usage/egress) incurred by the export—across all your projects.+You can configure log drains in the [project settings](/dashboard/project/_/settings/log-drains) to send logs to one or more destinations. You are charged for each log drain that is configured (referred to as [Log Drain Hours](/docs/guides/platform/manage-your-usage/log-drains#log-drain-hours)), the log events sent (referred to as [Log Drain Events](/docs/guides/platform/manage-your-usage/log-drains#log-drain-events)), and the [Egress](/docs/guides/platform/manage-your-usage/egress) incurred by the export—across all your projects.## Log Drain Hours@@ -79,7 +79,7 @@ The project has two log drains configured throughout the entire billing cycle wi## View usage-You can view Log Drain Events usage on the [organization's usage page](https://supabase.com/dashboard/org/_/usage). The page shows the usage of all projects by default. To view the usage for a specific project, select it from the dropdown. You can also select a different time period.+You can view Log Drain Events usage on the [organization's usage page](/dashboard/org/_/usage). The page shows the usage of all projects by default. To view the usage for a specific project, select it from the dropdown. You can also select a different time period.<Imagealt="Usage page usage summary"diff --git a/apps/docs/content/guides/platform/manage-your-usage/monthly-active-users-sso.mdx b/apps/docs/content/guides/platform/manage-your-usage/monthly-active-users-sso.mdxindex e9145cc0992..cd88dac94b2 100644--- a/apps/docs/content/guides/platform/manage-your-usage/monthly-active-users-sso.mdx+++ b/apps/docs/content/guides/platform/manage-your-usage/monthly-active-users-sso.mdx@@ -116,7 +116,7 @@ The organization's SSO MAU usage for the billing cycle exceeds the quota by 10,## View usage-You can view Monthly Active SSO Users usage on the [organization's usage page](https://supabase.com/dashboard/org/_/usage). The page shows the usage of all projects by default. To view the usage for a specific project, select it from the dropdown. You can also select a different time period.+You can view Monthly Active SSO Users usage on the [organization's usage page](/dashboard/org/_/usage). The page shows the usage of all projects by default. To view the usage for a specific project, select it from the dropdown. You can also select a different time period.<Imagealt="Usage page navigation bar"diff --git a/apps/docs/content/guides/platform/manage-your-usage/monthly-active-users-third-party.mdx b/apps/docs/content/guides/platform/manage-your-usage/monthly-active-users-third-party.mdxindex 8add63e306e..2f0a67e40b1 100644--- a/apps/docs/content/guides/platform/manage-your-usage/monthly-active-users-third-party.mdx+++ b/apps/docs/content/guides/platform/manage-your-usage/monthly-active-users-third-party.mdx@@ -109,7 +109,7 @@ The organization's Third-Party MAU usage for the billing cycle exceeds the quota## View usage-You can view Monthly Active Third-Party Users usage on the [organization's usage page](https://supabase.com/dashboard/org/_/usage). The page shows the usage of all projects by default. To view the usage for a specific project, select it from the dropdown. You can also select a different time period.+You can view Monthly Active Third-Party Users usage on the [organization's usage page](/dashboard/org/_/usage). The page shows the usage of all projects by default. To view the usage for a specific project, select it from the dropdown. You can also select a different time period.<Imagealt="Usage page Monthly Active SSO Users section"diff --git a/apps/docs/content/guides/platform/manage-your-usage/monthly-active-users.mdx b/apps/docs/content/guides/platform/manage-your-usage/monthly-active-users.mdxindex 7a5fa650954..d8688e1156f 100644--- a/apps/docs/content/guides/platform/manage-your-usage/monthly-active-users.mdx+++ b/apps/docs/content/guides/platform/manage-your-usage/monthly-active-users.mdx@@ -104,7 +104,7 @@ The organization's MAU usage for the billing cycle exceeds the quota by 60,000,## View usage-You can view Monthly Active Users usage on the [organization's usage page](https://supabase.com/dashboard/org/_/usage). The page shows the usage of all projects by default. To view the usage for a specific project, select it from the dropdown. You can also select a different time period.+You can view Monthly Active Users usage on the [organization's usage page](/dashboard/org/_/usage). The page shows the usage of all projects by default. To view the usage for a specific project, select it from the dropdown. You can also select a different time period.<Imagealt="Usage page navigation bar"diff --git a/apps/docs/content/guides/platform/manage-your-usage/point-in-time-recovery.mdx b/apps/docs/content/guides/platform/manage-your-usage/point-in-time-recovery.mdxindex eaf4af4d432..3197dbe0454 100644--- a/apps/docs/content/guides/platform/manage-your-usage/point-in-time-recovery.mdx+++ b/apps/docs/content/guides/platform/manage-your-usage/point-in-time-recovery.mdx@@ -5,7 +5,7 @@ title: 'Manage Point-in-Time Recovery usage'## What you are charged for-You can configure [Point-in-Time Recovery (PITR)](/docs/guides/platform/backups#point-in-time-recovery) for a project by enabling the [PITR add-on](https://supabase.com/dashboard/project/_/settings/addons?panel=pitr). You are charged for every enabled PITR add-on across your projects.+You can configure [Point-in-Time Recovery (PITR)](/docs/guides/platform/backups#point-in-time-recovery) for a project by enabling the [PITR add-on](/dashboard/project/_/settings/addons?panel=pitr). You are charged for every enabled PITR add-on across your projects.## How charges are calculateddiff --git a/apps/docs/content/guides/platform/manage-your-usage/realtime-messages.mdx b/apps/docs/content/guides/platform/manage-your-usage/realtime-messages.mdxindex cc600316515..a5d64a1060d 100644--- a/apps/docs/content/guides/platform/manage-your-usage/realtime-messages.mdx+++ b/apps/docs/content/guides/platform/manage-your-usage/realtime-messages.mdx@@ -66,7 +66,7 @@ The organization's Realtime messages exceed the quota by 3.5 million, incurring## View usage-You can view Realtime Messages usage on the [organization's usage page](https://supabase.com/dashboard/org/_/usage). The page shows the usage of all projects by default. To view the usage for a specific project, select it from the dropdown. You can also select a different time period.+You can view Realtime Messages usage on the [organization's usage page](/dashboard/org/_/usage). The page shows the usage of all projects by default. To view the usage for a specific project, select it from the dropdown. You can also select a different time period.<Imagealt="Usage page navigation bar"diff --git a/apps/docs/content/guides/platform/manage-your-usage/realtime-peak-connections.mdx b/apps/docs/content/guides/platform/manage-your-usage/realtime-peak-connections.mdxindex 9fa5890dfd0..5193aea15e0 100644--- a/apps/docs/content/guides/platform/manage-your-usage/realtime-peak-connections.mdx+++ b/apps/docs/content/guides/platform/manage-your-usage/realtime-peak-connections.mdx@@ -71,7 +71,7 @@ The organization's connections exceed the quota by 1,200, incurring charges for## View usage-You can view Realtime Peak Connections usage on the [organization's usage page](https://supabase.com/dashboard/org/_/usage). The page shows the usage of all projects by default. To view the usage for a specific project, select it from the dropdown. You can also select a different time period.+You can view Realtime Peak Connections usage on the [organization's usage page](/dashboard/org/_/usage). The page shows the usage of all projects by default. To view the usage for a specific project, select it from the dropdown. You can also select a different time period.<Imagealt="Usage page navigation bar"diff --git a/apps/docs/content/guides/platform/manage-your-usage/storage-image-transformations.mdx b/apps/docs/content/guides/platform/manage-your-usage/storage-image-transformations.mdxindex 7a72e24c9af..e77a1a9681d 100644--- a/apps/docs/content/guides/platform/manage-your-usage/storage-image-transformations.mdx+++ b/apps/docs/content/guides/platform/manage-your-usage/storage-image-transformations.mdx@@ -100,7 +100,7 @@ The organization's number of origin images for the billing cycle exceeds the quo## View usage-You can view Storage Image Transformations usage on the [organization's usage page](https://supabase.com/dashboard/org/_/usage). The page shows the usage of all projects by default. To view the usage for a specific project, select it from the dropdown. You can also select a different time period.+You can view Storage Image Transformations usage on the [organization's usage page](/dashboard/org/_/usage). The page shows the usage of all projects by default. To view the usage for a specific project, select it from the dropdown. You can also select a different time period.<Imagealt="Usage page navigation bar"diff --git a/apps/docs/content/guides/platform/manage-your-usage/storage-size.mdx b/apps/docs/content/guides/platform/manage-your-usage/storage-size.mdxindex 774f383b148..c4f0202cc87 100644--- a/apps/docs/content/guides/platform/manage-your-usage/storage-size.mdx+++ b/apps/docs/content/guides/platform/manage-your-usage/storage-size.mdx@@ -52,7 +52,7 @@ The organization's Storage size usage exceeds the quota by 257 GB, incurring cha### Usage page-You can view Storage size usage on the [organization's usage page](https://supabase.com/dashboard/org/_/usage). The page shows the usage of all projects by default. To view the usage for a specific project, select it from the dropdown. You can also select a different time period.+You can view Storage size usage on the [organization's usage page](/dashboard/org/_/usage). The page shows the usage of all projects by default. To view the usage for a specific project, select it from the dropdown. You can also select a different time period.<Imagealt="Usage page navigation bar"diff --git a/apps/docs/content/guides/platform/mfa/org-mfa-enforcement.mdx b/apps/docs/content/guides/platform/mfa/org-mfa-enforcement.mdxindex 3fd7a1ff4ec..6886997903f 100644--- a/apps/docs/content/guides/platform/mfa/org-mfa-enforcement.mdx+++ b/apps/docs/content/guides/platform/mfa/org-mfa-enforcement.mdx@@ -7,7 +7,7 @@ Supabase provides multi-factor authentication (MFA) enforcement on the organizat<Admonition type="note">-MFA enforcement is only available on the [Pro, Team and Enterprise plans](https://supabase.com/pricing).+MFA enforcement is only available on the [Pro, Team and Enterprise plans](/pricing).</Admonition>diff --git a/apps/docs/content/guides/platform/migrating-to-supabase/amazon-rds.mdx b/apps/docs/content/guides/platform/migrating-to-supabase/amazon-rds.mdxindex 7cd679e06db..0acb893a7be 100644--- a/apps/docs/content/guides/platform/migrating-to-supabase/amazon-rds.mdx+++ b/apps/docs/content/guides/platform/migrating-to-supabase/amazon-rds.mdx@@ -22,8 +22,8 @@ Supabase's core is Postgres, enabling the use of row-level security and providin## Retrieve your Supabase host [#retrieve-supabase-host]-1. If you're new to Supabase, [create a project](https://database.new). Make a note of your password, you will need this later. If you forget it, you can [reset it here](https://supabase.com/dashboard/project/_/database/settings).-1. On your project dashboard, click [Connect](https://supabase.com/dashboard/project/_?showConnect=true)+1. If you're new to Supabase, [create a project](https://database.new). Make a note of your password, you will need this later. If you forget it, you can [reset it here](/dashboard/project/_/database/settings).+1. On your project dashboard, click [Connect](/dashboard/project/_?showConnect=true)1. Under the Session pooler, click on the View parameters under the connect string. Note your Host (`$SUPABASE_HOST`).@@ -55,7 +55,7 @@ Alternatively, you can use [pgloader](https://github.com/dimitri/pgloader), a fl1. Install pgloader.2. Create a configuration file (e.g., config.load).- For your destination, use your Supabase connection string with `Use connection pooling` enabled, and the mode set to `Session`. You can get the string from your [`Database Settings`](https://supabase.com/dashboard/project/_/settings/general).+ For your destination, use your Supabase connection string with `Use connection pooling` enabled, and the mode set to `Session`. You can get the string from your [`Database Settings`](/dashboard/project/_/settings/general).```sqlload databasediff --git a/apps/docs/content/guides/platform/migrating-to-supabase/auth0.mdx b/apps/docs/content/guides/platform/migrating-to-supabase/auth0.mdxindex 48534360ffe..7ba4fc78a28 100644--- a/apps/docs/content/guides/platform/migrating-to-supabase/auth0.mdx+++ b/apps/docs/content/guides/platform/migrating-to-supabase/auth0.mdx@@ -140,7 +140,7 @@ Once you have imported your users, you can sign them in using the [`signInWithOtConfigure your OAuth providers in Supabase by following the [Social login guides](/docs/guides/auth/social-login).-For both new and existing users, sign in the user using the [`signInWithOAuth`](https://supabase.com/docs/reference/javascript/auth-signinwithoauth) method. This works without pre-migrating existing users, since the user always needs to sign in through the OAuth provider before being redirected to your service.+For both new and existing users, sign in the user using the [`signInWithOAuth`](/docs/reference/javascript/auth-signinwithoauth) method. This works without pre-migrating existing users, since the user always needs to sign in through the OAuth provider before being redirected to your service.After the user has completed the OAuth flow successfully, you can check if the user is a new or existing user in Auth0 by mapping their social provider id to Auth0. Auth0 stores the social provider ID in the user ID, which has the format `provider_name|provider_id` (for example, `github|123456`). See the [Auth0 identity docs](https://auth0.com/docs/manage-users/user-accounts/identify-users) to learn more.diff --git a/apps/docs/content/guides/platform/migrating-to-supabase/firebase-auth.mdx b/apps/docs/content/guides/platform/migrating-to-supabase/firebase-auth.mdxindex bc3dd362dfb..4458d0e968b 100644--- a/apps/docs/content/guides/platform/migrating-to-supabase/firebase-auth.mdx+++ b/apps/docs/content/guides/platform/migrating-to-supabase/firebase-auth.mdx@@ -30,7 +30,7 @@ Supabase provides several [tools](https://github.com/supabase-community/firebase}```-1. On your project dashboard, click [Connect](https://supabase.com/dashboard/project/_?showConnect=true)+1. On your project dashboard, click [Connect](/dashboard/project/_?showConnect=true)1. Under the Session pooler, click on the View parameters under the connect string. Replace the `Host` and `User` fields with the values shown.1. Enter the password you used when you created your Supabase project in the `password` entry in the `supabase-service.json` file.@@ -82,7 +82,7 @@ For more advanced migrations, including the use of a middleware server component## Resources-- [Supabase vs Firebase](https://supabase.com/alternatives/supabase-vs-firebase)+- [Supabase vs Firebase](/alternatives/supabase-vs-firebase)- [Firestore Data Migration](/docs/guides/migrations/firestore-data)- [Firestore Storage Migration](/docs/guides/migrations/firebase-storage)diff --git a/apps/docs/content/guides/platform/migrating-to-supabase/firebase-storage.mdx b/apps/docs/content/guides/platform/migrating-to-supabase/firebase-storage.mdxindex 345e3e6daf9..fb68380ff35 100644--- a/apps/docs/content/guides/platform/migrating-to-supabase/firebase-storage.mdx+++ b/apps/docs/content/guides/platform/migrating-to-supabase/firebase-storage.mdx@@ -19,7 +19,7 @@ Supabase provides several [tools](https://github.com/supabase-community/firebase```1. In the `/storage` directory, rename [supabase-keys-sample.js](https://github.com/supabase-community/firebase-to-supabase/blob/main/storage/supabase-keys-sample.js) to `supabase-keys.js`.-1. Go to your Supabase project's [API settings](https://supabase.com/dashboard/project/_/settings/api) in the Dashboard.+1. Go to your Supabase project's [API settings](/dashboard/project/_/settings/api) in the Dashboard.1. Copy the **Project URL** and update the `SUPABASE_URL` value in `supabase-keys.js`.1. Under **Project API keys**, copy the **service_role** key and update the `SUPABASE_KEY` value in `supabase-keys.js`.@@ -55,13 +55,13 @@ To process in batches using multiple command-line executions, you must use the s<Admonition type="note">-If the bucket doesn't exist, it's created as a `non-public` bucket. You must set permissions on this new bucket in the [Supabase Dashboard](https://supabase.com/dashboard/project/_/storage/buckets) before users can download any files.+If the bucket doesn't exist, it's created as a `non-public` bucket. You must set permissions on this new bucket in the [Supabase Dashboard](/dashboard/project/_/storage/buckets) before users can download any files.</Admonition>## Resources-- [Supabase vs Firebase](https://supabase.com/alternatives/supabase-vs-firebase)+- [Supabase vs Firebase](/alternatives/supabase-vs-firebase)- [Firestore Data Migration](/docs/guides/migrations/firestore-data)- [Firebase Auth Migration](/docs/guides/migrations/firebase-auth)diff --git a/apps/docs/content/guides/platform/migrating-to-supabase/firestore-data.mdx b/apps/docs/content/guides/platform/migrating-to-supabase/firestore-data.mdxindex 3121f96901f..0aaa3d6d464 100644--- a/apps/docs/content/guides/platform/migrating-to-supabase/firestore-data.mdx+++ b/apps/docs/content/guides/platform/migrating-to-supabase/firestore-data.mdx@@ -29,7 +29,7 @@ The Firestore `collection` is "flattened" and converted to a table with basic co}```-1. On your project dashboard, click [Connect](https://supabase.com/dashboard/project/_?showConnect=true)+1. On your project dashboard, click [Connect](/dashboard/project/_?showConnect=true)1. Under the Session pooler, click on the View parameters under the connect string. Replace the `Host` and `User` fields with the values shown.1. Enter the password you used when you created your Supabase project in the `password` entry in the `supabase-service.json` file.@@ -205,7 +205,7 @@ The result is two separate JSON files:## Resources-- [Supabase vs Firebase](https://supabase.com/alternatives/supabase-vs-firebase)+- [Supabase vs Firebase](/alternatives/supabase-vs-firebase)- [Firestore Storage Migration](/docs/guides/migrations/firebase-storage)- [Firebase Auth Migration](/docs/guides/migrations/firebase-auth)diff --git a/apps/docs/content/guides/platform/migrating-to-supabase/heroku.mdx b/apps/docs/content/guides/platform/migrating-to-supabase/heroku.mdxindex 9dbe07f8ab4..d7e813db436 100644--- a/apps/docs/content/guides/platform/migrating-to-supabase/heroku.mdx+++ b/apps/docs/content/guides/platform/migrating-to-supabase/heroku.mdx@@ -6,7 +6,7 @@ subtitle: 'Migrate your Heroku Postgres database to Supabase.'tocVideo: 'xsRhPMphtZ4'----Supabase is one of the best [free alternatives to Heroku Postgres](https://supabase.com/alternatives/supabase-vs-heroku-postgres). This guide shows how to migrate your Heroku Postgres database to Supabase. This migration requires the [pg_dump](https://www.postgresql.org/docs/current/app-pgdump.html) and [psql](https://www.postgresql.org/docs/current/app-psql.html) CLI tools, which are installed automatically as part of the complete Postgres installation package.+Supabase is one of the best [free alternatives to Heroku Postgres](/alternatives/supabase-vs-heroku-postgres). This guide shows how to migrate your Heroku Postgres database to Supabase. This migration requires the [pg_dump](https://www.postgresql.org/docs/current/app-pgdump.html) and [psql](https://www.postgresql.org/docs/current/app-psql.html) CLI tools, which are installed automatically as part of the complete Postgres installation package.Alternatively, use the [Heroku to Supabase migration tool](https://migrate.supabase.com/) to migrate in just a few clicks.@@ -34,9 +34,9 @@ Alternatively, use the [Heroku to Supabase migration tool](https://migrate.supab## Retrieve your Supabase connection string [#retrieve-supabase-connection-string]-1. If you're new to Supabase, [create a project](https://supabase.com/dashboard).-1. Get your project's Session pooler connection string from your project dashboard by clicking [Connect](https://supabase.com/dashboard/project/_?showConnect=true).-1. Replace [YOUR-PASSWORD] in the connection string with your database password. You can reset your database password on the [Database Settings page](https://supabase.com/dashboard/project/_/database/settings) if you do not have it.+1. If you're new to Supabase, [create a project](/dashboard).+1. Get your project's Session pooler connection string from your project dashboard by clicking [Connect](/dashboard/project/_?showConnect=true).+1. Replace [YOUR-PASSWORD] in the connection string with your database password. You can reset your database password on the [Database Settings page](/dashboard/project/_/database/settings) if you do not have it.## Export your Heroku database to a file [#export-heroku-database]diff --git a/apps/docs/content/guides/platform/migrating-to-supabase/mssql.mdx b/apps/docs/content/guides/platform/migrating-to-supabase/mssql.mdxindex 752d1ab6e5f..1b2feca670d 100644--- a/apps/docs/content/guides/platform/migrating-to-supabase/mssql.mdx+++ b/apps/docs/content/guides/platform/migrating-to-supabase/mssql.mdx@@ -19,10 +19,10 @@ Before you begin the migration, you need to collect essential information about## Retrieve your Supabase host [#retrieve-supabase-host]-1. If you're new to Supabase, [create a project](https://supabase.com/dashboard).- Make a note of your password, you will need this later. If you forget it, you can [reset it here](https://supabase.com/dashboard/project/_/database/settings).+1. If you're new to Supabase, [create a project](/dashboard).+ Make a note of your password, you will need this later. If you forget it, you can [reset it here](/dashboard/project/_/database/settings).-1. On your project dashboard, click [Connect](https://supabase.com/dashboard/project/_?showConnect=true)+1. On your project dashboard, click [Connect](/dashboard/project/_?showConnect=true)1. Under the Session pooler, click on the View parameters under the connect string. Note your Host (`$SUPABASE_HOST`).@@ -54,7 +54,7 @@ Alternatively, you can use [pgloader](https://github.com/dimitri/pgloader), a fl1. Install pgloader.2. Create a configuration file (e.g., config.load).- For your destination, use your Supabase connection string with `Use connection pooling` enabled, and the mode set to `Session`. You can get the string from your [`Database Settings`](https://supabase.com/dashboard/project/_/settings/general).+ For your destination, use your Supabase connection string with `Use connection pooling` enabled, and the mode set to `Session`. You can get the string from your [`Database Settings`](/dashboard/project/_/settings/general).```sqlLOAD DATABASEdiff --git a/apps/docs/content/guides/platform/migrating-to-supabase/mysql.mdx b/apps/docs/content/guides/platform/migrating-to-supabase/mysql.mdxindex 897a67d3447..e5b63842e1a 100644--- a/apps/docs/content/guides/platform/migrating-to-supabase/mysql.mdx+++ b/apps/docs/content/guides/platform/migrating-to-supabase/mysql.mdx@@ -20,10 +20,10 @@ Before you begin the migration, you need to collect essential information about## Retrieve your Supabase host [#retrieve-supabase-host]-1. If you're new to Supabase, [create a project](https://supabase.com/dashboard).- Make a note of your password, you will need this later. If you forget it, you can [reset it here](https://supabase.com/dashboard/project/_/database/settings).+1. If you're new to Supabase, [create a project](/dashboard).+ Make a note of your password, you will need this later. If you forget it, you can [reset it here](/dashboard/project/_/database/settings).-1. On your project dashboard, click [Connect](https://supabase.com/dashboard/project/_?showConnect=true)+1. On your project dashboard, click [Connect](/dashboard/project/_?showConnect=true)1. Under the Session pooler, click on the View parameters under the connect string. Note your Host (`$SUPABASE_HOST`).@@ -55,7 +55,7 @@ Alternatively, you can use [pgloader](https://github.com/dimitri/pgloader), a fl1. Install pgloader.2. Create a configuration file (e.g., config.load).- For your destination, use your Supabase connection string with `Use connection pooling` enabled, and the mode set to `Session`. You can get the string from your [`Database Settings`](https://supabase.com/dashboard/project/_/settings/general).+ For your destination, use your Supabase connection string with `Use connection pooling` enabled, and the mode set to `Session`. You can get the string from your [`Database Settings`](/dashboard/project/_/settings/general).```sqlload databasediff --git a/apps/docs/content/guides/platform/migrating-to-supabase/neon.mdx b/apps/docs/content/guides/platform/migrating-to-supabase/neon.mdxindex 2d44d310c29..08422bdd83c 100644--- a/apps/docs/content/guides/platform/migrating-to-supabase/neon.mdx+++ b/apps/docs/content/guides/platform/migrating-to-supabase/neon.mdx@@ -31,10 +31,10 @@ export OLD_DB_URL="postgresql://neondb_owner:xxxxxxxxxxxxxxx-random-word-yyyyyyy## Retrieve your Supabase connection string [#retrieve-supabase-connection-string]-1. If you're new to Supabase, [create a project](https://supabase.com/dashboard).- Make a note of your password, you will need this later. If you forget it, you can [reset it here](https://supabase.com/dashboard/project/_/database/settings).+1. If you're new to Supabase, [create a project](/dashboard).+ Make a note of your password, you will need this later. If you forget it, you can [reset it here](/dashboard/project/_/database/settings).-1. On your project dashboard, click [Connect](https://supabase.com/dashboard/project/_?showConnect=true)+1. On your project dashboard, click [Connect](/dashboard/project/_?showConnect=true)1. Under the Session pooler, click the **Copy** button to the right of your connection string to copy it to the clipboard.## Set your `NEW_DB_URL` environment variablediff --git a/apps/docs/content/guides/platform/migrating-to-supabase/postgres.mdx b/apps/docs/content/guides/platform/migrating-to-supabase/postgres.mdxindex 5a85e18e5fe..5774d72dca6 100644--- a/apps/docs/content/guides/platform/migrating-to-supabase/postgres.mdx+++ b/apps/docs/content/guides/platform/migrating-to-supabase/postgres.mdx@@ -22,10 +22,10 @@ Example:## Retrieve your Supabase connection string [#retrieve-supabase-connection-string]-1. If you're new to Supabase, [create a project](https://supabase.com/dashboard).- Make a note of your password, you will need this later. If you forget it, you can [reset it here](https://supabase.com/dashboard/project/_/database/settings).+1. If you're new to Supabase, [create a project](/dashboard).+ Make a note of your password, you will need this later. If you forget it, you can [reset it here](/dashboard/project/_/database/settings).-1. On your project dashboard, click [Connect](https://supabase.com/dashboard/project/_?showConnect=true)+1. On your project dashboard, click [Connect](/dashboard/project/_?showConnect=true)1. Under Session pooler, Copy the connection string and replace the password placeholder with your database password.<Admonition type="note">diff --git a/apps/docs/content/guides/platform/migrating-to-supabase/render.mdx b/apps/docs/content/guides/platform/migrating-to-supabase/render.mdxindex b7394a92dc6..c44934d64bf 100644--- a/apps/docs/content/guides/platform/migrating-to-supabase/render.mdx+++ b/apps/docs/content/guides/platform/migrating-to-supabase/render.mdx@@ -26,10 +26,10 @@ Example:## Retrieve your Supabase connection string [#retrieve-supabase-connection-string]-1. If you're new to Supabase, [create a project](https://supabase.com/dashboard).- Make a note of your password, you will need this later. If you forget it, you can [reset it here](https://supabase.com/dashboard/project/_/database/settings).+1. If you're new to Supabase, [create a project](/dashboard).+ Make a note of your password, you will need this later. If you forget it, you can [reset it here](/dashboard/project/_/database/settings).-1. On your project dashboard, click [Connect](https://supabase.com/dashboard/project/_?showConnect=true)+1. On your project dashboard, click [Connect](/dashboard/project/_?showConnect=true)1. Under Session pooler, Copy the connection string and replace the password placeholder with your database password.<Admonition type="note">diff --git a/apps/docs/content/guides/platform/migrating-to-supabase/vercel-postgres.mdx b/apps/docs/content/guides/platform/migrating-to-supabase/vercel-postgres.mdxindex b71a856c813..9c269ba4b7c 100644--- a/apps/docs/content/guides/platform/migrating-to-supabase/vercel-postgres.mdx+++ b/apps/docs/content/guides/platform/migrating-to-supabase/vercel-postgres.mdx@@ -38,10 +38,10 @@ export OLD_DB_URL="postgres://default:[email protected]## Retrieve your Supabase connection string [#retrieve-supabase-connection-string]-1. If you're new to Supabase, [create a project](https://supabase.com/dashboard).- Make a note of your password, you will need this later. If you forget it, you can [reset it here](https://supabase.com/dashboard/project/_/database/settings).+1. If you're new to Supabase, [create a project](/dashboard).+ Make a note of your password, you will need this later. If you forget it, you can [reset it here](/dashboard/project/_/database/settings).-1. On your project dashboard, click [Connect](https://supabase.com/dashboard/project/_?showConnect=true)+1. On your project dashboard, click [Connect](/dashboard/project/_?showConnect=true)1. Under the Session pooler, click the **Copy** button to the right of your connection string to copy it to the clipboard.## Set your `NEW_DB_URL` environment variablediff --git a/apps/docs/content/guides/platform/migrating-within-supabase/backup-restore.mdx b/apps/docs/content/guides/platform/migrating-within-supabase/backup-restore.mdxindex f52dcb143e6..41dcab252ec 100644--- a/apps/docs/content/guides/platform/migrating-within-supabase/backup-restore.mdx+++ b/apps/docs/content/guides/platform/migrating-within-supabase/backup-restore.mdx@@ -21,7 +21,7 @@ breadcrumb: 'Migrations'<StepHikeCompact.Step step={3}><StepHikeCompact.Details title="Get the new database connection string" fullWidth>- On your project dashboard, click [Connect](https://supabase.com/dashboard/project/_?showConnect=true).+ On your project dashboard, click [Connect](/dashboard/project/_?showConnect=true).<Admonition type="note">diff --git a/apps/docs/content/guides/platform/migrating-within-supabase/dashboard-restore.mdx b/apps/docs/content/guides/platform/migrating-within-supabase/dashboard-restore.mdxindex d781a0e9c2c..3a10343abb4 100644--- a/apps/docs/content/guides/platform/migrating-within-supabase/dashboard-restore.mdx+++ b/apps/docs/content/guides/platform/migrating-within-supabase/dashboard-restore.mdx@@ -64,7 +64,7 @@ Here are some things that are not stored directly in your database and will requ<StepHikeCompact><StepHikeCompact.Step step={1}><StepHikeCompact.Details title="Get the new database connection string" fullWidth>- On your project dashboard, click [Connect](https://supabase.com/dashboard/project/_?showConnect=true).+ On your project dashboard, click [Connect](/dashboard/project/_?showConnect=true).<Admonition type="note">@@ -91,7 +91,7 @@ Here are some things that are not stored directly in your database and will requIt can take a few minutes for the database password reset to take effect. Especially if multiple password resets are done.</Admonition>- Reset the password in the [Database Settings](https://supabase.com/dashboard/project/_/database/settings).+ Reset the password in the [Database Settings](/dashboard/project/_/database/settings).Replace ```[YOUR-PASSWORD]``` in the connection string with the database password.diff --git a/apps/docs/content/guides/platform/network-restrictions.mdx b/apps/docs/content/guides/platform/network-restrictions.mdxindex 4f94ba2a33a..9785743fb4b 100644--- a/apps/docs/content/guides/platform/network-restrictions.mdx+++ b/apps/docs/content/guides/platform/network-restrictions.mdx@@ -12,11 +12,11 @@ If you can't find the Network Restrictions section at the bottom of your [DatabaEach Supabase project comes with configurable restrictions on the IP ranges that are allowed to connect to Postgres and its pooler ("your database"). These restrictions are enforced before traffic reaches your database. If a connection is not restricted by IP, it still needs to authenticate successfully with valid database credentials.-If direct connections to your database [resolve to a IPv6 address](https://supabase.com/dashboard/project/_/database/settings), you need to add both IPv4 and IPv6 CIDRs to the list of allowed CIDRs. Network Restrictions will be applied to all database connection routes, whether pooled or direct. You will need to add both the IPv4 and IPv6 networks you want to allow. There are two exceptions: If you have been granted an extension on the IPv6 migration OR if you have purchased the [IPv4 add-on](https://supabase.com/dashboard/project/_/settings/addons), you need only add IPv4 CIDRs.+If direct connections to your database [resolve to a IPv6 address](/dashboard/project/_/database/settings), you need to add both IPv4 and IPv6 CIDRs to the list of allowed CIDRs. Network Restrictions will be applied to all database connection routes, whether pooled or direct. You will need to add both the IPv4 and IPv6 networks you want to allow. There are two exceptions: If you have been granted an extension on the IPv6 migration OR if you have purchased the [IPv4 add-on](/dashboard/project/_/settings/addons), you need only add IPv4 CIDRs.## To get started via the Dashboard:-Network restrictions can be configured in the [Database Settings](https://supabase.com/dashboard/project/_/database/settings) page. Ensure that you have [Owner or Admin permissions](/docs/guides/platform/access-control#manage-team-members) for the project that you are enabling network restrictions.+Network restrictions can be configured in the [Database Settings](/dashboard/project/_/database/settings) page. Ensure that you have [Owner or Admin permissions](/docs/guides/platform/access-control#manage-team-members) for the project that you are enabling network restrictions.## To get started via the Management API:@@ -98,5 +98,5 @@ Restrictions applied successfully: true## Limitations-- The current iteration of Network Restrictions applies to connections to Postgres and the database pooler; it doesn't currently apply to APIs offered over HTTPS (e.g., PostgREST, Storage, and Auth). This includes using Supabase client libraries like [supabase-js](https://supabase.com/docs/reference/javascript).-- If network restrictions are enabled, direct access to your database from Edge Functions will always be blocked. Using the Supabase client library [supabase-js](https://supabase.com/docs/reference/javascript) is recommended to connect to a database with network restrictions from Edge Functions.+- The current iteration of Network Restrictions applies to connections to Postgres and the database pooler; it doesn't currently apply to APIs offered over HTTPS (e.g., PostgREST, Storage, and Auth). This includes using Supabase client libraries like [supabase-js](/docs/reference/javascript).+- If network restrictions are enabled, direct access to your database from Edge Functions will always be blocked. Using the Supabase client library [supabase-js](/docs/reference/javascript) is recommended to connect to a database with network restrictions from Edge Functions.diff --git a/apps/docs/content/guides/platform/performance.mdx b/apps/docs/content/guides/platform/performance.mdxindex 46c2108da60..fbd2666be1d 100644--- a/apps/docs/content/guides/platform/performance.mdx+++ b/apps/docs/content/guides/platform/performance.mdx@@ -23,7 +23,7 @@ FATAL: remaining connection slots are reserved for non-replication superuser conIn such a scenario, you can consider:-- [upgrading to a larger compute add-on](https://supabase.com/dashboard/project/_/settings/compute-and-disk)+- [upgrading to a larger compute add-on](/dashboard/project/_/settings/compute-and-disk)- configuring your clients to use fewer connections- manually configuring the database for a higher number of connectionsdiff --git a/apps/docs/content/guides/platform/privatelink.mdx b/apps/docs/content/guides/platform/privatelink.mdxindex 9cd13f47579..a95717b01f9 100644--- a/apps/docs/content/guides/platform/privatelink.mdx+++ b/apps/docs/content/guides/platform/privatelink.mdx@@ -6,7 +6,7 @@ description: 'Secure private network connectivity to your Supabase database usin<Admonition type="note">-PrivateLink is currently in alpha and available exclusively to Enterprise customers. Contact your account manager or [reach out to our team](https://supabase.com/contact/enterprise) to enable this feature.+PrivateLink is currently in alpha and available exclusively to Enterprise customers. Contact your account manager or [reach out to our team](/contact/enterprise) to enable this feature.</Admonition>@@ -39,7 +39,7 @@ To use PrivateLink with your Supabase project:#### Step 1: Contact Supabase support-Reach out to your Enterprise account manager or [contact our team](https://supabase.com/contact/enterprise) to initiate PrivateLink setup. During this initial contact, be prepared to provide:+Reach out to your Enterprise account manager or [contact our team](/contact/enterprise) to initiate PrivateLink setup. During this initial contact, be prepared to provide:- Your Supabase organization slug- The specific projects you want to enable PrivateLink for (optional)@@ -168,6 +168,6 @@ The PrivateLink endpoint is a layer 3 solution so behaves like a standard Postgr## Next steps-Ready to enhance your database security with PrivateLink? [Contact our Enterprise team](https://supabase.com/contact/enterprise) to discuss your requirements and begin the setup process.+Ready to enhance your database security with PrivateLink? [Contact our Enterprise team](/contact/enterprise) to discuss your requirements and begin the setup process.Our support team will guide you through the configuration and ensure your private database connectivity meets your security and performance requirements.diff --git a/apps/docs/content/guides/platform/project-transfer.mdx b/apps/docs/content/guides/platform/project-transfer.mdxindex d609746a492..14a2429e6dd 100644--- a/apps/docs/content/guides/platform/project-transfer.mdx+++ b/apps/docs/content/guides/platform/project-transfer.mdx@@ -4,7 +4,7 @@ title: 'Project Transfers'description: 'Transfer a project to another organization.'----You can freely transfer projects between different organizations. Head to your [projects' general settings](https://supabase.com/dashboard/project/_/settings/general) to initiate a project transfer.+You can freely transfer projects between different organizations. Head to your [projects' general settings](/dashboard/project/_/settings/general) to initiate a project transfer.<Imagealt="Project Transfer: General Settings"@@ -33,7 +33,7 @@ Target organization - the organization you want to move the project to- You need to be the owner of the source organization.- You need to be at least a member of the target organization you want to move the project to.-- Projects with support tier add-ons cannot be transferred at this point. [Open a support ticket](https://supabase.com/dashboard/support/new?category=billing&subject=Transfer%20project).+- Projects with support tier add-ons cannot be transferred at this point. [Open a support ticket](/dashboard/support/new?category=billing&subject=Transfer%20project).## Usage-billing and project add-onsdiff --git a/apps/docs/content/guides/platform/read-replicas.mdx b/apps/docs/content/guides/platform/read-replicas.mdxindex e460d4a6e53..a3ed75d7db4 100644--- a/apps/docs/content/guides/platform/read-replicas.mdx+++ b/apps/docs/content/guides/platform/read-replicas.mdx@@ -104,7 +104,7 @@ Read Replicas offer the following features:Each Read Replica has its own dedicated database and API endpoints.-- Find the database endpoint on the projects [**Connect** panel](https://supabase.com/dashboard/project/_?showConnect=true)+- Find the database endpoint on the projects [**Connect** panel](/dashboard/project/_?showConnect=true)- Find the API endpoint on the [API Settings page](/dashboard/project/_/settings/api) under **Project URL**Read Replicas only support `GET` requests from the [REST API](/docs/guides/api). If you are calling a read-only Postgres function through the REST API, make sure to set the `get: true` [option](/docs/reference/javascript/rpc?queryGroups=example&example=call-a-read-only-postgres-function).diff --git a/apps/docs/content/guides/platform/ssl-enforcement.mdx b/apps/docs/content/guides/platform/ssl-enforcement.mdxindex f5eff76ba6f..ff8997c26f6 100644--- a/apps/docs/content/guides/platform/ssl-enforcement.mdx+++ b/apps/docs/content/guides/platform/ssl-enforcement.mdx@@ -9,14 +9,14 @@ Disabling SSL enforcement only applies to connections to Postgres and Supavisor<Admonition type="note">-Projects need to be at least on Postgres 13.3.0 to enable SSL enforcement. You can find the Postgres version of your project in the [Infrastructure Settings page](https://supabase.com/dashboard/project/_/settings/infrastructure). If your project is on an older version, you will need to+Projects need to be at least on Postgres 13.3.0 to enable SSL enforcement. You can find the Postgres version of your project in the [Infrastructure Settings page](/dashboard/project/_/settings/infrastructure). If your project is on an older version, you will need to[upgrade](/docs/guides/platform/migrating-and-upgrading-projects#upgrade-your-project) to use this feature.</Admonition>## Manage SSL enforcement via the dashboard-SSL enforcement can be configured via the "Enforce SSL on incoming connections" setting under the SSL Configuration section in [Database Settings page](https://supabase.com/dashboard/project/_/database/settings) of the dashboard.+SSL enforcement can be configured via the "Enforce SSL on incoming connections" setting under the SSL Configuration section in [Database Settings page](/dashboard/project/_/database/settings) of the dashboard.## Manage SSL enforcement via the Management APIdiff --git a/apps/docs/content/guides/platform/sso.mdx b/apps/docs/content/guides/platform/sso.mdxindex 6553a1f39f2..2a32952fc1f 100644--- a/apps/docs/content/guides/platform/sso.mdx+++ b/apps/docs/content/guides/platform/sso.mdx@@ -13,7 +13,7 @@ Supabase offers single sign-on (SSO) as a login option to provide additional acc<Admonition type="note">-Supabase currently provides SAML SSO for [Team and Enterprise Plan customers](https://supabase.com/pricing). If you are an existing Team or Enterprise Plan customer, continue with the setup below.+Supabase currently provides SAML SSO for [Team and Enterprise Plan customers](/pricing). If you are an existing Team or Enterprise Plan customer, continue with the setup below.</Admonition>@@ -25,7 +25,7 @@ Supabase supports practically all identity providers that support the SAML 2.0 S- [Azure Active Directory](/docs/guides/platform/sso/azure)- [Okta](/docs/guides/platform/sso/okta)-Once configured, you can update your settings anytime via the [SSO tab](https://supabase.com/dashboard/org/_/sso) under **Organization Settings**.+Once configured, you can update your settings anytime via the [SSO tab](/dashboard/org/_/sso) under **Organization Settings**.diff --git a/apps/docs/content/guides/platform/sso/azure.mdx b/apps/docs/content/guides/platform/sso/azure.mdxindex 1ced76f50dd..e914ce0658a 100644--- a/apps/docs/content/guides/platform/sso/azure.mdx+++ b/apps/docs/content/guides/platform/sso/azure.mdx@@ -5,7 +5,7 @@ description: 'Configure single sign-on with Azure AD (Microsoft Entra).'<Admonition type="note">-This feature is only available on the [Team and Enterprise Plans](https://supabase.com/pricing). If you are an existing Team or Enterprise Plan customer, continue with the setup below.+This feature is only available on the [Team and Enterprise Plans](/pricing). If you are an existing Team or Enterprise Plan customer, continue with the setup below.</Admonition>@@ -89,7 +89,7 @@ Save the link under **App Federation Metadata URL** in \*section 3 **SAML Certif## Step 8: Enable SSO in the Dashboard [#dashboard-enable-sso]-1. Visit the [SSO tab](https://supabase.com/dashboard/org/_/sso) under the Organization Settings page. +1. Visit the [SSO tab](/dashboard/org/_/sso) under the Organization Settings page. 2. Toggle **Enable Single Sign-On** to begin configuration. Once enabled, the configuration form appears. @@ -148,6 +148,6 @@ Visit [access-control](/docs/guides/platform/access-control) documentation for dWhen you click **Save changes**, your new SSO configuration is applied immediately. From that moment, any user with an email address matching one of your configured domains who visits your organization's sign-in URL will be routed through the SSO flow.-We recommend asking a few users to test signing in via their Azure AD account. They can do this by entering their email address on the [Sign in with SSO](https://supabase.com/dashboard/sign-in-sso) page.+We recommend asking a few users to test signing in via their Azure AD account. They can do this by entering their email address on the [Sign in with SSO](/dashboard/sign-in-sso) page.If SSO sign-in doesn't work as expected, contact your Supabase support representative for assistance.diff --git a/apps/docs/content/guides/platform/sso/gsuite.mdx b/apps/docs/content/guides/platform/sso/gsuite.mdxindex cfa29603485..69dbbc86bd4 100644--- a/apps/docs/content/guides/platform/sso/gsuite.mdx+++ b/apps/docs/content/guides/platform/sso/gsuite.mdx@@ -5,7 +5,7 @@ description: 'Configure single sign-on with Google Workspace (G Suite).'<Admonition type="note">-This feature is only available on the [Team and Enterprise Plans](https://supabase.com/pricing). If you are an existing Team or Enterprise Plan customer, continue with the setup below.+This feature is only available on the [Team and Enterprise Plans](/pricing). If you are an existing Team or Enterprise Plan customer, continue with the setup below.</Admonition>@@ -81,7 +81,7 @@ Changes from this step sometimes take a while to propagate across Google's syste## Step 8: Enable SSO in the Dashboard [#dashboard-enable-sso]-1. Visit the [SSO tab](https://supabase.com/dashboard/org/_/sso) under the Organization Settings page. +1. Visit the [SSO tab](/dashboard/org/_/sso) under the Organization Settings page. 2. Toggle **Enable Single Sign-On** to begin configuration. Once enabled, the configuration form appears. @@ -146,6 +146,6 @@ Visit [access-control](/docs/guides/platform/access-control) documentation for dWhen you click **Save changes**, your new SSO configuration is applied immediately. From that moment, any user with an email address matching one of your configured domains who visits your organization's sign-in URL will be routed through the SSO flow.-We recommend asking a few users to test signing in via their Google Workspace account. They can do this by entering their email address on the [Sign in with SSO](https://supabase.com/dashboard/sign-in-sso) page.+We recommend asking a few users to test signing in via their Google Workspace account. They can do this by entering their email address on the [Sign in with SSO](/dashboard/sign-in-sso) page.If SSO sign-in doesn't work as expected, contact your Supabase support representative for assistance.diff --git a/apps/docs/content/guides/platform/sso/okta.mdx b/apps/docs/content/guides/platform/sso/okta.mdxindex 22bf180e987..3b3aa271edb 100644--- a/apps/docs/content/guides/platform/sso/okta.mdx+++ b/apps/docs/content/guides/platform/sso/okta.mdx@@ -5,7 +5,7 @@ description: 'Configure single sign-on with Okta.'<Admonition type="note">-This feature is only available on the [Team and Enterprise Plans](https://supabase.com/pricing). If you are an existing Team or Enterprise Plan customer, continue with the setup below.+This feature is only available on the [Team and Enterprise Plans](/pricing). If you are an existing Team or Enterprise Plan customer, continue with the setup below.</Admonition>@@ -73,7 +73,7 @@ The link usually has this structure: `https://<okta-org>.okta.com/apps/<app-id>/## Step 7: Enable SSO in the Dashboard [#dashboard-enable-sso]-1. Visit the [SSO tab](https://supabase.com/dashboard/org/_/sso) under the Organization Settings page. +1. Visit the [SSO tab](/dashboard/org/_/sso) under the Organization Settings page. 2. Toggle **Enable Single Sign-On** to begin configuration. Once enabled, the configuration form appears. @@ -138,6 +138,6 @@ Visit [access-control](/docs/guides/platform/access-control) documentation for dWhen you click **Save changes**, your new SSO configuration is applied immediately. From that moment, any user with an email address matching one of your configured domains who visits your organization's sign-in URL will be routed through the SSO flow.-We recommend asking a few users to test signing in via their Okta account. They can do this by entering their email address on the [Sign in with SSO](https://supabase.com/dashboard/sign-in-sso) page.+We recommend asking a few users to test signing in via their Okta account. They can do this by entering their email address on the [Sign in with SSO](/dashboard/sign-in-sso) page.If SSO sign-in doesn't work as expected, contact your Supabase support representative for assistance.diff --git a/apps/docs/content/guides/platform/upgrading.mdx b/apps/docs/content/guides/platform/upgrading.mdxindex 5d001b186ba..ad0270dbc29 100644--- a/apps/docs/content/guides/platform/upgrading.mdx+++ b/apps/docs/content/guides/platform/upgrading.mdx@@ -31,7 +31,7 @@ For security purposes, passwords for custom roles are not backed up and, followiIn-place upgrades uses `pg_upgrade`. For projects larger than 1GB, this method is generally faster than a pause and restore cycle, and the speed advantage grows with the size of the database.1. Plan for an appropriate downtime window, and ensure you have reviewed the [caveats](#caveats) section of this document before executing the upgrade.-1. Use the "Upgrade project" button on the [Infrastructure](https://supabase.com/dashboard/project/_/settings/infrastructure) section of your dashboard.+1. Use the "Upgrade project" button on the [Infrastructure](/dashboard/project/_/settings/infrastructure) section of your dashboard.Additionally, if the upgrade should fail, your original database would be brought back up online and be able to service requests.@@ -47,7 +47,7 @@ We recommend using the In-place upgrade method, as it is faster, and more reliabWhen you pause and restore a project, the restored database includes the latest features. This method _does_ include downtime, so be aware that your project will be inaccessible for a short period of time.-1. On the [General Settings](https://supabase.com/dashboard/project/_/settings/general) page in the Dashboard, click **Pause project**. You will be redirected to the home screen as your project is pausing. This process can take several minutes.+1. On the [General Settings](/dashboard/project/_/settings/general) page in the Dashboard, click **Pause project**. You will be redirected to the home screen as your project is pausing. This process can take several minutes.1. After your project is paused, click **Restore project**. The restoration can take several minutes depending on how much data your database has. You will receive an email once the restoration is complete.Note that a pause + restore upgrade involves tearing down your project's resources before bringing them back up again. If the restore process should fail, manual intervention from Supabase support will be required to bring your project back online.@@ -62,7 +62,7 @@ If you are using logical replication, the replication slots will not be preserve### Breaking changes-Newer versions of services can break functionality or change the performance characteristics you rely on. If your project is eligible for an upgrade, you will be able to find your current service versions from within [the Supabase dashboard](https://supabase.com/dashboard/project/_/settings/infrastructure).+Newer versions of services can break functionality or change the performance characteristics you rely on. If your project is eligible for an upgrade, you will be able to find your current service versions from within [the Supabase dashboard](/dashboard/project/_/settings/infrastructure).Breaking changes are generally only present in major version upgrades of Postgres and PostgREST. You can find their respective release notes at:@@ -77,7 +77,7 @@ Starting from 2024-06-24, when a project is paused, users then have a 90-day winThe 90-day window allows Supabase to introduce platform changes that may not be backwards compatible with older backups. Unlike active projects, static backups can't be updated to accommodate such changes.-During the 90-day restore window a paused project can be restored to the platform with a single button click from [Studio's dashboard page](https://supabase.com/dashboard/projects).+During the 90-day restore window a paused project can be restored to the platform with a single button click from [Studio's dashboard page](/dashboard/projects).<Imagezoomablediff --git a/apps/docs/content/guides/platform/your-monthly-invoice.mdx b/apps/docs/content/guides/platform/your-monthly-invoice.mdxindex 930ff59f419..2388fc87db1 100644--- a/apps/docs/content/guides/platform/your-monthly-invoice.mdx+++ b/apps/docs/content/guides/platform/your-monthly-invoice.mdx@@ -66,8 +66,8 @@ Monthly invoices are auto-collected by charging the payment method marked as "acIf your payment fails, Supabase retries the charge several times. We send you a Payment Failure email with the reason for the failure. Follow the steps outlined in this email. You can manually trigger a charge at any time via- the link in the Payment Failure email-- the "Pay Now" button on the [organization's invoices page](https://supabase.com/dashboard/org/_/billing#invoices)+- the "Pay Now" button on the [organization's invoices page](/dashboard/org/_/billing#invoices)## Where to find your invoices-Your invoice is sent to you via email. You can also find your invoices on the [organization's invoices page](https://supabase.com/dashboard/org/_/billing#invoices).+Your invoice is sent to you via email. You can also find your invoices on the [organization's invoices page](/dashboard/org/_/billing#invoices).diff --git a/apps/docs/content/guides/realtime/authorization.mdx b/apps/docs/content/guides/realtime/authorization.mdxindex 1ba5a3d45f3..df978682739 100644--- a/apps/docs/content/guides/realtime/authorization.mdx+++ b/apps/docs/content/guides/realtime/authorization.mdx@@ -20,7 +20,7 @@ Realtime Authorization is in Public Beta. To use Authorization for your Realtime<Admonition type="note">-To enforce private channels you need to disable the 'Allow public access' setting in [Realtime Settings](https://supabase.com/dashboard/project/_?featurePreviewModal=supabase-ui-realtime-settings)+To enforce private channels you need to disable the 'Allow public access' setting in [Realtime Settings](/dashboard/project/_?featurePreviewModal=supabase-ui-realtime-settings)</Admonition>diff --git a/apps/docs/content/guides/realtime/benchmarks.mdx b/apps/docs/content/guides/realtime/benchmarks.mdxindex a33a83f75e3..170609d4848 100644--- a/apps/docs/content/guides/realtime/benchmarks.mdx+++ b/apps/docs/content/guides/realtime/benchmarks.mdx@@ -174,4 +174,4 @@ Enter your database settings to estimate the maximum throughput for your instancDon't forget to run your own benchmarks to make sure that the performance is acceptable for your use case.-Supabase continues to make improvements to Realtime's Postgres Changes. If you are uncertain about your use case performance, reach out using the [Support Form](https://supabase.com/dashboard/support/new). The support team can advise on the best solution for each use-case.+Supabase continues to make improvements to Realtime's Postgres Changes. If you are uncertain about your use case performance, reach out using the [Support Form](/dashboard/support/new). The support team can advise on the best solution for each use-case.diff --git a/apps/docs/content/guides/realtime/broadcast.mdx b/apps/docs/content/guides/realtime/broadcast.mdxindex 93791899048..f7fd0d6292c 100644--- a/apps/docs/content/guides/realtime/broadcast.mdx+++ b/apps/docs/content/guides/realtime/broadcast.mdx@@ -12,7 +12,7 @@ You can use the Supabase client libraries to receive Broadcast messages.### Initialize the client-Go to your Supabase project's [API Settings](https://supabase.com/dashboard/project/_/settings/api) and grab the `URL` and `anon` public API key.+Go to your Supabase project's [API Settings](/dashboard/project/_/settings/api) and grab the `URL` and `anon` public API key.<Tabsscrollablediff --git a/apps/docs/content/guides/realtime/concepts.mdx b/apps/docs/content/guides/realtime/concepts.mdxindex 558cd8ba9eb..a5e9de10c62 100644--- a/apps/docs/content/guides/realtime/concepts.mdx+++ b/apps/docs/content/guides/realtime/concepts.mdx@@ -57,7 +57,7 @@ roomOne.send({Other clients can receive the message in real-time by subscribing to the Channel with topic `room-one`. These clients continue to receive messages as long as they are subscribed and connected to the same Channel topic.-You can also use [Broadcast using the REST API](https://supabase.com/docs/guides/realtime/broadcast#broadcast-using-the-rest-api) and [Broadcast using the Database](/docs/guides/realtime/broadcast#broadcast-using-the-database) to send messages to a Channel which allows you to do more advanced use-cases.+You can also use [Broadcast using the REST API](/docs/guides/realtime/broadcast#broadcast-using-the-rest-api) and [Broadcast using the Database](/docs/guides/realtime/broadcast#broadcast-using-the-database) to send messages to a Channel which allows you to do more advanced use-cases.An example use-case is sharing a user's cursor position with other clients in an online game.diff --git a/apps/docs/content/guides/realtime/postgres-changes.mdx b/apps/docs/content/guides/realtime/postgres-changes.mdxindex d2b35ac32e6..81070362762 100644--- a/apps/docs/content/guides/realtime/postgres-changes.mdx+++ b/apps/docs/content/guides/realtime/postgres-changes.mdx@@ -89,7 +89,7 @@ In this example we'll set up a database table, secure it with Row Level Security<StepHikeCompact.Details title="Enable Postgres replication">- Go to your project's [Publications settings](https://supabase.com/dashboard/project/_/database/publications), and under `supabase_realtime`, toggle on the tables you want to listen to.+ Go to your project's [Publications settings](/dashboard/project/_/database/publications), and under `supabase_realtime`, toggle on the tables you want to listen to.Alternatively, add tables to the `supabase_realtime` publication by running the given SQL:@@ -2019,4 +2019,4 @@ Enter your database settings to estimate the maximum throughput for your instancDon't forget to run your own benchmarks to make sure that the performance is acceptable for your use case.-We are making many improvements to Realtime's Postgres Changes. If you are uncertain about the performance of your use case, reach out using [Support Form](https://supabase.com/dashboard/support/new) and we will be happy to help you. We have a team of engineers that can advise you on the best solution for your use-case.+We are making many improvements to Realtime's Postgres Changes. If you are uncertain about the performance of your use case, reach out using [Support Form](/dashboard/support/new) and we will be happy to help you. We have a team of engineers that can advise you on the best solution for your use-case.diff --git a/apps/docs/content/guides/realtime/presence.mdx b/apps/docs/content/guides/realtime/presence.mdxindex 86b474cc665..46abb1b9070 100644--- a/apps/docs/content/guides/realtime/presence.mdx+++ b/apps/docs/content/guides/realtime/presence.mdx@@ -12,7 +12,7 @@ You can use the Supabase client libraries to track Presence state between users.### Initialize the client-Go to your Supabase project's [API Settings](https://supabase.com/dashboard/project/_/settings/api) and grab the `URL` and `anon` public API key.+Go to your Supabase project's [API Settings](/dashboard/project/_/settings/api) and grab the `URL` and `anon` public API key.<Tabsscrollablediff --git a/apps/docs/content/guides/realtime/protocol.mdx b/apps/docs/content/guides/realtime/protocol.mdxindex fbb83572eb9..a60ecf111ba 100644--- a/apps/docs/content/guides/realtime/protocol.mdx+++ b/apps/docs/content/guides/realtime/protocol.mdx@@ -111,7 +111,7 @@ This is the initial message required to join a channel. The client sends this me- `event`: Database change event to listen to, accepts `INSERT`, `UPDATE`, `DELETE`, or `*` to listen to all events.- `schema`: Schema of the table to listen to, accepts `*` wildcard to listen to all schemas- `table`: Table of the database to listen to, accepts `*` wildcard to listen to all tables- - `filter`: Filter to be used when pulling changes from database. Read more about filters in the usage docs for [Postgres Changes](https://supabase.com/docs/guides/realtime/postgres-changes?queryGroups=language&language=js#filtering-for-specific-changes)+ - `filter`: Filter to be used when pulling changes from database. Read more about filters in the usage docs for [Postgres Changes](/docs/guides/realtime/postgres-changes?queryGroups=language&language=js#filtering-for-specific-changes)- `access_token`: Optional access token for authentication, if not provided, the server will use the default access token.#### Payload of phx_closediff --git a/apps/docs/content/guides/realtime/quotas.mdx b/apps/docs/content/guides/realtime/quotas.mdxindex c68c5b4b435..a7b4a7e6d93 100644--- a/apps/docs/content/guides/realtime/quotas.mdx+++ b/apps/docs/content/guides/realtime/quotas.mdx@@ -9,7 +9,7 @@ Our cluster supports millions of concurrent connections and message throughput f<Admonition type="note">-Upgrade your plan to increase your quotas. Without a spend cap, or on an Enterprise plan, some quotas are still in place to protect budgets. All quotas are configurable per project. [Contact support](https://supabase.com/dashboard/support/new) if you need your quotas increased.+Upgrade your plan to increase your quotas. Without a spend cap, or on an Enterprise plan, some quotas are still in place to protect budgets. All quotas are configurable per project. [Contact support](/dashboard/support/new) if you need your quotas increased.</Admonition>@@ -26,13 +26,13 @@ Upgrade your plan to increase your quotas. Without a spend cap, or on an Enterpr| **Broadcast payload size KB** | 256 | 3,000 | 3,000 | 3,000 | 3,000+ || **Postgres change payload size KB ([**read more**](#postgres-changes-payload-quota))** | 1,024 | 1,024 | 1,024 | 1,024 | 1,024+ |-Beyond the Free and Pro Plan you can customize your quotas by [contacting support](https://supabase.com/dashboard/support/new).+Beyond the Free and Pro Plan you can customize your quotas by [contacting support](/dashboard/support/new).## Quota errorsWhen you exceed a quota, errors will appear in the backend logs and client-side messages in the WebSocket connection.-- **Logs**: check the [Realtime logs](https://supabase.com/dashboard/project/_/database/realtime-logs) inside your project Dashboard.+- **Logs**: check the [Realtime logs](/dashboard/project/_/database/realtime-logs) inside your project Dashboard.- **WebSocket errors**: Use your browser's developer tools to find the WebSocket initiation request and view individual messages.<Admonition type="tip" label="Realtime Inspector">diff --git a/apps/docs/content/guides/security.mdx b/apps/docs/content/guides/security.mdxindex f798002bb9c..d50952e7674 100644--- a/apps/docs/content/guides/security.mdx+++ b/apps/docs/content/guides/security.mdx@@ -19,7 +19,7 @@ The [HIPAA Compliance Guide](/docs/guides/security/hipaa-compliance) explains SuAs a hosted platform, Supabase provides additional security controls to further enhance the security posture depending on organizations' own requirements or obligations.-These can be found under the [dedicated security page](https://supabase.com/dashboard/org/_/security) under organization settings. And are described in greater detail [here](/docs/guides/security/platform-security).+These can be found under the [dedicated security page](/dashboard/org/_/security) under organization settings. And are described in greater detail [here](/docs/guides/security/platform-security).# Product configurationdiff --git a/apps/docs/content/guides/security/platform-security.mdx b/apps/docs/content/guides/security/platform-security.mdxindex 8fee881ff3f..2ca90db2263 100644--- a/apps/docs/content/guides/security/platform-security.mdx+++ b/apps/docs/content/guides/security/platform-security.mdx@@ -6,14 +6,14 @@ description: 'Supabase provides a secure yet flexible platform. Here is how to aThe Supabase hosted platform provides a secure by default configuration. Some organizations may however require further security controls to meet their own security policies or compliance requirements.-Access to additional security controls can be found under the [security tab](https://supabase.com/dashboard/org/_/security) for organizations.+Access to additional security controls can be found under the [security tab](/dashboard/org/_/security) for organizations.## Available controls<Admonition type="note">Additional security controls are under active development. Any changes will be published here and-in our [changelog](https://supabase.com/changelog).+in our [changelog](/changelog).</Admonition>diff --git a/apps/docs/content/guides/security/security-testing.mdx b/apps/docs/content/guides/security/security-testing.mdxindex 9a4584c5514..01bb4b92656 100644--- a/apps/docs/content/guides/security/security-testing.mdx+++ b/apps/docs/content/guides/security/security-testing.mdx@@ -6,7 +6,7 @@ description: 'Supabase provides a secure yet flexible platform. You may wish toSupabase customer support policy for penetration testing-Customers of Supabase are permitted to carry out security assessments or penetration tests of their hosted Supabase project components. This testing may be carried out without prior approval for the customer services listed under [permitted services](#permitted-services). Supabase does not permit hosting security tooling that may be perceived as malicious or part of a campaign against Supabase customers or external services. This section is covered by the [Supabase Acceptable Use Policy](https://supabase.com/aup) (AUP).+Customers of Supabase are permitted to carry out security assessments or penetration tests of their hosted Supabase project components. This testing may be carried out without prior approval for the customer services listed under [permitted services](#permitted-services). Supabase does not permit hosting security tooling that may be perceived as malicious or part of a campaign against Supabase customers or external services. This section is covered by the [Supabase Acceptable Use Policy](/aup) (AUP).It is the customer’s responsibility to ensure that testing activities are aligned with this policy. Any testing performed outside of the policy will be seen as testing directly against Supabase and may be flagged as abuse behaviour. If Supabase receives an abuse report for activities related to your security testing, we will forward these to you. If you discover a security issue within any of the Supabase products, contact [Supabase Security](mailto:[email protected]) immediately.@@ -36,7 +36,7 @@ The customer agrees to the following,Security testing:- Will be limited to the services within the customer’s project.-- Is subject to the general [Terms of Service](https://supabase.com/terms).-- Is within the [Acceptable Usage Policy](https://supabase.com/aup).+- Is subject to the general [Terms of Service](/terms).+- Is within the [Acceptable Usage Policy](/aup).- Will be stopped if contacted by Supabase due to a breach of the above or a negative impact on Supabase and Supabase customers.- Any vulnerabilities discovered directly in a Supabase product will be reported to Supabase Security within 24 hours of completion of testing.diff --git a/apps/docs/content/guides/security/soc-2-compliance.mdx b/apps/docs/content/guides/security/soc-2-compliance.mdxindex 13b9b73018f..d9fa83916ba 100644--- a/apps/docs/content/guides/security/soc-2-compliance.mdx+++ b/apps/docs/content/guides/security/soc-2-compliance.mdx@@ -50,11 +50,11 @@ In summary, SOC 2 compliance involves a shared responsibility between Supabase a**How often is Supabase SOC 2 audited?**-Supabase has obtained SOC 2 Type 2 certification, which means Supabase's controls are fully audited annually. The auditor's reports on these examinations are issued as soon as they are ready after the audit. Supabase makes the SOC 2 Type 2 report available to [Enterprise and Team Plan](https://supabase.com/pricing) customers. The audit report covers a rolling 12-month window, known as the audit period, and runs from 1 March to 28 February of the next calendar year.+Supabase has obtained SOC 2 Type 2 certification, which means Supabase's controls are fully audited annually. The auditor's reports on these examinations are issued as soon as they are ready after the audit. Supabase makes the SOC 2 Type 2 report available to [Enterprise and Team Plan](/pricing) customers. The audit report covers a rolling 12-month window, known as the audit period, and runs from 1 March to 28 February of the next calendar year.**How to obtain Supabase's SOC 2 Type 2 report?**-To access the SOC 2 Type 2 report, you must be a Enterprise or Team Plan Supabase customer. The report is downloadable from the [Legal Documents](https://supabase.com/dashboard/org/_/documents) section in the organization dashboard.+To access the SOC 2 Type 2 report, you must be a Enterprise or Team Plan Supabase customer. The report is downloadable from the [Legal Documents](/dashboard/org/_/documents) section in the organization dashboard.**Why does it matter that Supabase is SOC 2 Compliant?**diff --git a/apps/docs/content/guides/self-hosting.mdx b/apps/docs/content/guides/self-hosting.mdxindex 1871402e392..b1b63d11968 100644--- a/apps/docs/content/guides/self-hosting.mdx+++ b/apps/docs/content/guides/self-hosting.mdx@@ -29,7 +29,7 @@ There are several ways to host Supabase on your own computer, server, or cloud.</div></div>-Supabase is also a hosted platform. If you want to get started for free, visit [supabase.com/dashboard](https://supabase.com/dashboard).+Supabase is also a hosted platform. If you want to get started for free, visit [supabase.com/dashboard](/dashboard).## Community supporteddiff --git a/apps/docs/content/guides/self-hosting/docker.mdx b/apps/docs/content/guides/self-hosting/docker.mdxindex 530477d47df..6f4210253b7 100644--- a/apps/docs/content/guides/self-hosting/docker.mdx+++ b/apps/docs/content/guides/self-hosting/docker.mdx@@ -444,7 +444,7 @@ By default, Storage backend is set to `file`, which is to use local files as the#### Setting up logging with the Analytics server-Additional configuration is required for self-hosting the Analytics server. For the full setup instructions, see [Self Hosting Analytics](https://supabase.com/docs/reference/self-hosting-analytics/introduction#getting-started).+Additional configuration is required for self-hosting the Analytics server. For the full setup instructions, see [Self Hosting Analytics](/docs/reference/self-hosting-analytics/introduction#getting-started).### Upgrading Analyticsdiff --git a/apps/docs/content/guides/storage/analytics/connecting-to-analytics-bucket.mdx b/apps/docs/content/guides/storage/analytics/connecting-to-analytics-bucket.mdxindex 9800c5c0bb7..b68b367779e 100644--- a/apps/docs/content/guides/storage/analytics/connecting-to-analytics-bucket.mdx+++ b/apps/docs/content/guides/storage/analytics/connecting-to-analytics-bucket.mdx@@ -27,10 +27,10 @@ To connect to an Analytics Bucket, you will need- An Iceberg client (Spark, PyIceberg, etc) which supports the REST Catalog interface.- S3 credentials to authenticate your Iceberg client with the underlying S3 Bucket.- To create S3 Credentials go to [**Project Settings > Storage**](https://supabase.com/dashboard/project/_/storage/settings), for more information, see the [S3 Authentication Guide](https://supabase.com/docs/guides/storage/s3/authentication). We will support other authentication methods in the future.+ To create S3 Credentials go to [**Project Settings > Storage**](/dashboard/project/_/storage/settings), for more information, see the [S3 Authentication Guide](/docs/guides/storage/s3/authentication). We will support other authentication methods in the future.- The project reference and Service key for your Supabase project.- You can find your Service key in the Supabase Dashboard under [**Project Settings > API**.](https://supabase.com/dashboard/project/_/settings/api-keys)+ You can find your Service key in the Supabase Dashboard under [**Project Settings > API**.](/dashboard/project/_/settings/api-keys)You will now have an **Access Key** and a **Secret Key** that you can use to authenticate your Iceberg client.diff --git a/apps/docs/content/guides/storage/buckets/creating-buckets.mdx b/apps/docs/content/guides/storage/buckets/creating-buckets.mdxindex 65ad5398ba3..987e24c8598 100644--- a/apps/docs/content/guides/storage/buckets/creating-buckets.mdx+++ b/apps/docs/content/guides/storage/buckets/creating-buckets.mdx@@ -35,7 +35,7 @@ const { data, error } = await supabase.storage.createBucket('avatars', {<TabPanel id="dashboard" label="Dashboard">-1. Go to the [Storage](https://supabase.com/dashboard/project/_/storage/buckets) page in the Dashboard.+1. Go to the [Storage](/dashboard/project/_/storage/buckets) page in the Dashboard.2. Click **New Bucket** and enter a name for the bucket.3. Click **Create Bucket**.diff --git a/apps/docs/content/guides/storage/cdn/fundamentals.mdx b/apps/docs/content/guides/storage/cdn/fundamentals.mdxindex 3f0543e1d05..f23548b098f 100644--- a/apps/docs/content/guides/storage/cdn/fundamentals.mdx+++ b/apps/docs/content/guides/storage/cdn/fundamentals.mdx@@ -5,7 +5,7 @@ description: 'Learn how Supabase Storage caches objects with a CDN.'sidebar_label: 'CDN'----All assets uploaded to Supabase Storage are cached on a Content Delivery Network (CDN) to improve the latency for users all around the world. CDNs are a geographically distributed set of servers or **nodes** which cache content from an **origin server**. For Supabase Storage, the origin is the storage server running in the [same region as your project](https://supabase.com/dashboard/project/_/settings/general). Aside from performance, CDNs also help with security and availability by mitigating Distributed Denial of Service (DDoS) and other application attacks.+All assets uploaded to Supabase Storage are cached on a Content Delivery Network (CDN) to improve the latency for users all around the world. CDNs are a geographically distributed set of servers or **nodes** which cache content from an **origin server**. For Supabase Storage, the origin is the storage server running in the [same region as your project](/dashboard/project/_/settings/general). Aside from performance, CDNs also help with security and availability by mitigating Distributed Denial of Service (DDoS) and other application attacks.### Examplediff --git a/apps/docs/content/guides/storage/cdn/metrics.mdx b/apps/docs/content/guides/storage/cdn/metrics.mdxindex f6c6fd41072..c8c3dd7b851 100644--- a/apps/docs/content/guides/storage/cdn/metrics.mdx+++ b/apps/docs/content/guides/storage/cdn/metrics.mdx@@ -28,7 +28,7 @@ order by count desclimit 50;```-Try out [this query](https://supabase.com/dashboard/project/_/logs/explorer?q=%0Aselect%0A++r.path+as+path%2C%0A++r.search+as+search%2C%0A++count%28id%29+as+count%0Afrom%0A++edge_logs+as+f%0A++cross+join+unnest%28f.metadata%29+as+m%0A++cross+join+unnest%28m.request%29+as+r%0A++cross+join+unnest%28m.response%29+as+res%0A++cross+join+unnest%28res.headers%29+as+h%0Awhere%0A++starts_with%28r.path%2C+%27%2Fstorage%2Fv1%2Fobject%27%29%0A++and+r.method+%3D+%27GET%27%0A++and+h.cf_cache_status+in+%28%27MISS%27%2C+%27NONE%2FUNKNOWN%27%2C+%27EXPIRED%27%2C+%27BYPASS%27%2C+%27DYNAMIC%27%29%0Agroup+by+path%2C+search%0Aorder+by+count+desc%0Alimit+50%3B) in the Logs Explorer.+Try out [this query](/dashboard/project/_/logs/explorer?q=%0Aselect%0A++r.path+as+path%2C%0A++r.search+as+search%2C%0A++count%28id%29+as+count%0Afrom%0A++edge_logs+as+f%0A++cross+join+unnest%28f.metadata%29+as+m%0A++cross+join+unnest%28m.request%29+as+r%0A++cross+join+unnest%28m.response%29+as+res%0A++cross+join+unnest%28res.headers%29+as+h%0Awhere%0A++starts_with%28r.path%2C+%27%2Fstorage%2Fv1%2Fobject%27%29%0A++and+r.method+%3D+%27GET%27%0A++and+h.cf_cache_status+in+%28%27MISS%27%2C+%27NONE%2FUNKNOWN%27%2C+%27EXPIRED%27%2C+%27BYPASS%27%2C+%27DYNAMIC%27%29%0Agroup+by+path%2C+search%0Aorder+by+count+desc%0Alimit+50%3B) in the Logs Explorer.Your cache hit ratio over time can then be determined using the following query:@@ -47,4 +47,4 @@ group by timestamporder by timestamp desc;```-Try out [this query](https://supabase.com/dashboard/project/_/logs/explorer?q=%0Aselect%0A++timestamp_trunc%28timestamp%2C+hour%29+as+timestamp%2C%0A++countif%28h.cf_cache_status+in+%28%27HIT%27%2C+%27STALE%27%2C+%27REVALIDATED%27%2C+%27UPDATING%27%29%29+%2F+count%28f.id%29+as+ratio%0Afrom%0A++edge_logs+as+f%0A++cross+join+unnest%28f.metadata%29+as+m%0A++cross+join+unnest%28m.request%29+as+r%0A++cross+join+unnest%28m.response%29+as+res%0A++cross+join+unnest%28res.headers%29+as+h%0Awhere+starts_with%28r.path%2C+%27%2Fstorage%2Fv1%2Fobject%27%29+and+r.method+%3D+%27GET%27%0Agroup+by+timestamp%0Aorder+by+timestamp+desc%3B) in the Logs Explorer.+Try out [this query](/dashboard/project/_/logs/explorer?q=%0Aselect%0A++timestamp_trunc%28timestamp%2C+hour%29+as+timestamp%2C%0A++countif%28h.cf_cache_status+in+%28%27HIT%27%2C+%27STALE%27%2C+%27REVALIDATED%27%2C+%27UPDATING%27%29%29+%2F+count%28f.id%29+as+ratio%0Afrom%0A++edge_logs+as+f%0A++cross+join+unnest%28f.metadata%29+as+m%0A++cross+join+unnest%28m.request%29+as+r%0A++cross+join+unnest%28m.response%29+as+res%0A++cross+join+unnest%28res.headers%29+as+h%0Awhere+starts_with%28r.path%2C+%27%2Fstorage%2Fv1%2Fobject%27%29+and+r.method+%3D+%27GET%27%0Agroup+by+timestamp%0Aorder+by+timestamp+desc%3B) in the Logs Explorer.diff --git a/apps/docs/content/guides/storage/cdn/smart-cdn.mdx b/apps/docs/content/guides/storage/cdn/smart-cdn.mdxindex c3dedbb7d31..f7308260943 100644--- a/apps/docs/content/guides/storage/cdn/smart-cdn.mdx+++ b/apps/docs/content/guides/storage/cdn/smart-cdn.mdx@@ -11,7 +11,7 @@ Moreover, the Smart CDN achieves a greater cache hit rate by shielding the origi<Admonition type="note">-Smart CDN caching is automatically enabled for [Pro Plan and above](https://supabase.com/pricing).+Smart CDN caching is automatically enabled for [Pro Plan and above](/pricing).</Admonition>diff --git a/apps/docs/content/guides/storage/debugging/error-codes.mdx b/apps/docs/content/guides/storage/debugging/error-codes.mdxindex adc0685a1d9..c1a500c31ed 100644--- a/apps/docs/content/guides/storage/debugging/error-codes.mdx+++ b/apps/docs/content/guides/storage/debugging/error-codes.mdx@@ -26,40 +26,40 @@ The error codes are returned in the following format:Here is the full list of error codes and their descriptions:-| `ErrorCode` | Description | `StatusCode` | Resolution |-| --------------------------- | --------------------------------------------------------------- | ------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |-| `NoSuchBucket` | The specified bucket does not exist. | 404 | Verify the bucket name and ensure it exists in the system, if it exists you don't have permissions to access it. |-| `NoSuchKey` | The specified key does not exist. | 404 | Check the key name and ensure it exists in the specified bucket, if it exists you don't have permissions to access it. |-| `NoSuchUpload` | The specified upload does not exist. | 404 | The upload ID provided might not exists or the Upload was previously aborted |-| `InvalidJWT` | The provided JWT (JSON Web Token) is invalid. | 401 | The JWT provided might be expired or malformed, provide a valid JWT |-| `InvalidRequest` | The request is not properly formed. | 400 | Review the request parameters and structure, ensure they meet the API's requirements, the error message will provide more details |-| `TenantNotFound` | The specified tenant does not exist. | 404 | The Storage service had issues while provisioning, [Contact Support](https://supabase.com/dashboard/support/new) |-| `EntityTooLarge` | The entity being uploaded is too large. | 413 | Verify the max-file-limit is equal or higher to the resource you are trying to upload, you can change this value on the [Project Settings](https://supabase.com/dashboard/project/_/storage/settings) |-| `InternalError` | An internal server error occurred. | 500 | Investigate server logs to identify the cause of the internal error. If you think it's a Storage error [Contact Support](https://supabase.com/dashboard/support/new) |-| `ResourceAlreadyExists` | The specified resource already exists. | 409 | Use a different name or identifier for the resource to avoid conflicts. Use `x-upsert:true` header to overwrite the resource. |-| `InvalidBucketName` | The specified bucket name is invalid. | 400 | Ensure the bucket name follows the naming conventions and does not contain invalid characters. |-| `InvalidKey` | The specified key is invalid. | 400 | Verify the key name and ensure it follows the naming conventions. |-| `InvalidRange` | The specified range is not valid. | 416 | Make sure that range provided is within the file size boundary and follow the [HTTP Range spec](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Range) |-| `InvalidMimeType` | The specified MIME type is not valid. | 400 | Provide a valid MIME type, ensure using the standard MIME type format |-| `InvalidUploadId` | The specified upload ID is invalid. | 400 | The upload ID provided is invalid or missing. Make sure to provide a active upload ID |-| `KeyAlreadyExists` | The specified key already exists. | 409 | Use a different key name to avoid conflicts with existing keys. Use `x-upsert:true` header to overwrite the resource. |-| `BucketAlreadyExists` | The specified bucket already exists. | 409 | Choose a unique name for the bucket that does not conflict with existing buckets. |-| `DatabaseTimeout` | Timeout occurred while accessing the database. | 504 | Investigate database performance and increase the default pool size. If this error still occurs, upgrade your instance |-| `InvalidSignature` | The signature provided does not match the calculated signature. | 403 | Check that you are providing the correct signature format, for more information refer to [SignatureV4](https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html) |-| `SignatureDoesNotMatch` | The request signature does not match the calculated signature. | 403 | Check your credentials, access key id / access secret key / region that are all correct, refer to [S3 Authentication](/docs/guides/storage/s3/authentication). |-| `AccessDenied` | Access to the specified resource is denied. | 403 | Check that you have the correct RLS policy to allow access to this resource |-| `ResourceLocked` | The specified resource is locked. | 423 | This resource cannot be altered while there is a lock. Wait and try the request again |-| `DatabaseError` | An error occurred while accessing the database. | 500 | Investigate database logs and system configuration to identify and address the database error. |-| `MissingContentLength` | The Content-Length header is missing. | 411 | Ensure the Content-Length header is included in the request with the correct value. |-| `MissingParameter` | A required parameter is missing in the request. | 400 | Provide all required parameters in the request to fulfill the API's requirements. The message field will contain more details |-| `InvalidUploadSignature` | The provided upload signature is invalid. | 403 | The `MultiPartUpload` record was altered while the upload was ongoing, the signature do not match. Do not alter the upload record |-| `LockTimeout` | Timeout occurred while waiting for a lock. | 423 | The lock couldn't be acquired within the specified timeout. Wait and try the request again |-| `S3Error` | An error occurred related to Amazon S3. | - | Refer to Amazon S3 documentation or [Contact Support](https://supabase.com/dashboard/support/new) for assistance with resolving the S3 error. |-| `S3InvalidAccessKeyId` | The provided AWS access key ID is invalid. | 403 | Verify the AWS access key ID provided and ensure it is correct and active. |-| `S3MaximumCredentialsLimit` | The maximum number of credentials has been reached. | 400 | The maximum limit of credentials is reached. |-| `InvalidChecksum` | The checksum of the entity does not match. | 400 | Recalculate the checksum of the entity and ensure it matches the one provided in the request. |-| `MissingPart` | A part of the entity is missing. | 400 | Ensure all parts of the entity are included in the request before completing the operation. |-| `SlowDown` | The request rate is too high and has been throttled. | 503 | Reduce the request rate or implement exponential backoff and retry mechanisms to handle throttling. |+| `ErrorCode` | Description | `StatusCode` | Resolution |+| --------------------------- | --------------------------------------------------------------- | ------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |+| `NoSuchBucket` | The specified bucket does not exist. | 404 | Verify the bucket name and ensure it exists in the system, if it exists you don't have permissions to access it. |+| `NoSuchKey` | The specified key does not exist. | 404 | Check the key name and ensure it exists in the specified bucket, if it exists you don't have permissions to access it. |+| `NoSuchUpload` | The specified upload does not exist. | 404 | The upload ID provided might not exists or the Upload was previously aborted |+| `InvalidJWT` | The provided JWT (JSON Web Token) is invalid. | 401 | The JWT provided might be expired or malformed, provide a valid JWT |+| `InvalidRequest` | The request is not properly formed. | 400 | Review the request parameters and structure, ensure they meet the API's requirements, the error message will provide more details |+| `TenantNotFound` | The specified tenant does not exist. | 404 | The Storage service had issues while provisioning, [Contact Support](/dashboard/support/new) |+| `EntityTooLarge` | The entity being uploaded is too large. | 413 | Verify the max-file-limit is equal or higher to the resource you are trying to upload, you can change this value on the [Project Settings](/dashboard/project/_/storage/settings) |+| `InternalError` | An internal server error occurred. | 500 | Investigate server logs to identify the cause of the internal error. If you think it's a Storage error [Contact Support](/dashboard/support/new) |+| `ResourceAlreadyExists` | The specified resource already exists. | 409 | Use a different name or identifier for the resource to avoid conflicts. Use `x-upsert:true` header to overwrite the resource. |+| `InvalidBucketName` | The specified bucket name is invalid. | 400 | Ensure the bucket name follows the naming conventions and does not contain invalid characters. |+| `InvalidKey` | The specified key is invalid. | 400 | Verify the key name and ensure it follows the naming conventions. |+| `InvalidRange` | The specified range is not valid. | 416 | Make sure that range provided is within the file size boundary and follow the [HTTP Range spec](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Range) |+| `InvalidMimeType` | The specified MIME type is not valid. | 400 | Provide a valid MIME type, ensure using the standard MIME type format |+| `InvalidUploadId` | The specified upload ID is invalid. | 400 | The upload ID provided is invalid or missing. Make sure to provide a active upload ID |+| `KeyAlreadyExists` | The specified key already exists. | 409 | Use a different key name to avoid conflicts with existing keys. Use `x-upsert:true` header to overwrite the resource. |+| `BucketAlreadyExists` | The specified bucket already exists. | 409 | Choose a unique name for the bucket that does not conflict with existing buckets. |+| `DatabaseTimeout` | Timeout occurred while accessing the database. | 504 | Investigate database performance and increase the default pool size. If this error still occurs, upgrade your instance |+| `InvalidSignature` | The signature provided does not match the calculated signature. | 403 | Check that you are providing the correct signature format, for more information refer to [SignatureV4](https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html) |+| `SignatureDoesNotMatch` | The request signature does not match the calculated signature. | 403 | Check your credentials, access key id / access secret key / region that are all correct, refer to [S3 Authentication](/docs/guides/storage/s3/authentication). |+| `AccessDenied` | Access to the specified resource is denied. | 403 | Check that you have the correct RLS policy to allow access to this resource |+| `ResourceLocked` | The specified resource is locked. | 423 | This resource cannot be altered while there is a lock. Wait and try the request again |+| `DatabaseError` | An error occurred while accessing the database. | 500 | Investigate database logs and system configuration to identify and address the database error. |+| `MissingContentLength` | The Content-Length header is missing. | 411 | Ensure the Content-Length header is included in the request with the correct value. |+| `MissingParameter` | A required parameter is missing in the request. | 400 | Provide all required parameters in the request to fulfill the API's requirements. The message field will contain more details |+| `InvalidUploadSignature` | The provided upload signature is invalid. | 403 | The `MultiPartUpload` record was altered while the upload was ongoing, the signature do not match. Do not alter the upload record |+| `LockTimeout` | Timeout occurred while waiting for a lock. | 423 | The lock couldn't be acquired within the specified timeout. Wait and try the request again |+| `S3Error` | An error occurred related to Amazon S3. | - | Refer to Amazon S3 documentation or [Contact Support](/dashboard/support/new) for assistance with resolving the S3 error. |+| `S3InvalidAccessKeyId` | The provided AWS access key ID is invalid. | 403 | Verify the AWS access key ID provided and ensure it is correct and active. |+| `S3MaximumCredentialsLimit` | The maximum number of credentials has been reached. | 400 | The maximum limit of credentials is reached. |+| `InvalidChecksum` | The checksum of the entity does not match. | 400 | Recalculate the checksum of the entity and ensure it matches the one provided in the request. |+| `MissingPart` | A part of the entity is missing. | 400 | Ensure all parts of the entity are included in the request before completing the operation. |+| `SlowDown` | The request rate is too high and has been throttled. | 503 | Reduce the request rate or implement exponential backoff and retry mechanisms to handle throttling. |## Legacy error codes@@ -106,7 +106,7 @@ This problem typically arises when a large number of clients are concurrently in**Resolution:**- Increase the max_clients limits of the pooler.-- Upgrade to a bigger project compute instance [here](https://supabase.com/dashboard/project/_/settings/addons).+- Upgrade to a bigger project compute instance [here](/dashboard/project/_/settings/addons).### 544 `database_timeout`@@ -115,11 +115,11 @@ This problem arises when a high number of clients are concurrently using the Sto**Resolution:**- Increase the pool_size limits of the pooler.-- Upgrade to a bigger project compute instance [here](https://supabase.com/dashboard/project/_/settings/addons).+- Upgrade to a bigger project compute instance [here](/dashboard/project/_/settings/addons).### 500 `internal_server_error`This issue occurs where there is a unhandled error.**Resolution:**-- File a support ticket to Storage team [here](https://supabase.com/dashboard/support/new)+- File a support ticket to Storage team [here](/dashboard/support/new)diff --git a/apps/docs/content/guides/storage/quickstart.mdx b/apps/docs/content/guides/storage/quickstart.mdxindex 2ea0e5b8ff8..5ec74612e6c 100644--- a/apps/docs/content/guides/storage/quickstart.mdx+++ b/apps/docs/content/guides/storage/quickstart.mdx@@ -44,7 +44,7 @@ You can create a bucket using the Supabase Dashboard. Since the storage is inter><TabPanel id="dashboard" label="Dashboard">-1. Go to the [Storage](https://supabase.com/dashboard/project/_/storage/buckets) page in the Dashboard.+1. Go to the [Storage](/dashboard/project/_/storage/buckets) page in the Dashboard.2. Click **New Bucket** and enter a name for the bucket.3. Click **Create Bucket**.@@ -126,7 +126,7 @@ You can upload a file from the Dashboard, or within a browser using our JS libra><TabPanel id="dashboard" label="Dashboard">-1. Go to the [Storage](https://supabase.com/dashboard/project/_/storage/buckets) page in the Dashboard.+1. Go to the [Storage](/dashboard/project/_/storage/buckets) page in the Dashboard.2. Select the bucket you want to upload the file to.3. Click **Upload File**.4. Select the file you want to upload.@@ -180,7 +180,7 @@ You can download a file from the Dashboard, or within a browser using our JS lib><TabPanel id="dashboard" label="Dashboard">-1. Go to the [Storage](https://supabase.com/dashboard/project/_/storage/buckets) page in the Dashboard.+1. Go to the [Storage](/dashboard/project/_/storage/buckets) page in the Dashboard.2. Select the bucket that contains the file.3. Select the file that you want to download.4. Click **Download**.@@ -252,7 +252,7 @@ To restrict access to your files you can use either the Dashboard or SQL.><TabPanel id="dashboard" label="Dashboard">-1. Go to the [Storage](https://supabase.com/dashboard/project/_/storage/buckets) page in the Dashboard.+1. Go to the [Storage](/dashboard/project/_/storage/buckets) page in the Dashboard.2. Click **Policies** in the sidebar.3. Click **Add Policies** in the `OBJECTS` table to add policies for Files. You can also create policies for Buckets.4. Choose whether you want the policy to apply to downloads (SELECT), uploads (INSERT), updates (UPDATE), or deletes (DELETE).diff --git a/apps/docs/content/guides/storage/security/access-control.mdx b/apps/docs/content/guides/storage/security/access-control.mdxindex fe402991f0d..b8c10b4ee51 100644--- a/apps/docs/content/guides/storage/security/access-control.mdx+++ b/apps/docs/content/guides/storage/security/access-control.mdx@@ -6,7 +6,7 @@ sidebar_label: 'Uploads'tocVideo: '4ERX__Y908k'----Supabase Storage is designed to work perfectly with Postgres [Row Level Security](https://supabase.com/docs/guides/database/postgres/row-level-security) (RLS).+Supabase Storage is designed to work perfectly with Postgres [Row Level Security](/docs/guides/database/postgres/row-level-security) (RLS).You can use RLS to create [Security Access Policies](https://www.postgresql.org/docs/current/sql-createpolicy.html) that are incredibly powerful and flexible, allowing you to restrict access based on your business needs.diff --git a/apps/docs/content/guides/storage/serving/image-transformations.mdx b/apps/docs/content/guides/storage/serving/image-transformations.mdxindex 6d79231daad..50bb226544c 100644--- a/apps/docs/content/guides/storage/serving/image-transformations.mdx+++ b/apps/docs/content/guides/storage/serving/image-transformations.mdx@@ -11,7 +11,7 @@ Supabase Storage offers the functionality to optimize and resize images on the f<Admonition type="note">-Image Resizing is currently enabled for [Pro Plan and above](https://supabase.com/pricing).+Image Resizing is currently enabled for [Pro Plan and above](/pricing).</Admonition>diff --git a/apps/docs/content/guides/storage/uploads/file-limits.mdx b/apps/docs/content/guides/storage/uploads/file-limits.mdxindex d4e2abb8ff6..7684027eec7 100644--- a/apps/docs/content/guides/storage/uploads/file-limits.mdx+++ b/apps/docs/content/guides/storage/uploads/file-limits.mdx@@ -8,7 +8,7 @@ sidebar_label: 'Limits'## Global file size-You can set the maximum file size across all your buckets by setting the _Global file size limit_ value in your [Storage Settings](https://supabase.com/dashboard/project/_/storage/settings). For Free projects, the limit can't exceed 50 MB. On the Pro Plan and up, you can set this value to up to 500 GB. If you need more than 500 GB, [contact us](https://supabase.com/dashboard/support/new).+You can set the maximum file size across all your buckets by setting the _Global file size limit_ value in your [Storage Settings](/dashboard/project/_/storage/settings). For Free projects, the limit can't exceed 50 MB. On the Pro Plan and up, you can set this value to up to 500 GB. If you need more than 500 GB, [contact us](/dashboard/support/new).| Plan | Max File Size Limit || ---------- | ------------------- |diff --git a/apps/docs/content/guides/telemetry/log-drains.mdx b/apps/docs/content/guides/telemetry/log-drains.mdxindex be5a1cd18cd..cee83707ee8 100644--- a/apps/docs/content/guides/telemetry/log-drains.mdx+++ b/apps/docs/content/guides/telemetry/log-drains.mdx@@ -4,9 +4,9 @@ title: 'Log Drains'description: 'Getting started with Supabase Log Drains'----Log drains will send all logs of the Supabase stack to one or more desired destinations. It is only available for customers on Team and Enterprise Plans. Log drains is available in the dashboard under [Project Settings > Log Drains](https://supabase.com/dashboard/project/_/settings/log-drains).+Log drains will send all logs of the Supabase stack to one or more desired destinations. It is only available for customers on Team and Enterprise Plans. Log drains is available in the dashboard under [Project Settings > Log Drains](/dashboard/project/_/settings/log-drains).-You can read about the initial announcement [here](https://supabase.com/blog/log-drains) and vote for your preferred drains in [this discussion](https://github.com/orgs/supabase/discussions/28324?sort=top).+You can read about the initial announcement [here](/blog/log-drains) and vote for your preferred drains in [this discussion](https://github.com/orgs/supabase/discussions/28324?sort=top).# Supported destinations@@ -79,7 +79,7 @@ This will create an infinite loop, as we are generating an additional log event2. Configure the HTTP Drain-Create a HTTP drain under the [Project Settings > Log Drains](https://supabase.com/dashboard/project/_/settings/log-drains).+Create a HTTP drain under the [Project Settings > Log Drains](/dashboard/project/_/settings/log-drains).- Disable the Gzip, as we want to receive the payload without compression.- Under URL, set it to your edge function URL `https://[PROJECT REF].supabase.co/functions/v1/hello-world`@@ -94,7 +94,7 @@ Create a HTTP drain under the [Project Settings > Log Drains](https://supabase.cid="gzip">-Gzip payloads can be decompressed using native in-built APIs. Refer to the Edge Function [compression guide](https://supabase.com/docs/guides/functions/compression)+Gzip payloads can be decompressed using native in-built APIs. Refer to the Edge Function [compression guide](/docs/guides/functions/compression)```tsimport { gunzipSync } from 'node:zlib'@@ -153,7 +153,7 @@ To setup DataDog log drain, generate a DataDog API key [here](https://app.datado>1. Generate API Key in [DataDog dashboard](https://app.datadoghq.com/organization-settings/api-keys)- 2. Create log drain in [Supabase dashboard](https://supabase.com/dashboard/project/_/settings/log-drains)+ 2. Create log drain in [Supabase dashboard](/dashboard/project/_/settings/log-drains)3. Watch for events in the [DataDog Logs page](https://app.datadoghq.com/logs)</AccordionItem>diff --git a/apps/docs/content/guides/telemetry/logs.mdx b/apps/docs/content/guides/telemetry/logs.mdxindex d27742ef11a..5be0cafa1a9 100644--- a/apps/docs/content/guides/telemetry/logs.mdx+++ b/apps/docs/content/guides/telemetry/logs.mdx@@ -4,7 +4,7 @@ title: 'Logging'description: 'Getting started with Supabase Log Browser'----The Supabase Platform includes a Logs Explorer that allows log tracing and debugging. Log retention is based on your [project's pricing plan](https://supabase.com/pricing).+The Supabase Platform includes a Logs Explorer that allows log tracing and debugging. Log retention is based on your [project's pricing plan](/pricing).## Product logs@@ -21,7 +21,7 @@ Supabase provides a logging interface specific to each product. You can use simp><TabPanel id="api" label="API">-[API logs](https://supabase.com/dashboard/project/_/logs/edge-logs) show all network requests and response for the REST and GraphQL [APIs](../../guides/database/api). If [Read Replicas](/docs/guides/platform/read-replicas) are enabled, logs are automatically filtered between databases as well as the [API Load Balancer](/docs/guides/platform/read-replicas#api-load-balancer) endpoint. Logs for a specific endpoint can be toggled with the `Source` button on the upper-right section of the dashboard.+[API logs](/dashboard/project/_/logs/edge-logs) show all network requests and response for the REST and GraphQL [APIs](../../guides/database/api). If [Read Replicas](/docs/guides/platform/read-replicas) are enabled, logs are automatically filtered between databases as well as the [API Load Balancer](/docs/guides/platform/read-replicas#api-load-balancer) endpoint. Logs for a specific endpoint can be toggled with the `Source` button on the upper-right section of the dashboard.When viewing logs originating from the API Load Balancer endpoint, the upstream database or the one that eventually handles the request can be found under the `Redirect Identifier` field. This is equivalent to `metadata.load_balancer_redirect_identifier` when querying the underlying logs.@@ -30,28 +30,28 @@ When viewing logs originating from the API Load Balancer endpoint, the upstream</TabPanel><TabPanel id="postgres" label="Postgres">-[Postgres logs](https://supabase.com/dashboard/project/_/logs/postgres-logs) show queries and activity for your [database](../../guides/database). If [Read Replicas](/docs/guides/platform/read-replicas) are enabled, logs are automatically filtered between databases. Logs for a specific database can be toggled with the `Source` button on the upper-right section of the dashboard.+[Postgres logs](/dashboard/project/_/logs/postgres-logs) show queries and activity for your [database](../../guides/database). If [Read Replicas](/docs/guides/platform/read-replicas) are enabled, logs are automatically filtered between databases. Logs for a specific database can be toggled with the `Source` button on the upper-right section of the dashboard.</TabPanel><TabPanel id="auth" label="Auth">-[Auth logs](https://supabase.com/dashboard/project/_/logs/auth-logs) show all server logs for your [Auth usage](../../guides/auth).+[Auth logs](/dashboard/project/_/logs/auth-logs) show all server logs for your [Auth usage](../../guides/auth).</TabPanel><TabPanel id="storage" label="Storage">-[Storage logs](https://supabase.com/dashboard/project/_/logs/storage-logs) shows all server logs for your [Storage API](../../guides/storage).+[Storage logs](/dashboard/project/_/logs/storage-logs) shows all server logs for your [Storage API](../../guides/storage).</TabPanel><TabPanel id="realtime" label="Realtime">-[Realtime logs](https://supabase.com/dashboard/project/_/logs/realtime-logs) show all server logs for your [Realtime API usage](../../guides/realtime).+[Realtime logs](/dashboard/project/_/logs/realtime-logs) show all server logs for your [Realtime API usage](../../guides/realtime).<Admonition type="note">@@ -64,7 +64,7 @@ Realtime connections are not logged by default. Turn on [Realtime connection log</TabPanel><TabPanel id="functions" label="Edge Functions">-For each [Edge Function](https://supabase.com/dashboard/project/_/functions), logs are available under the following tabs:+For each [Edge Function](/dashboard/project/_/functions), logs are available under the following tabs:**Invocations**@@ -89,7 +89,7 @@ Edge Function log messages have a max length of 10,000 characters. If you try to## Working with API logs-[API logs](https://supabase.com/dashboard/project/_/logs/edge-logs) run through the Cloudflare edge servers and will have attached Cloudflare metadata under the `metadata.request.cf.*` fields.+[API logs](/dashboard/project/_/logs/edge-logs) run through the Cloudflare edge servers and will have attached Cloudflare metadata under the `metadata.request.cf.*` fields.### Allowed headers@@ -147,9 +147,9 @@ Do not log Personal Identifiable Information (PII) within the `User-Agent` headeTo enable query logs for other categories of statements:-1. [Enable the pgAudit extension](https://supabase.com/dashboard/project/_/database/extensions).+1. [Enable the pgAudit extension](/dashboard/project/_/database/extensions).2. Configure `pgaudit.log` (see below). Perform a fast reboot if needed.-3. View your query logs under [Logs > Postgres Logs](https://supabase.com/dashboard/project/_/logs/postgres-logs).+3. View your query logs under [Logs > Postgres Logs](/dashboard/project/_/logs/postgres-logs).### Configuring `pgaudit.log`@@ -232,7 +232,7 @@ const supabase = createClient('https://xyzcompany.supabase.co', 'publishable-or-## Logs Explorer-The [Logs Explorer](https://supabase.com/dashboard/project/_/logs-explorer) exposes logs from each part of the Supabase stack as a separate table that can be queried and joined using SQL.+The [Logs Explorer](/dashboard/project/_/logs-explorer) exposes logs from each part of the Supabase stack as a separate table that can be queried and joined using SQL.diff --git a/apps/docs/content/guides/telemetry/metrics.mdx b/apps/docs/content/guides/telemetry/metrics.mdxindex 02a24f87038..985f23eb1ea 100644--- a/apps/docs/content/guides/telemetry/metrics.mdx+++ b/apps/docs/content/guides/telemetry/metrics.mdx@@ -27,7 +27,7 @@ Your project's metrics endpoint is accessible at `https://<project-ref>.supabaseAccess to the endpoint is secured via HTTP Basic Auth:- username: `service_role`-- password: the service role JWT from the [Supabase dashboard](https://supabase.com/dashboard/project/_/settings/api-keys)+- password: the service role JWT from the [Supabase dashboard](/dashboard/project/_/settings/api-keys)You can also retrieve your service role key programmatically using the Management API:@@ -50,7 +50,7 @@ curl <project-url>/customer/v1/privileged/metrics \## Supabase Grafana-The pre-configured Supabase Grafana Dashboard is an advanced version of the [Dashboard's Database Reports](https://supabase.com/dashboard/project/_/reports/database). It visualizes over 200 database performance and health metrics.+The pre-configured Supabase Grafana Dashboard is an advanced version of the [Dashboard's Database Reports](/dashboard/project/_/reports/database). It visualizes over 200 database performance and health metrics.diff --git a/apps/docs/content/guides/telemetry/reports.mdx b/apps/docs/content/guides/telemetry/reports.mdxindex 49ab17a59aa..340db6ca3c9 100644--- a/apps/docs/content/guides/telemetry/reports.mdx+++ b/apps/docs/content/guides/telemetry/reports.mdx@@ -77,12 +77,12 @@ How it helps debug issues:Actions you can take:-| Action | Description |-| ----------------------------------------------------------------------------------------------- | ---------------------------------------------- |-| [Upgrade compute size](https://supabase.com/docs/guides/platform/compute-and-disk#compute-size) | Increase available memory resources |-| Optimize queries | Reduce memory consumption of expensive queries |-| Tune Postgres configuration | Improve memory management settings |-| Implement application caching | Add query result caching to reduce memory load |+| Action | Description |+| --------------------------------------------------------------------------- | ---------------------------------------------- |+| [Upgrade compute size](/docs/guides/platform/compute-and-disk#compute-size) | Increase available memory resources |+| Optimize queries | Reduce memory consumption of expensive queries |+| Tune Postgres configuration | Improve memory management settings |+| Implement application caching | Add query result caching to reduce memory load |### CPU usage@@ -143,12 +143,12 @@ How it helps debug issues:Actions you can take:-| Action | Description |-| ---------------------------------------------------------------------------------- | --------------------------------------------------------- |-| Optimize indexing | Reduce high read IOPS through better query indexing |-| Consider read replicas | Distribute read-heavy workloads across multiple instances |-| Batch write operations | Reduce write IOPS by grouping database writes |-| [Upgrade compute size](https://supabase.com/docs/guides/platform/compute-and-disk) | Increase IOPS limits with larger compute instances |+| Action | Description |+| -------------------------------------------------------------- | --------------------------------------------------------- |+| Optimize indexing | Reduce high read IOPS through better query indexing |+| Consider read replicas | Distribute read-heavy workloads across multiple instances |+| Batch write operations | Reduce write IOPS by grouping database writes |+| [Upgrade compute size](/docs/guides/platform/compute-and-disk) | Increase IOPS limits with larger compute instances |### Disk IO Usage@@ -173,12 +173,12 @@ How it helps debug issues:Actions you can take:-| Action | Description |-| ---------------------------------------------------------------------------------- | -------------------------------------------------- |-| Optimize disk-intensive queries | Reduce queries that perform excessive reads/writes |-| Add strategic indexes | Reduce sequential scans with appropriate indexing |-| [Upgrade compute size](https://supabase.com/docs/guides/platform/compute-and-disk) | Increase IOPS limits with larger compute instances |-| Review database design | Optimize schema and query patterns for efficiency |+| Action | Description |+| -------------------------------------------------------------- | -------------------------------------------------- |+| Optimize disk-intensive queries | Reduce queries that perform excessive reads/writes |+| Add strategic indexes | Reduce sequential scans with appropriate indexing |+| [Upgrade compute size](/docs/guides/platform/compute-and-disk) | Increase IOPS limits with larger compute instances |+| Review database design | Optimize schema and query patterns for efficiency |### Disk size@@ -212,7 +212,7 @@ Actions you can take:| Run [VACUUM](https://www.postgresql.org/docs/current/sql-vacuum.html) operations | Reclaim dead tuple space and optimize storage || Analyze large tables | Use CLI commands like `table-sizes` to identify optimization targets || Implement data archival | Archive historical data to reduce active storage needs |-| [Upgrade disk size](https://supabase.com/docs/guides/platform/database-size) | Increase storage capacity when approaching limits |+| [Upgrade disk size](/docs/guides/platform/database-size) | Increase storage capacity when approaching limits |### Database connections@@ -244,11 +244,11 @@ How it helps debug issues:Actions you can take:-| Action | Description |-| -------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------- |-| [Upgrade compute size](https://supabase.com/docs/guides/platform/compute-and-disk#compute-size) | Increase maximum connection limits |-| Implement [connection pooling](https://supabase.com/docs/guides/database/connecting-to-postgres#shared-pooler) | Optimize connection management for high direct connection usage |-| Review application code | Ensure proper connection handling and cleanup |+| Action | Description |+| ------------------------------------------------------------------------------------------ | --------------------------------------------------------------- |+| [Upgrade compute size](/docs/guides/platform/compute-and-disk#compute-size) | Increase maximum connection limits |+| Implement [connection pooling](/docs/guides/database/connecting-to-postgres#shared-pooler) | Optimize connection management for high direct connection usage |+| Review application code | Ensure proper connection handling and cleanup |## Authdiff --git a/apps/docs/content/troubleshooting/42501--permission-denied-for-table-httprequestqueue-KnozmQ.mdx b/apps/docs/content/troubleshooting/42501--permission-denied-for-table-httprequestqueue-KnozmQ.mdxindex 884bb2c928d..6a452e35906 100644--- a/apps/docs/content/troubleshooting/42501--permission-denied-for-table-httprequestqueue-KnozmQ.mdx+++ b/apps/docs/content/troubleshooting/42501--permission-denied-for-table-httprequestqueue-KnozmQ.mdx@@ -15,4 +15,4 @@ If you're currently blocked by the above error, run the following in your Supaba- Check `select * from net.http_request_queue` and make sure it's empty.- Try `drop extension pg_net; create extension pg_net schema extensions;`-- If that doesn't work (e.g. because some objects depend on it), then [contact support](https://supabase.com/support).+- If that doesn't work (e.g. because some objects depend on it), then [contact support](/support).diff --git a/apps/docs/content/troubleshooting/all-about-supabase-egress-a_Sg_e.mdx b/apps/docs/content/troubleshooting/all-about-supabase-egress-a_Sg_e.mdxindex 974ce7498ac..a5b41236001 100644--- a/apps/docs/content/troubleshooting/all-about-supabase-egress-a_Sg_e.mdx+++ b/apps/docs/content/troubleshooting/all-about-supabase-egress-a_Sg_e.mdx@@ -11,7 +11,7 @@ database_id = "ba593989-12b5-464f-8ede-a525e1ca2ffb"Egress (also known as bandwidth) is any amount of network packets/bytes being streamed back to a connected client. Means, the data that is leaving the Supabase platform. Egress in Supabase includes any calls through PostgREST, to Storage, Realtime, Auth, Edge Functions, Database and Supavisor.-You can read about Unified egress, included quota, and how to check the egress usage here: https://supabase.com/docs/guides/platform/manage-your-usage/egress. Additionally, the [project reports](https://supabase.com/dashboard/project/_/reports) have a few egress related stats. You can create a custom report to look into daily egress.+You can read about Unified egress, included quota, and how to check the egress usage here: https://supabase.com/docs/guides/platform/manage-your-usage/egress. Additionally, the [project reports](/dashboard/project/_/reports) have a few egress related stats. You can create a custom report to look into daily egress.- Example: Log Explorer -> Custom Reports -> Add/Remove charts -> Database API -> API Egress.@@ -31,7 +31,7 @@ While pointing out the exact cause for egress may not be straightforward, there- Reduce the number of queries/calls by optimising client code or use caches to reduce the number of requests/queries being done: https://github.com/psteinroe/supabase-cache-helpers/- In case of update/insert queries, if you don’t need the entire row to be returned, configure your ORM/queries to not return the entire row- In case of running manual backups through Supavisor, remove unneeded tables and/or reduce the frequency-- For Storage, if you start using the [Smart CDN](https://supabase.com/docs/guides/storage/cdn/smart-cdn) Storage Egress usage can be reduced. You can also use the [Supabase Image Transformations](https://supabase.com/docs/guides/storage/image-transformations) to optimize the images and reduce the egress.+- For Storage, if you start using the [Smart CDN](/docs/guides/storage/cdn/smart-cdn) Storage Egress usage can be reduced. You can also use the [Supabase Image Transformations](/docs/guides/storage/image-transformations) to optimize the images and reduce the egress.**Cached vs uncached egress**diff --git a/apps/docs/content/troubleshooting/an-invalid-response-was-received-from-the-upstream-server-error-when-querying-auth-RI4Vl-.mdx b/apps/docs/content/troubleshooting/an-invalid-response-was-received-from-the-upstream-server-error-when-querying-auth-RI4Vl-.mdxindex 72c9e2cbda5..4d03e6e93bd 100644--- a/apps/docs/content/troubleshooting/an-invalid-response-was-received-from-the-upstream-server-error-when-querying-auth-RI4Vl-.mdx+++ b/apps/docs/content/troubleshooting/an-invalid-response-was-received-from-the-upstream-server-error-when-querying-auth-RI4Vl-.mdx@@ -15,7 +15,7 @@ message = "running db migrations: error executing migrations/20221208132122_backmessage = "operator does not exist: uuid = text"----If you are observing an "invalid response was received from the upstream server" error when making requests to Supabase Auth, it could mean that the respective service is down. One way to confirm this is to visit the [logs explorer](https://supabase.com/dashboard/project/_/logs/explorer) and look at the auth logs to see if there are any errors with the following lines:+If you are observing an "invalid response was received from the upstream server" error when making requests to Supabase Auth, it could mean that the respective service is down. One way to confirm this is to visit the [logs explorer](/dashboard/project/_/logs/explorer) and look at the auth logs to see if there are any errors with the following lines:- `running db migrations: error executing migrations/20221208132122_backfill_email_last_sign_in_at.up.sql`@@ -25,6 +25,6 @@ We've documented some of the migrations that run into this issue and their corre### Auth: `operator does not exist: uuid = text`-Temporary fix: Run `insert into auth.schema_migrations values ('20221208132122');` via the [SQL editor](https://supabase.com/dashboard/project/_/sql/new) to fix the issue.+Temporary fix: Run `insert into auth.schema_migrations values ('20221208132122');` via the [SQL editor](/dashboard/project/_/sql/new) to fix the issue.If the migration error you're seeing looks different, reach out to [supabase.help](https://supabase.help/) for assistance.diff --git a/apps/docs/content/troubleshooting/are-all-features-available-in-self-hosted-supabase-THPcqw.mdx b/apps/docs/content/troubleshooting/are-all-features-available-in-self-hosted-supabase-THPcqw.mdxindex 350e43f8b5c..7b87e4e2a6e 100644--- a/apps/docs/content/troubleshooting/are-all-features-available-in-self-hosted-supabase-THPcqw.mdx+++ b/apps/docs/content/troubleshooting/are-all-features-available-in-self-hosted-supabase-THPcqw.mdx@@ -13,9 +13,9 @@ The self-hosted version is pretty similar to the hosted one. It might not always### Feature availabilityTo know what features are available in the self-hosted version, refer to the comprehensive list here:-[Supabase Features](https://supabase.com/docs/guides/getting-started/features#generally-available)+[Supabase Features](/docs/guides/getting-started/features#generally-available)### Self-hosting documentationFor detailed steps and guidance on how to set up and manage your self-hosted Supabase instance, follow the documentation provided:-[Self-Hosting Guide](https://supabase.com/docs/guides/self-hosting)+[Self-Hosting Guide](/docs/guides/self-hosting)diff --git a/apps/docs/content/troubleshooting/avoiding-timeouts-in-long-running-queries-6nmbdN.mdx b/apps/docs/content/troubleshooting/avoiding-timeouts-in-long-running-queries-6nmbdN.mdxindex 1ae2437d733..ba6976c940a 100644--- a/apps/docs/content/troubleshooting/avoiding-timeouts-in-long-running-queries-6nmbdN.mdx+++ b/apps/docs/content/troubleshooting/avoiding-timeouts-in-long-running-queries-6nmbdN.mdx@@ -13,18 +13,18 @@ This page covers long-running queries via the Dashboard or external interfaces.</Admonition>-Certain queries, like indexing a table or changing a column's data type, are inherently time-consuming. The [Dashboard's SQL Editor](https://supabase.com/dashboard/project/_/sql/) has a 1-minute timeout limit.+Certain queries, like indexing a table or changing a column's data type, are inherently time-consuming. The [Dashboard's SQL Editor](/dashboard/project/_/sql/) has a 1-minute timeout limit.To execute long-running queries, follow the below steps.### Install an external SQL client-The guide focuses on [psql](https://supabase.com/docs/guides/database/psql) but you can use any Postgres client.+The guide focuses on [psql](/docs/guides/database/psql) but you can use any Postgres client.Some other options include:-- [pgAdmin](https://supabase.com/docs/guides/database/pgadmin)-- [DBeaver](https://supabase.com/docs/guides/database/dbeaver)+- [pgAdmin](/docs/guides/database/pgadmin)+- [DBeaver](/docs/guides/database/dbeaver)You can install PSQL in [macOS](https://stackoverflow.com/a/49689589/2188186) and [Windows](https://www.postgresql.org/download/windows/) by following these links and instructions. For Linux (Debian) you can run the following:@@ -33,7 +33,7 @@ sudo apt-get updatesudo apt-get install postgresql-client```-Once installed, you can find your PSQL string on the dashboard by clicking [connect](https://supabase.com/dashboard/project/_?showConnect=true). Make sure if you are using the pooler connection that it is the Session pooler (port 5432).+Once installed, you can find your PSQL string on the dashboard by clicking [connect](/dashboard/project/_?showConnect=true). Make sure if you are using the pooler connection that it is the Session pooler (port 5432).<Admonition type="tip">diff --git a/apps/docs/content/troubleshooting/canceling-statement-due-to-statement-timeout-581wFv.mdx b/apps/docs/content/troubleshooting/canceling-statement-due-to-statement-timeout-581wFv.mdxindex 8daeedeb846..29fd5c7f98d 100644--- a/apps/docs/content/troubleshooting/canceling-statement-due-to-statement-timeout-581wFv.mdx+++ b/apps/docs/content/troubleshooting/canceling-statement-due-to-statement-timeout-581wFv.mdx@@ -11,7 +11,7 @@ database_id = "4a41e734-6883-452f-bc8e-82ff4ac22a81"You can run this query to check the current settings set for your roles: `SELECT rolname, rolconfig FROM pg_roles;`-To increase the `statement_timeout` for a specific role, you may follow the instructions [here](https://supabase.com/docs/guides/database/timeouts#changing-the-default-timeout). Note that it may require a quick reboot for the changes to take effect.+To increase the `statement_timeout` for a specific role, you may follow the instructions [here](/docs/guides/database/timeouts#changing-the-default-timeout). Note that it may require a quick reboot for the changes to take effect.Additionally, to check how long a query is taking, you can check the Query Performance report which can give you more information on the query's performance: https://app.supabase.com/project/_/reports/query-performance. You can use the [query plan analyzer](https://www.postgresql.org/docs/current/sql-explain.html) on any expensive queries that you have identified: `explain analyze <query-statement-here>;`. For supabase-js/ PostgREST queries you can use `.explain()`.diff --git a/apps/docs/content/troubleshooting/certain-operations-are-too-complex-to-perform-directly-using-the-client-libraries-8JaphH.mdx b/apps/docs/content/troubleshooting/certain-operations-are-too-complex-to-perform-directly-using-the-client-libraries-8JaphH.mdxindex ff619420f16..7872164ad07 100644--- a/apps/docs/content/troubleshooting/certain-operations-are-too-complex-to-perform-directly-using-the-client-libraries-8JaphH.mdx+++ b/apps/docs/content/troubleshooting/certain-operations-are-too-complex-to-perform-directly-using-the-client-libraries-8JaphH.mdx@@ -14,7 +14,7 @@ Follow these steps to create and run a stored function:**Create the Stored Function:**-Go to the [SQL query editor](https://supabase.com/dashboard/project/_/sql/new) on your database dashboard.+Go to the [SQL query editor](/dashboard/project/_/sql/new) on your database dashboard.Run the following SQL script to create a stored function tailored to your specific complex query:```@@ -53,4 +53,4 @@ supabase.rpc("get_my_complex_query", { parameter: 1 })**Further Resources:**For more information on Postgres database functions, refer to the following resource:-[Supabase Stored Procedures](https://supabase.com/docs/guides/database/functions#quick-demo)+[Supabase Stored Procedures](/docs/guides/database/functions#quick-demo)diff --git a/apps/docs/content/troubleshooting/check-usage-for-monthly-active-users-mau-MwZaBs.mdx b/apps/docs/content/troubleshooting/check-usage-for-monthly-active-users-mau-MwZaBs.mdxindex 68559d3b4eb..3f1f45e1d70 100644--- a/apps/docs/content/troubleshooting/check-usage-for-monthly-active-users-mau-MwZaBs.mdx+++ b/apps/docs/content/troubleshooting/check-usage-for-monthly-active-users-mau-MwZaBs.mdx@@ -9,7 +9,7 @@ database_id = "1759134d-a98d-4bfa-9501-71e06180700e"You can see the usage in your [projects usage page](https://app.supabase.com/project/_/settings/billing/usage).-For MAU, we rely on the [Auth Server](https://github.com/supabase/auth) logs. MAU count is relative to your billing cycle and resets whenever your billing cycle resets. You can check your Auth logs in your [projects logs & analytics section](https://supabase.com/dashboard/project/_/logs/auth-logs).+For MAU, we rely on the [Auth Server](https://github.com/supabase/auth) logs. MAU count is relative to your billing cycle and resets whenever your billing cycle resets. You can check your Auth logs in your [projects logs & analytics section](/dashboard/project/_/logs/auth-logs).We do a distinct count of all user ids in the billing cycle. An Auth event can be a login, token refresh, logout, ... If an authenticated user does any of this, we count it towards the MAU. A user is only counted once towards MAU in a billing cycle.diff --git a/apps/docs/content/troubleshooting/customizing-emails-by-language-KZ_38Q.mdx b/apps/docs/content/troubleshooting/customizing-emails-by-language-KZ_38Q.mdxindex 492ada1c631..370daa3f3ad 100644--- a/apps/docs/content/troubleshooting/customizing-emails-by-language-KZ_38Q.mdx+++ b/apps/docs/content/troubleshooting/customizing-emails-by-language-KZ_38Q.mdx@@ -9,7 +9,7 @@ database_id = "2ebc2849-0cf7-4c94-ac13-22167a196a92"When you register a user, you can create meta-data about them.-Creating meta-data with the JS-Client's [signUp function](https://supabase.com/docs/reference/javascript/auth-signup?example=sign-up-with-additional-user-metadata)+Creating meta-data with the JS-Client's [signUp function](/docs/reference/javascript/auth-signup?example=sign-up-with-additional-user-metadata)```javascriptconst { data, error } = await supabase.auth.signUp({@@ -25,13 +25,13 @@ const { data, error } = await supabase.auth.signUp({})```-The above example creates a user entry that includes information about their name and age. The data is stored in the auth.users table in the `auth.raw_user_meta_data` column. You can view it in the auth schema with the [SQL Editor](https://supabase.com/dashboard/project/_/editor).+The above example creates a user entry that includes information about their name and age. The data is stored in the auth.users table in the `auth.raw_user_meta_data` column. You can view it in the auth schema with the [SQL Editor](/dashboard/project/_/editor).-It can be accessed in a project's [Email Templates](https://supabase.com/dashboard/project/_/auth/templates). Below is an example:+It can be accessed in a project's [Email Templates](/dashboard/project/_/auth/templates). Below is an example:-If you need to update a user's meta-data, you can do so with the [`updateUser`](https://supabase.com/docs/reference/javascript/auth-updateuser?example=update-the-users-metadata) function.+If you need to update a user's meta-data, you can do so with the [`updateUser`](/docs/reference/javascript/auth-updateuser?example=update-the-users-metadata) function.The meta-data can be used to store a users language preferences. You could then use "if statements" in the email template to set the response for a specific language:diff --git a/apps/docs/content/troubleshooting/dashboard-errors-when-managing-users-N1ls4A.mdx b/apps/docs/content/troubleshooting/dashboard-errors-when-managing-users-N1ls4A.mdxindex 9753523e471..174f021b7e1 100644--- a/apps/docs/content/troubleshooting/dashboard-errors-when-managing-users-N1ls4A.mdx+++ b/apps/docs/content/troubleshooting/dashboard-errors-when-managing-users-N1ls4A.mdx@@ -55,7 +55,7 @@ message = "Database error saving new user"## SOLUTION 1 (trigger related)-Check if the auth schema contains any triggers in the [Dashboard's trigger section](https://supabase.com/dashboard/project/_/database/triggers). Remove all triggers by dropping their functions with a CASCADE modifier:+Check if the auth schema contains any triggers in the [Dashboard's trigger section](/dashboard/project/_/database/triggers). Remove all triggers by dropping their functions with a CASCADE modifier:```sqlDROP FUNCTION <function name>() CASCADE;@@ -64,9 +64,9 @@ DROP FUNCTION <function name>() CASCADE;-- DROP TRIGGER <trigger_name> on auth.<table_name>;```-Then recreate the functions with a [security definer](https://supabase.com/docs/guides/database/functions#security-definer-vs-invoker) modifier before recreating the triggers.+Then recreate the functions with a [security definer](/docs/guides/database/functions#security-definer-vs-invoker) modifier before recreating the triggers.-The [SQL Editor](https://supabase.com/dashboard/project/_/sql/) contains a template for [User Management](https://supabase.com/dashboard/project/_/sql/quickstarts). Within it, there is a working example of how to setup triggers with security definer that may be worth referencing:+The [SQL Editor](/dashboard/project/_/sql/) contains a template for [User Management](/dashboard/project/_/sql/quickstarts). Within it, there is a working example of how to setup triggers with security definer that may be worth referencing:```sqlcreate table profiles (diff --git a/apps/docs/content/troubleshooting/database-api-42501-errors.mdx b/apps/docs/content/troubleshooting/database-api-42501-errors.mdxindex c95059c44ef..d90726b9d9b 100644--- a/apps/docs/content/troubleshooting/database-api-42501-errors.mdx+++ b/apps/docs/content/troubleshooting/database-api-42501-errors.mdx@@ -13,7 +13,7 @@ http_status_code = 403code = "42501"----[Postgres 42501 errors](https://www.postgresql.org/docs/current/errcodes-appendix.html), often reported by clients as 401 or 403 errors, imply the request lacked adequate privileges. They can be viewed in the [log explorer](https://supabase.com/dashboard/project/_/logs/explorer?q=select%0A++++cast%28postgres_logs.timestamp+as+datetime%29+as+timestamp%2C%0A++++event_message%2C%0A++++parsed.error_severity%2C%0A++++parsed.user_name%2C%0A++++parsed.query%2C%0A++++parsed.detail%2C%0A++++parsed.hint%2C%0A++++parsed.sql_state_code%2C%0A++++parsed.backend_type%0Afrom%0A++++postgres_logs%0A++++cross+join+unnest%28metadata%29+as+metadata%0A++++cross+join+unnest%28metadata.parsed%29+as+parsed%0Awhere%0A++++parsed.sql_state_code+%3D+%2742501%27%0Aorder+by%0A++++timestamp+desc%0Alimit+100%3B%0A) by running:+[Postgres 42501 errors](https://www.postgresql.org/docs/current/errcodes-appendix.html), often reported by clients as 401 or 403 errors, imply the request lacked adequate privileges. They can be viewed in the [log explorer](/dashboard/project/_/logs/explorer?q=select%0A++++cast%28postgres_logs.timestamp+as+datetime%29+as+timestamp%2C%0A++++event_message%2C%0A++++parsed.error_severity%2C%0A++++parsed.user_name%2C%0A++++parsed.query%2C%0A++++parsed.detail%2C%0A++++parsed.hint%2C%0A++++parsed.sql_state_code%2C%0A++++parsed.backend_type%0Afrom%0A++++postgres_logs%0A++++cross+join+unnest%28metadata%29+as+metadata%0A++++cross+join+unnest%28metadata.parsed%29+as+parsed%0Awhere%0A++++parsed.sql_state_code+%3D+%2742501%27%0Aorder+by%0A++++timestamp+desc%0Alimit+100%3B%0A) by running:```sqlselect@@ -39,11 +39,11 @@ They tend to be caused by one of the following factors.### Attempted to access a forbidden schema-API roles cannot access certain schemas, most notably `auth` and `vault`. This restriction extends to Foreign Data Wrappers relying on `vault`. While you can bypass it using a [security definer function](https://supabase.com/docs/guides/database/functions?queryGroups=language&language=sql&queryGroups=example-view&example-view=sql#security-definer-vs-invoker), these schemas are intentionally restricted for security reasons.+API roles cannot access certain schemas, most notably `auth` and `vault`. This restriction extends to Foreign Data Wrappers relying on `vault`. While you can bypass it using a [security definer function](/docs/guides/database/functions?queryGroups=language&language=sql&queryGroups=example-view&example-view=sql#security-definer-vs-invoker), these schemas are intentionally restricted for security reasons.### Attempted to access a custom schema-If you created a custom schema, you will have to give the Database API permission to query it. Follow our [Using Custom Schemas guide](https://supabase.com/docs/guides/api/using-custom-schemas) for more directions.+If you created a custom schema, you will have to give the Database API permission to query it. Follow our [Using Custom Schemas guide](/docs/guides/api/using-custom-schemas) for more directions.### Revoked object level access:@@ -61,7 +61,7 @@ alter default privileges for role postgres in schema public grant all on sequenc### Configured column-level restrictions-If you've set column-based access in the [Dashboard](https://supabase.com/dashboard/project/_/database/column-privileges) or via SQL, queries will fail with a `42501` error when accessing restricted columns. This includes using `select *`, as it expands to include forbidden columns.+If you've set column-based access in the [Dashboard](/dashboard/project/_/database/column-privileges) or via SQL, queries will fail with a `42501` error when accessing restricted columns. This includes using `select *`, as it expands to include forbidden columns.### RLS:diff --git a/apps/docs/content/troubleshooting/discovering-and-interpreting-api-errors-in-the-logs-7xREI9.mdx b/apps/docs/content/troubleshooting/discovering-and-interpreting-api-errors-in-the-logs-7xREI9.mdxindex 0ddad3db591..7fa689324a8 100644--- a/apps/docs/content/troubleshooting/discovering-and-interpreting-api-errors-in-the-logs-7xREI9.mdx+++ b/apps/docs/content/troubleshooting/discovering-and-interpreting-api-errors-in-the-logs-7xREI9.mdx@@ -11,7 +11,7 @@ database_id = "188986c9-019d-4f26-baaf-6f58cec8fa7a"# Navigating the API logs:-The Database API is powered by a [ PostgREST web-server](https://postgrest.org/en/v12/), recording every request to the API Edge Network logs. To precisely navigate them, use the [Log Explorer](https://supabase.com/dashboard/project/_/logs/explorer). These logs are managed through [Logflare](https://supabase.com/blog/supabase-logs-self-hosted) and can be queried with a subset of BigQuery SQL syntax.+The Database API is powered by a [ PostgREST web-server](https://postgrest.org/en/v12/), recording every request to the API Edge Network logs. To precisely navigate them, use the [Log Explorer](/dashboard/project/_/logs/explorer). These logs are managed through [Logflare](/blog/supabase-logs-self-hosted) and can be queried with a subset of BigQuery SQL syntax.The log table that contains API requests is `edge_logs`.@@ -43,7 +43,7 @@ fromThe most useful fields for debugging are:-> NOTE: not every field is included below. For a full list, check the API Edge field reference in the [Log Explorer](https://supabase.com/dashboard/project/_/logs/explorer)+> NOTE: not every field is included below. For a full list, check the API Edge field reference in the [Log Explorer](/dashboard/project/_/logs/explorer)## Request object@@ -250,7 +250,7 @@ Like PostgREST, Postgres has a [reference table](https://www.postgresql.org/docs## PostgREST server and Cloudflare errors-In some cases, errors may emerge because of Cloudflare or PostgREST server errors. For 500 and above errors, you may want to check your [PostgREST](https://supabase.com/dashboard/project/_/logs/postgrest-logs) logs and the [Cloudflare docs.](https://developers.cloudflare.com/support/troubleshooting/cloudflare-errors/troubleshooting-cloudflare-5xx-errors/#error-502-bad-gateway-or-error-504-gateway-timeout))+In some cases, errors may emerge because of Cloudflare or PostgREST server errors. For 500 and above errors, you may want to check your [PostgREST](/dashboard/project/_/logs/postgrest-logs) logs and the [Cloudflare docs.](https://developers.cloudflare.com/support/troubleshooting/cloudflare-errors/troubleshooting-cloudflare-5xx-errors/#error-502-bad-gateway-or-error-504-gateway-timeout))# Practical examples:diff --git a/apps/docs/content/troubleshooting/download-logical-backups.mdx b/apps/docs/content/troubleshooting/download-logical-backups.mdxindex 4ef49d79674..f8685375387 100644--- a/apps/docs/content/troubleshooting/download-logical-backups.mdx+++ b/apps/docs/content/troubleshooting/download-logical-backups.mdx@@ -7,6 +7,6 @@ database_id = "91ae4c49-bf22-4b8c-b96b-cd11f1c38158"---If you're unable to download backups due to physical backups being enabled, you can use the Supabase CLI command `pgdump` as an alternative.-For step-by-step instructions, check out our guide: [Backup & Restore](https://supabase.com/docs/guides/platform/migrating-within-supabase/backup-restore).+For step-by-step instructions, check out our guide: [Backup & Restore](/docs/guides/platform/migrating-within-supabase/backup-restore).-You can also learn more about how backups work in Supabase here: [Database Backups](https://supabase.com/docs/guides/platform/backups).+You can also learn more about how backups work in Supabase here: [Database Backups](/docs/guides/platform/backups).diff --git a/apps/docs/content/troubleshooting/edge-function-wall-clock-time-limit-reached-Nk38bW.mdx b/apps/docs/content/troubleshooting/edge-function-wall-clock-time-limit-reached-Nk38bW.mdxindex 916d1903391..ebbf45c2cc6 100644--- a/apps/docs/content/troubleshooting/edge-function-wall-clock-time-limit-reached-Nk38bW.mdx+++ b/apps/docs/content/troubleshooting/edge-function-wall-clock-time-limit-reached-Nk38bW.mdx@@ -35,7 +35,7 @@ If you're facing the "wall clock time limit reached" error with a 546 error code- Monitor Execution Time: Use our logging or monitoring tools available to keep an eye on your function's performance. This can pinpoint where optimizations are necessary. To access logs visit: [Supabase Project Functions](https://app.supabase.com/project/_/functions) Select your function and click on Logs.-- Check Our Guides: For more tips, refer to our debugging guide here: [Debugging Edge Functions](https://supabase.com/docs/guides/functions/logging)+- Check Our Guides: For more tips, refer to our debugging guide here: [Debugging Edge Functions](/docs/guides/functions/logging)**Future Considerations**There are plans to make the wall clock time limit configurable per project in the future. However, currently, the only way to adjust this limit is by self-hosting [Edge Functions](https://github.com/supabase/edge-runtime/).diff --git a/apps/docs/content/troubleshooting/error-connection-refused-when-trying-to-connect-to-supabase-database-hwG0Dr.mdx b/apps/docs/content/troubleshooting/error-connection-refused-when-trying-to-connect-to-supabase-database-hwG0Dr.mdxindex 7f1c8e763c9..43284c297b6 100644--- a/apps/docs/content/troubleshooting/error-connection-refused-when-trying-to-connect-to-supabase-database-hwG0Dr.mdx+++ b/apps/docs/content/troubleshooting/error-connection-refused-when-trying-to-connect-to-supabase-database-hwG0Dr.mdx@@ -23,7 +23,7 @@ These bans will clear after 30mins but you can unban the IPs using the Supabase## Unban IPs using the Dashboard-Go to [Database Settings](https://supabase.com/dashboard/project/_/database/settings#banned-ips) and click **Unban IP**.+Go to [Database Settings](/dashboard/project/_/database/settings#banned-ips) and click **Unban IP**.## Unban IPs using the CLIdiff --git a/apps/docs/content/troubleshooting/error-no-pghbaconf-entry-for-host-xxxxxxxxxxx-user-postgres-database-postgres-ssl-off-GOt5Ja.mdx b/apps/docs/content/troubleshooting/error-no-pghbaconf-entry-for-host-xxxxxxxxxxx-user-postgres-database-postgres-ssl-off-GOt5Ja.mdxindex 321e2ae8576..e5707a19410 100644--- a/apps/docs/content/troubleshooting/error-no-pghbaconf-entry-for-host-xxxxxxxxxxx-user-postgres-database-postgres-ssl-off-GOt5Ja.mdx+++ b/apps/docs/content/troubleshooting/error-no-pghbaconf-entry-for-host-xxxxxxxxxxx-user-postgres-database-postgres-ssl-off-GOt5Ja.mdx@@ -12,6 +12,6 @@ message = "no pg_hba.conf entry for host \"xx.xxx.xxx.xxx\", user \"postgres\",This error indicates a failed authentication attempt to the database and the connection couldn't be established.-In Supabase, this is generally seen when [SSL enforcement](https://supabase.com/docs/guides/platform/ssl-enforcement) is enabled on your Supabase Project. The authentication failed because the incoming connection didn't use SSL encryption when connecting to the database.+In Supabase, this is generally seen when [SSL enforcement](/docs/guides/platform/ssl-enforcement) is enabled on your Supabase Project. The authentication failed because the incoming connection didn't use SSL encryption when connecting to the database.You can ignore this message if the attempt is from an unknown user. If you want this connection attempt to be successful, you will either need to connect with SSL or disable SSL enforcement on your Supabase project.diff --git a/apps/docs/content/troubleshooting/exhaust-disk-io.mdx b/apps/docs/content/troubleshooting/exhaust-disk-io.mdxindex 9303e6ec283..10ca8f7afab 100644--- a/apps/docs/content/troubleshooting/exhaust-disk-io.mdx+++ b/apps/docs/content/troubleshooting/exhaust-disk-io.mdx@@ -23,7 +23,7 @@ Running out of Disk IO Budget means that your instance is using more disk than i## Monitor your disk IO budget-To check your Disk IO Budget on the Supabase Platform, head over to [Database Health in the Reports section](https://supabase.com/dashboard/project/_/reports/database).+To check your Disk IO Budget on the Supabase Platform, head over to [Database Health in the Reports section](/dashboard/project/_/reports/database).It is also possible to monitor your resources and set up alerts using Prometheus/Grafana. With Grafana you will be able to pinpoint potential causes and see more fine-grained metrics like how much of your RAM is used for caching and your Swap usage. Read the [Metrics Guide](/docs/guides/platform/metrics) to learn more.@@ -38,5 +38,5 @@ Most operations on your Supabase project require disk IO in some form. Hence, th## How to fix-1. **Upgrade your compute:** You can get a Compute Add-on for your project. Larger compute options (4XL and above) have more consistent disk performance. See your [upgrade options](https://supabase.com/dashboard/project/_/settings/compute-and-disk) by selecting your project. Do reference the [different baseline performances](/docs/guides/platform/compute-add-ons#compute-size) that come with larger Compute Add-ons.+1. **Upgrade your compute:** You can get a Compute Add-on for your project. Larger compute options (4XL and above) have more consistent disk performance. See your [upgrade options](/dashboard/project/_/settings/compute-and-disk) by selecting your project. Do reference the [different baseline performances](/docs/guides/platform/compute-add-ons#compute-size) that come with larger Compute Add-ons.2. **Optimize performance:** Get more out of your instance's resources by optimizing your usage. Have a look at our [performance tuning guide](/docs/guides/platform/performance#examining-query-performance) and our [production readiness guide](/docs/guides/platform/going-into-prod#performance).diff --git a/apps/docs/content/troubleshooting/exhaust-ram.mdx b/apps/docs/content/troubleshooting/exhaust-ram.mdxindex 8fad5d819e4..fa2d987492e 100644--- a/apps/docs/content/troubleshooting/exhaust-ram.mdx+++ b/apps/docs/content/troubleshooting/exhaust-ram.mdx@@ -17,9 +17,9 @@ You may observe elevated memory usage even when your database has little to no l## Issues with high memory usage-Every Supabase project runs in its own dedicated virtual machine. Your instance will have a different set of hardware provisioned depending on your [compute add-on](https://supabase.com/docs/guides/platform/compute-add-ons). Depending on your workload, your compute hardware may not be suitable and can result in high RAM usage.+Every Supabase project runs in its own dedicated virtual machine. Your instance will have a different set of hardware provisioned depending on your [compute add-on](/docs/guides/platform/compute-add-ons). Depending on your workload, your compute hardware may not be suitable and can result in high RAM usage.-A good proxy for unhealthy memory usage is swap usage. If you run out of RAM, your system will offload memory to your disk's much slower swap partition. If your swap is above 70%, chances are high that your compute hardware is not suitable for your workload. Head over to your project's [Database Health](https://supabase.com/dashboard/project/_/reports/database) to see your swap usage.+A good proxy for unhealthy memory usage is swap usage. If you run out of RAM, your system will offload memory to your disk's much slower swap partition. If your swap is above 70%, chances are high that your compute hardware is not suitable for your workload. Head over to your project's [Database Health](/dashboard/project/_/reports/database) to see your swap usage.High RAM usage could come with a range of issues:@@ -29,19 +29,19 @@ High RAM usage could come with a range of issues:## Monitor your RAM-To check your RAM usage on the Supabase Platform, head over to [Database Health in the Reports section](https://supabase.com/dashboard/project/_/reports/database).+To check your RAM usage on the Supabase Platform, head over to [Database Health in the Reports section](/dashboard/project/_/reports/database).-It is also possible to monitor your resources and set up alerts using Prometheus/Grafana. With Grafana you will be able to see how much of your RAM is used for caching and you can track other metrics such as your Swap usage. Read the [Metrics Guide](https://supabase.com/docs/guides/platform/metrics) to learn more.+It is also possible to monitor your resources and set up alerts using Prometheus/Grafana. With Grafana you will be able to see how much of your RAM is used for caching and you can track other metrics such as your Swap usage. Read the [Metrics Guide](/docs/guides/platform/metrics) to learn more.## Common reasons for high RAM usageEverything you do with your Supabase project requires memory in some form. Hence, there can be many reasons for high RAM usage. Here are some common ones:-- **Query performance:** Queries that take a long time to complete (>1 second) could be using your RAM inefficiently. Check our guide on [examining query performance](https://supabase.com/docs/guides/platform/performance#examining-query-performance).-- **Too many connections:** Every connection to your database consumes memory. You can check the number of active connections under [Database Roles](https://supabase.com/dashboard/project/_/database/roles) after you select your project. Read our guide on [too many open connections](https://supabase.com/docs/guides/platform/troubleshooting#too-many-open-connections).-- **Extensions:** Some extensions such as `timescaledb` or `pg_cron` can use a lot of memory. It can also add up when you have too many extensions running. You can manage your database extensions in the dashboard under [Extensions](https://supabase.com/dashboard/project/_/database/extensions).+- **Query performance:** Queries that take a long time to complete (>1 second) could be using your RAM inefficiently. Check our guide on [examining query performance](/docs/guides/platform/performance#examining-query-performance).+- **Too many connections:** Every connection to your database consumes memory. You can check the number of active connections under [Database Roles](/dashboard/project/_/database/roles) after you select your project. Read our guide on [too many open connections](/docs/guides/platform/troubleshooting#too-many-open-connections).+- **Extensions:** Some extensions such as `timescaledb` or `pg_cron` can use a lot of memory. It can also add up when you have too many extensions running. You can manage your database extensions in the dashboard under [Extensions](/dashboard/project/_/database/extensions).## How to fix your memory issues-1. **Upgrade your compute:** You can get a Compute Add-on for your project. See your [upgrade options](https://supabase.com/dashboard/project/_/settings/compute-and-disk) by selecting your project.-2. **Optimize performance:** Get more out of your instance's resources by optimizing your usage. Have a look at our [performance tuning guide](https://supabase.com/docs/guides/platform/performance#examining-query-performance) and our [production readiness guide](https://supabase.com/docs/guides/platform/going-into-prod#performance).+1. **Upgrade your compute:** You can get a Compute Add-on for your project. See your [upgrade options](/dashboard/project/_/settings/compute-and-disk) by selecting your project.+2. **Optimize performance:** Get more out of your instance's resources by optimizing your usage. Have a look at our [performance tuning guide](/docs/guides/platform/performance#examining-query-performance) and our [production readiness guide](/docs/guides/platform/going-into-prod#performance).diff --git a/apps/docs/content/troubleshooting/exhaust-swap.mdx b/apps/docs/content/troubleshooting/exhaust-swap.mdxindex 32387aabed8..822d4ecaf72 100644--- a/apps/docs/content/troubleshooting/exhaust-swap.mdx+++ b/apps/docs/content/troubleshooting/exhaust-swap.mdx@@ -15,7 +15,7 @@ High Swap is usually not a problem unless other resources (such as RAM) are cons</Admonition>-Every Supabase project runs on its own dedicated virtual machine. The machine's underlying specs and hardware depend on your [compute add-on](https://supabase.com/docs/guides/platform/compute-add-ons). If your hardware isn't suitable for your workload, you might experience high Swap usage.+Every Supabase project runs on its own dedicated virtual machine. The machine's underlying specs and hardware depend on your [compute add-on](/docs/guides/platform/compute-add-ons). If your hardware isn't suitable for your workload, you might experience high Swap usage.Swap is a portion of your instance's disk that is reserved for the operating system to use when the available RAM has been utilized. As it uses the disk, Swap is slower to access and is generally used as a last resort.@@ -33,9 +33,9 @@ High Swap usage can affect your database performance. For example, you might see## Monitor your swap-You can check your Swap usage directly on the Supabase Platform. Navigate to the [**Database** page](https://supabase.com/dashboard/project/_/reports/database) of the **Reports** section.+You can check your Swap usage directly on the Supabase Platform. Navigate to the [**Database** page](/dashboard/project/_/reports/database) of the **Reports** section.-You can also monitor your resources and set up alerts using Prometheus/Grafana. See the [metrics guide](https://supabase.com/docs/guides/platform/metrics) for more information.+You can also monitor your resources and set up alerts using Prometheus/Grafana. See the [metrics guide](/docs/guides/platform/metrics) for more information.An [example repository](https://github.com/supabase/supabase-grafana) to ingest metrics and visualize them with Grafana is provided in the linked guide, where we maintain a [list of the exported metrics](https://github.com/supabase/supabase-grafana/blob/main/docs/metrics.md).@@ -51,7 +51,7 @@ Some useful metrics to monitor are (this is not an exhaustive list):Everything you do with your Supabase project requires compute. Hence, there can be many reasons for high Swap usage. Here are some common ones:- **Query performance:** You might have high read traffic or queries that process a large amount of data on disk (this can happen even if you are returning a small amount of data).-- **Missing indexes:** Your database might have to scan through a large amount of data to find the information it needs. Creating indexes helps your database find data faster. See the [indexes guide](https://supabase.com/docs/guides/database/postgres/indexes) to learn more.+- **Missing indexes:** Your database might have to scan through a large amount of data to find the information it needs. Creating indexes helps your database find data faster. See the [indexes guide](/docs/guides/database/postgres/indexes) to learn more.- **Unsuitable compute:** The compute size of your Supabase project might not be suitable for your application as you might have more traffic or run resource-intensive operations.- **Workload style:** The usage pattern of your Supabase project might be more read heavy, or involve large amounts of data.- **Extensions:** You might be using extensions that perform intensive operations on large datasets. This increases resource usage.@@ -60,6 +60,6 @@ Everything you do with your Supabase project requires compute. Hence, there canIf you find that your RAM and Swap usage are high, you have three options:-1. **Optimize performance:** Get more out of your instance's resources by optimizing your usage. See the [performance tuning guide](https://supabase.com/docs/guides/platform/performance#examining-query-performance) and our [production readiness guide](https://supabase.com/docs/guides/platform/going-into-prod#performance).-2. **Upgrade your compute:** You can get a Compute Add-on for your project. Follow [this link](https://supabase.com/dashboard/project/_/settings/compute-and-disk) and select your project to see your upgrade options.-3. **Read Replicas:** You can spread the load on your Supabase project by creating a Read Replica. See [the read replicas guide](https://supabase.com/docs/guides/platform/read-replicas) for more information.+1. **Optimize performance:** Get more out of your instance's resources by optimizing your usage. See the [performance tuning guide](/docs/guides/platform/performance#examining-query-performance) and our [production readiness guide](/docs/guides/platform/going-into-prod#performance).+2. **Upgrade your compute:** You can get a Compute Add-on for your project. Follow [this link](/dashboard/project/_/settings/compute-and-disk) and select your project to see your upgrade options.+3. **Read Replicas:** You can spread the load on your Supabase project by creating a Read Replica. See [the read replicas guide](/docs/guides/platform/read-replicas) for more information.diff --git a/apps/docs/content/troubleshooting/fixing-520-errors-in-the-database-rest-api-Ur5-B2.mdx b/apps/docs/content/troubleshooting/fixing-520-errors-in-the-database-rest-api-Ur5-B2.mdxindex f1d5a150a35..571c2161caa 100644--- a/apps/docs/content/troubleshooting/fixing-520-errors-in-the-database-rest-api-Ur5-B2.mdx+++ b/apps/docs/content/troubleshooting/fixing-520-errors-in-the-database-rest-api-Ur5-B2.mdx@@ -34,9 +34,9 @@ const { data, error } = await supabase.not('id', 'in', '(5,6,7,8,9,...10,000)')```-To circumvent this issue, you must use [RPCs](https://supabase.com/docs/reference/javascript/explain?queryGroups=example&example=call-a-postgres-function-with-arguments). They are database functions that you can call from the API. Instead of including a query's structure within the URL or header, they move it into the request's payload.+To circumvent this issue, you must use [RPCs](/docs/reference/javascript/explain?queryGroups=example&example=call-a-postgres-function-with-arguments). They are database functions that you can call from the API. Instead of including a query's structure within the URL or header, they move it into the request's payload.-Here is a basic example of a [database function](https://supabase.com/docs/guides/database/functions)+Here is a basic example of a [database function](/docs/guides/database/functions)```sqlcreate or replace function example(id uuid[])@@ -50,7 +50,7 @@ end;$$;```-The [RPC](https://supabase.com/docs/reference/javascript/explain?queryGroups=example&example=call-a-postgres-function-with-arguments) can then call the function with an array that contains more than 16KB of data+The [RPC](/docs/reference/javascript/explain?queryGroups=example&example=call-a-postgres-function-with-arguments) can then call the function with an array that contains more than 16KB of data```javascriptconst { data, error } = await supabase.rpc('example', { id: ['e2f34fb9-bbf9-4649-9b2f-09ec56e67a42', ...900 more UUIDs] })diff --git a/apps/docs/content/troubleshooting/forbidden-resource-error-from-the-cli-L6rm6l.mdx b/apps/docs/content/troubleshooting/forbidden-resource-error-from-the-cli-L6rm6l.mdxindex 0e05e528fe1..2c8fba0f00f 100644--- a/apps/docs/content/troubleshooting/forbidden-resource-error-from-the-cli-L6rm6l.mdx+++ b/apps/docs/content/troubleshooting/forbidden-resource-error-from-the-cli-L6rm6l.mdx@@ -18,10 +18,10 @@ This error typically occurs as a protective measure to prevent unauthorized acceTo address this issue, we recommend following these troubleshooting steps:-- Verify Project ID: Ensure the $PROJECT*REF variable in your commands contains the correct Project ID. You can find your Reference ID under [Project -> Settings -> General](https://supabase.com/dashboard/project/*/settings/general) in your Supabase Dashboard. A Reference ID looks something like `xvljpkujuwroxcuvossw`.-- Authorization Check: Confirm that you’ve been properly authorized. You can also generate a new Access Token in your dashboard and use it for login. Generate a new token [here](https://supabase.com/dashboard/account/tokens) and use it to [log in](https://supabase.com/docs/reference/cli/supabase-login).-- Re-link Project: Try [re-linking](https://supabase.com/docs/reference/cli/supabase-link) your project with the newly generated token.-- Owner/Admin Permissions: Make sure you have [Owner/Admin](https://supabase.com/docs/guides/platform/access-control) permissions for the project.+- Verify Project ID: Ensure the $PROJECT*REF variable in your commands contains the correct Project ID. You can find your Reference ID under [Project -> Settings -> General](/dashboard/project/*/settings/general) in your Supabase Dashboard. A Reference ID looks something like `xvljpkujuwroxcuvossw`.+- Authorization Check: Confirm that you’ve been properly authorized. You can also generate a new Access Token in your dashboard and use it for login. Generate a new token [here](/dashboard/account/tokens) and use it to [log in](/docs/reference/cli/supabase-login).+- Re-link Project: Try [re-linking](/docs/reference/cli/supabase-link) your project with the newly generated token.+- Owner/Admin Permissions: Make sure you have [Owner/Admin](/docs/guides/platform/access-control) permissions for the project.- CLI Version: Ensure you are using the latest version of the Supabase CLI. If not, update to the most recent version available at [Supabase CLI GitHub](https://github.com/supabase/cli).-If the issue persists, add a --debug --create-ticket flags to your command and contact [support](https://supabase.com/support) with the ticket id and debug logs, which can help in diagnosing the problem further.+If the issue persists, add a --debug --create-ticket flags to your command and contact [support](/support) with the ticket id and debug logs, which can help in diagnosing the problem further.diff --git a/apps/docs/content/troubleshooting/grafana-not-displaying-data-sXJrMj.mdx b/apps/docs/content/troubleshooting/grafana-not-displaying-data-sXJrMj.mdxindex 89cb4b08a06..680cbb201ce 100644--- a/apps/docs/content/troubleshooting/grafana-not-displaying-data-sXJrMj.mdx+++ b/apps/docs/content/troubleshooting/grafana-not-displaying-data-sXJrMj.mdx@@ -7,7 +7,7 @@ keywords = [ "grafana", "docker", "metrics", "configuration" ]database_id = "76a4099e-450f-4b5b-a539-224760348c18"----This guide is for identifying configuration mistakes in [self-hosted Supabase Grafana installations](https://supabase.com/docs/guides/monitoring-troubleshooting/metrics#deploying-supabase-grafana)+This guide is for identifying configuration mistakes in [self-hosted Supabase Grafana installations](/docs/guides/monitoring-troubleshooting/metrics#deploying-supabase-grafana)## Step 1: Ping your Grafana endpointdiff --git a/apps/docs/content/troubleshooting/high-cpu-usage.mdx b/apps/docs/content/troubleshooting/high-cpu-usage.mdxindex ca417040d98..063deba02cd 100644--- a/apps/docs/content/troubleshooting/high-cpu-usage.mdx+++ b/apps/docs/content/troubleshooting/high-cpu-usage.mdx@@ -9,7 +9,7 @@ Learn what high CPU usage could mean for your Supabase instance and what could h## The danger of high CPU usage-Every Supabase project runs in its dedicated virtual machine. Your instance will have a different set of hardware provisioned depending on your [compute add-on](https://supabase.com/docs/guides/platform/compute-add-ons). Your hardware may not be suitable for the intended workload and may experience high CPU usage.+Every Supabase project runs in its dedicated virtual machine. Your instance will have a different set of hardware provisioned depending on your [compute add-on](/docs/guides/platform/compute-add-ons). Your hardware may not be suitable for the intended workload and may experience high CPU usage.High CPU usage could come with a range of issues:@@ -21,23 +21,23 @@ Moreover, your instance might not be able to handle future traffic spikes if it## Monitor your CPU-You can check your CPU usage directly on the Supabase Platform. For this go to database health in the reports section or [click here](https://supabase.com/dashboard/project/_/reports/database) and select your project.+You can check your CPU usage directly on the Supabase Platform. For this go to database health in the reports section or [click here](/dashboard/project/_/reports/database) and select your project.-It is also possible to monitor your resources and set up alerts using Prometheus/Grafana. You can find a guide for this [here](https://supabase.com/docs/guides/platform/metrics).+It is also possible to monitor your resources and set up alerts using Prometheus/Grafana. You can find a guide for this [here](/docs/guides/platform/metrics).## Common reasons for high CPU usageEverything you do with your Supabase project requires compute. Hence, there can be many reasons for high CPU usage. Here are some common ones:-- **Query performance:** Queries that take a long time to complete (>1 second) as well as excessive amounts of querying can put a strain on the CPU. Check our guide on [examining query performance](https://supabase.com/docs/guides/platform/performance#examining-query-performance).-- **Missing indexes:** Your database might have to scan through a large amount of data to find the information it needs. Creating indexes helps your database find data faster. Learn more about indexes [here](https://supabase.com/docs/guides/database/postgres/indexes).+- **Query performance:** Queries that take a long time to complete (>1 second) as well as excessive amounts of querying can put a strain on the CPU. Check our guide on [examining query performance](/docs/guides/platform/performance#examining-query-performance).+- **Missing indexes:** Your database might have to scan through a large amount of data to find the information it needs. Creating indexes helps your database find data faster. Learn more about indexes [here](/docs/guides/database/postgres/indexes).- **Unsuitable compute:** The compute size of your Supabase project might not be suitable for your application as you might have more traffic or run resource-intensive operations.## Solving high CPU usageThere are two ways to solve high CPU:-1. **Optimize performance:** Get more out of your instance's resources by optimizing your usage. Have a look at our [performance tuning guide](https://supabase.com/docs/guides/platform/performance#examining-query-performance) and our [production readiness guide](https://supabase.com/docs/guides/platform/going-into-prod#performance).-2. **Upgrade your compute:** You can get a Compute Add-on for your project. Follow [this link](https://supabase.com/dashboard/project/_/settings/compute-and-disk) and select your project to see your upgrade options.+1. **Optimize performance:** Get more out of your instance's resources by optimizing your usage. Have a look at our [performance tuning guide](/docs/guides/platform/performance#examining-query-performance) and our [production readiness guide](/docs/guides/platform/going-into-prod#performance).+2. **Upgrade your compute:** You can get a Compute Add-on for your project. Follow [this link](/dashboard/project/_/settings/compute-and-disk) and select your project to see your upgrade options.diff --git a/apps/docs/content/troubleshooting/how-do-i-reset-my-supabase-database-password-oTs5sB.mdx b/apps/docs/content/troubleshooting/how-do-i-reset-my-supabase-database-password-oTs5sB.mdxindex bfbebfe4ce1..118ae5543b1 100644--- a/apps/docs/content/troubleshooting/how-do-i-reset-my-supabase-database-password-oTs5sB.mdx+++ b/apps/docs/content/troubleshooting/how-do-i-reset-my-supabase-database-password-oTs5sB.mdx@@ -7,4 +7,4 @@ keywords = [ "password", "reset" ]database_id = "6e4a515c-5e70-4b92-808c-f076d47d4e35"----You can reset your database password from the [Database Settings page](https://supabase.com/dashboard/project/_/database/settings) on the project dashboard.+You can reset your database password from the [Database Settings page](/dashboard/project/_/database/settings) on the project dashboard.diff --git a/apps/docs/content/troubleshooting/how-do-i-update-connection-pool-settings-in-my-dashboard-wAxTJ_.mdx b/apps/docs/content/troubleshooting/how-do-i-update-connection-pool-settings-in-my-dashboard-wAxTJ_.mdxindex 27cc8f454b1..c07e74b69b4 100644--- a/apps/docs/content/troubleshooting/how-do-i-update-connection-pool-settings-in-my-dashboard-wAxTJ_.mdx+++ b/apps/docs/content/troubleshooting/how-do-i-update-connection-pool-settings-in-my-dashboard-wAxTJ_.mdx@@ -18,16 +18,16 @@ The subdomain will vary depending on the region a project is deployed in. The pr- How to update the size of the connection pool to the database:You can set the `Max Client Connections` field in your database settings here:-[https://supabase.com/dashboard/project/\_/database/settings](https://supabase.com/dashboard/project/_/database/settings)+[https://supabase.com/dashboard/project/\_/database/settings](/dashboard/project/_/database/settings)- How to change the client connection limit:You can set the `Default Pool Size` field in your database settings:-[https://supabase.com/dashboard/project/\_/database/settings](https://supabase.com/dashboard/project/_/database/settings)+[https://supabase.com/dashboard/project/\_/database/settings](/dashboard/project/_/database/settings)- How to use `session` mode:With Supavisor you can automatically use `session` mode by using the connection string with port `5432` in it.You can also set the pooler port 6543 to use `session` mode in the database settings:-[https://supabase.com/dashboard/project/\_/database/settings](https://supabase.com/dashboard/project/_/database/settings)+[https://supabase.com/dashboard/project/\_/database/settings](/dashboard/project/_/database/settings)diff --git a/apps/docs/content/troubleshooting/how-do-you-troubleshoot-nextjs---supabase-auth-issues-riMCZV.mdx b/apps/docs/content/troubleshooting/how-do-you-troubleshoot-nextjs---supabase-auth-issues-riMCZV.mdxindex ce47ad549a0..f0c3a576bf6 100644--- a/apps/docs/content/troubleshooting/how-do-you-troubleshoot-nextjs---supabase-auth-issues-riMCZV.mdx+++ b/apps/docs/content/troubleshooting/how-do-you-troubleshoot-nextjs---supabase-auth-issues-riMCZV.mdx@@ -12,7 +12,7 @@ Authentication is hard. SSR is harder. At Supabase, we try to address these togeIf you are experiencing issues with Supabase Auth and SSR, the following checklist will help you troubleshoot the issues.✅ You’re on the latest version of `@supabase/ssr` package. Note that the `@supabase/auth-helpers` package is being deprecated, and all the bug fixes and feature releases will be focused on the `@supabase/ssr` package.-✅ Do you have all the client utility functions implemented? This way, you can import them into your components that need access to Supabase auth functions. Make sure to follow the [guide available here](https://supabase.com/docs/guides/auth/server-side/creating-a-client?queryGroups=framework&framework=nextjs&queryGroups=environment&environment=client-component#creating-a-client) carefully to avoid running into unexpected errors.+✅ Do you have all the client utility functions implemented? This way, you can import them into your components that need access to Supabase auth functions. Make sure to follow the [guide available here](/docs/guides/auth/server-side/creating-a-client?queryGroups=framework&framework=nextjs&queryGroups=environment&environment=client-component#creating-a-client) carefully to avoid running into unexpected errors.✅ Do you have the `middleware.ts` file correctly implemented? This lets you refresh expired sessions before loading server components that require a user session for authorization.This documentation will help you validate that you’re on the correct path.diff --git a/apps/docs/content/troubleshooting/how-to-change-max-database-connections-_BQ8P5.mdx b/apps/docs/content/troubleshooting/how-to-change-max-database-connections-_BQ8P5.mdxindex c4a575774b3..42a667aaeb8 100644--- a/apps/docs/content/troubleshooting/how-to-change-max-database-connections-_BQ8P5.mdx+++ b/apps/docs/content/troubleshooting/how-to-change-max-database-connections-_BQ8P5.mdx@@ -14,7 +14,7 @@ cli = [ "supabase-postgres-config-update" ]# Changing max database connections:-Each compute instance has a default direct connection and pooler connection settings. You can find the most recent settings in the [compute docs](https://supabase.com/docs/guides/platform/compute-add-ons#disk-io):+Each compute instance has a default direct connection and pooler connection settings. You can find the most recent settings in the [compute docs](/docs/guides/platform/compute-add-ons#disk-io):| Compute Size | Direct Connections | Pooler Connections || ------------ | ------------------ | ------------------ |@@ -34,7 +34,7 @@ Each compute instance has a default direct connection and pooler connection sett> Note: the Supavisor connection limits are hard-coded and cannot be changed without upgrading the compute size:-You can configure the maximum amount of connections that Postgres will tolerate with the [Supabase CLI.](https://supabase.com/docs/guides/platform/custom-postgres-config)+You can configure the maximum amount of connections that Postgres will tolerate with the [Supabase CLI.](/docs/guides/platform/custom-postgres-config)You can run the following commands:@@ -83,7 +83,7 @@ To avoid displacing cache or straining system resources, it is advised to not inPostgres will allow you to overcommit memory. You can run the below query to find out the hypothetical max value you could change it to without risking memory failure:-> NOTE: You can find your server memory in the [compute add-ons docs](https://supabase.com/docs/guides/platform/compute-add-ons)+> NOTE: You can find your server memory in the [compute add-ons docs](/docs/guides/platform/compute-add-ons)```sqlselectdiff --git a/apps/docs/content/troubleshooting/how-to-delete-a-role-in-postgres-8-AvxY.mdx b/apps/docs/content/troubleshooting/how-to-delete-a-role-in-postgres-8-AvxY.mdxindex 57bf133d824..28f77313395 100644--- a/apps/docs/content/troubleshooting/how-to-delete-a-role-in-postgres-8-AvxY.mdx+++ b/apps/docs/content/troubleshooting/how-to-delete-a-role-in-postgres-8-AvxY.mdx@@ -38,4 +38,4 @@ DROP OWNED BY <role>;DROP role <role>;```-If you encounter any issues, create a [support ticket](https://supabase.com/dashboard/support/new)+If you encounter any issues, create a [support ticket](/dashboard/support/new)diff --git a/apps/docs/content/troubleshooting/how-to-delete-vercel-linked-projects-9d08aa.mdx b/apps/docs/content/troubleshooting/how-to-delete-vercel-linked-projects-9d08aa.mdxindex 0d4625be92b..40b40d8d86e 100644--- a/apps/docs/content/troubleshooting/how-to-delete-vercel-linked-projects-9d08aa.mdx+++ b/apps/docs/content/troubleshooting/how-to-delete-vercel-linked-projects-9d08aa.mdx@@ -17,7 +17,7 @@ This method requires two steps - first delete in Supabase, then clean up in Verc1. **Delete from Supabase Dashboard**- Go to your [project settings](https://supabase.com/dashboard/project/_/settings/general) and click **"Delete project"**. This permanently removes your database and marks it as "uninstalled" in Vercel.+ Go to your [project settings](/dashboard/project/_/settings/general) and click **"Delete project"**. This permanently removes your database and marks it as "uninstalled" in Vercel.<Imagealt="Delete project button in Supabase project settings"@@ -99,7 +99,7 @@ If you want to move a Vercel-linked project to a different organization:1. **Transfer the project**- Go to your [project settings](https://supabase.com/dashboard/project/_/settings/general) and look for **"Transfer Project"**. Transfer your project to a different organization.+ Go to your [project settings](/dashboard/project/_/settings/general) and look for **"Transfer Project"**. Transfer your project to a different organization.<Imagealt="Transfer project option in Supabase project settings"@@ -132,7 +132,7 @@ Delete all associated projects before deleting the organization.1. **Navigate to organization settings and delete**- Go to your [organization settings](https://supabase.com/dashboard/org/_/general) and click **"Delete organization in Vercel Marketplace"**. This opens the Vercel settings page.+ Go to your [organization settings](/dashboard/org/_/general) and click **"Delete organization in Vercel Marketplace"**. This opens the Vercel settings page.<Imagealt="Delete organization in Vercel Marketplace button"@@ -163,7 +163,7 @@ If you encounter issues:1. Verify you have necessary permissions in both platforms2. Refresh your browser and retry3. Ensure all projects are deleted before deleting the organization-4. [Contact support](https://supabase.com/dashboard/support/new) if problems persist+4. [Contact support](/dashboard/support/new) if problems persist## Related resourcesdiff --git a/apps/docs/content/troubleshooting/how-to-interpret-and-explore-the-postgres-logs-OuCIOj.mdx b/apps/docs/content/troubleshooting/how-to-interpret-and-explore-the-postgres-logs-OuCIOj.mdxindex cbb13ea5b67..3a0ac0ea1e1 100644--- a/apps/docs/content/troubleshooting/how-to-interpret-and-explore-the-postgres-logs-OuCIOj.mdx+++ b/apps/docs/content/troubleshooting/how-to-interpret-and-explore-the-postgres-logs-OuCIOj.mdx@@ -35,7 +35,7 @@ Logs provide insights into Postgres operations. They help meet compliance requir## Querying logs-The most practical way to explore and filter logs is through the [Logs Explorer](https://supabase.com/dashboard/project/_/logs/explorer).+The most practical way to explore and filter logs is through the [Logs Explorer](/dashboard/project/_/logs/explorer).It uses a subset of BigQuery SQL syntax and pre-parses queries for optimization. This imposes three primary limitations:@@ -259,11 +259,11 @@ limit 100;### Customized object and role activity logging-> ⚠️ NOTE: This is specifically designated for those using the `postgres` role or [custom roles](https://supabase.com/docs/guides/database/postgres/roles) to interact with their database. Those utilizing the Database REST API should reference the [Database API Logging Guide](https://github.com/orgs/supabase/discussions/22849) instead.+> ⚠️ NOTE: This is specifically designated for those using the `postgres` role or [custom roles](/docs/guides/database/postgres/roles) to interact with their database. Those utilizing the Database REST API should reference the [Database API Logging Guide](https://github.com/orgs/supabase/discussions/22849) instead.When recording what is accessed and by whom, logging based on database roles and objects is the most reliable way to ensure a proper trail of activity.-You can use the [pg_audit](https://supabase.com/docs/guides/database/extensions/pgaudit) extension to selectively log relevant queries (not just errors) by certain roles, against specific database objects.+You can use the [pg_audit](/docs/guides/database/extensions/pgaudit) extension to selectively log relevant queries (not just errors) by certain roles, against specific database objects.You should take care when using the extension to not log all database events, but only what is absolutely necessary. Over-logging can strain the database and create log noise that makes it difficult to filter for relevant events.@@ -281,7 +281,7 @@ where### Filtering by IP-> If you are connecting from a known, limited range of IP addresses, you should enable [network restrictions](https://supabase.com/docs/guides/platform/network-restrictions).+> If you are connecting from a known, limited range of IP addresses, you should enable [network restrictions](/docs/guides/platform/network-restrictions).Monitoring IPs becomes tricky when dealing with dynamic addressing, such as those from serverless or edge environments. This challenge amplifies when relying on certain poolers, such as Prisma Accelerate, Supavisor, or Cloudflare's Hyperdrive, as they record the pooler's IP, not the true origin.@@ -367,7 +367,7 @@ show log_min_messages; -- default WARNING#### Configuring queries logged-By default, only failed queries are logged. The [PGAudit extension](https://supabase.com/docs/guides/database/extensions/pgaudit) extends Postgres's built-in logging abilities. It can be used to selectively track all queries in your database by:+By default, only failed queries are logged. The [PGAudit extension](/docs/guides/database/extensions/pgaudit) extends Postgres's built-in logging abilities. It can be used to selectively track all queries in your database by:- role- session@@ -376,7 +376,7 @@ By default, only failed queries are logged. The [PGAudit extension](https://supa#### Logging within database functions-To track or debug functions, logging can be configured by following the [function debugging guide](https://supabase.com/docs/guides/database/functions#general-logging)+To track or debug functions, logging can be configured by following the [function debugging guide](/docs/guides/database/functions#general-logging)# Frequently Asked Questions@@ -396,7 +396,7 @@ To see the default types of events that are logged, you can check this [guide](h- [Regex for filtering logs](https://github.com/orgs/supabase/discussions/22640)- [Debugging with the DB API logs](https://github.com/orgs/supabase/discussions/22849)-- [Debugging Database Functions](https://supabase.com/docs/guides/database/functions#debugging-functions)-- [pg_audit](https://supabase.com/docs/guides/database/extensions/pgaudit)-- [Supabase Logging](https://supabase.com/docs/guides/platform/logs)-- [Self-Hosting Logs](https://supabase.com/docs/reference/self-hosting-analytics/introduction)+- [Debugging Database Functions](/docs/guides/database/functions#debugging-functions)+- [pg_audit](/docs/guides/database/extensions/pgaudit)+- [Supabase Logging](/docs/guides/platform/logs)+- [Self-Hosting Logs](/docs/reference/self-hosting-analytics/introduction)diff --git a/apps/docs/content/troubleshooting/how-to-migrate-from-supabase-auth-helpers-to-ssr-package-5NRunM.mdx b/apps/docs/content/troubleshooting/how-to-migrate-from-supabase-auth-helpers-to-ssr-package-5NRunM.mdxindex 0c324a7d9e6..22e9039d7ad 100644--- a/apps/docs/content/troubleshooting/how-to-migrate-from-supabase-auth-helpers-to-ssr-package-5NRunM.mdx+++ b/apps/docs/content/troubleshooting/how-to-migrate-from-supabase-auth-helpers-to-ssr-package-5NRunM.mdx@@ -309,7 +309,7 @@ Likewise, you can replace the clients created with `@supabase/auth-helpers-nextj`createServerComponentClient` → `createServerClient``createRouteHandlerClient` → `createServerClient`-You can find more clear and concise examples of creating clients in our documentation [here](https://supabase.com/docs/guides/auth/server-side/creating-a-client?queryGroups=framework&framework=nextjs&queryGroups=environment&environment=route-handler#creating-a-client).+You can find more clear and concise examples of creating clients in our documentation [here](/docs/guides/auth/server-side/creating-a-client?queryGroups=framework&framework=nextjs&queryGroups=environment&environment=route-handler#creating-a-client).If you have any feedback about this guide, provide them as a comment below. If you find any issues or have feedback for the `@supabase/ssr` client, post them as an issue in `@supabase/ssr` repo.diff --git a/apps/docs/content/troubleshooting/how-to-view-database-metrics-uqf2z_.mdx b/apps/docs/content/troubleshooting/how-to-view-database-metrics-uqf2z_.mdxindex 7c6d18e0968..f480c05f865 100644--- a/apps/docs/content/troubleshooting/how-to-view-database-metrics-uqf2z_.mdx+++ b/apps/docs/content/troubleshooting/how-to-view-database-metrics-uqf2z_.mdx@@ -7,6 +7,6 @@ keywords = [ "metrics", "grafana", "monitoring" ]database_id = "da2d95e5-abc5-47c8-8389-1554d12abf91"----To monitor real-time metrics of your database, like CPU, EBS, active database connections, and memory usage, you can deploy a Grafana Dashboard. Check our [GitHub repo](https://github.com/supabase/supabase-grafana) for setup instructions for local or free [Fly.io](http://fly.io/) deployments. Refer to our concise [documentation](https://supabase.com/docs/guides/platform/metrics) to learn more about the metrics endpoint.+To monitor real-time metrics of your database, like CPU, EBS, active database connections, and memory usage, you can deploy a Grafana Dashboard. Check our [GitHub repo](https://github.com/supabase/supabase-grafana) for setup instructions for local or free [Fly.io](http://fly.io/) deployments. Refer to our concise [documentation](/docs/guides/platform/metrics) to learn more about the metrics endpoint.-While the [Dashboard's Reports Page](https://supabase.com/dashboard/project/_/reports) displays some metric data, it provides hourly averages, not real-time by the second data. However, it offers query metrics, which the Grafana Dashboard does not include.+While the [Dashboard's Reports Page](/dashboard/project/_/reports) displays some metric data, it provides hourly averages, not real-time by the second data. However, it offers query metrics, which the Grafana Dashboard does not include.diff --git a/apps/docs/content/troubleshooting/http-api-issues.mdx b/apps/docs/content/troubleshooting/http-api-issues.mdxindex efd5cbc677f..a2bedc0ac3f 100644--- a/apps/docs/content/troubleshooting/http-api-issues.mdx+++ b/apps/docs/content/troubleshooting/http-api-issues.mdx@@ -23,14 +23,14 @@ The most common class of issues that causes HTTP timeouts and 5xx response codesEach Supabase project is provisioned with [segregated compute resources](../platform/compute-add-ons). This allows the project to serve unlimited requests, as long as they can be handled using the resources that have been provisioned. Complex queries, or queries that process larger amounts of data, will require higher amounts of resources. As such, the amount of resources that can handle a high volume of simple queries (or queries involving small amounts of data), will likely be unable to handle a similar volume of complex queries.-You can view the resource utilization of your Supabase Project using the [reports in the Dashboard](https://supabase.com/dashboard/project/_/reports/database).+You can view the resource utilization of your Supabase Project using the [reports in the Dashboard](/dashboard/project/_/reports/database).Some common solutions for this issue are:-- [Upgrading](https://supabase.com/dashboard/project/_/settings/compute-and-disk) to a [larger compute add-on](../platform/compute-add-ons) in order to serve higher volumes of traffic.+- [Upgrading](/dashboard/project/_/settings/compute-and-disk) to a [larger compute add-on](../platform/compute-add-ons) in order to serve higher volumes of traffic.- [Optimizing the queries](../platform/performance#examining-query-performance) being executed.- [Using fewer Postgres connections](../platform/performance#configuring-clients-to-use-fewer-connections) can reduce the amount of resources needed on the project.-- [Restarting](https://supabase.com/dashboard/project/_/settings/general) the project. This only temporarily solves the issue by terminating any ongoing workloads that might be tying up your compute resources.+- [Restarting](/dashboard/project/_/settings/general) the project. This only temporarily solves the issue by terminating any ongoing workloads that might be tying up your compute resources.- All databases of the project, including [Read replicas](/docs/guides/platform/read-replicas), will be restarted.- If you only want to restart a specific Read Replica, you can do so from the [Infrastructure Settings page](/dashboard/project/_/settings/infrastructure).@@ -38,19 +38,19 @@ If your [Disk IO budget](../platform/compute-add-ons#disk-io) has been drained,## Unable to connect to your Supabase project-Symptom: You're unable to connect to your Postgres database directly, but can open the Project in the [Supabase Dashboard](https://supabase.com/dashboard/project/_/).+Symptom: You're unable to connect to your Postgres database directly, but can open the Project in the [Supabase Dashboard](/dashboard/project/_/).### Too many open connections-Errors about too many open connections can be _temporarily_ resolved by [restarting the database](https://supabase.com/dashboard/project/_/settings/general). However, this won't solve the underlying issue for a permanent solution.+Errors about too many open connections can be _temporarily_ resolved by [restarting the database](/dashboard/project/_/settings/general). However, this won't solve the underlying issue for a permanent solution.- If you're receiving a `No more connections allowed (max_client_conn)` error:- Configure your applications and services to [use fewer connections](../platform/performance#configuring-clients-to-use-fewer-connections).- - [Upgrade](https://supabase.com/dashboard/project/_/settings/compute-and-disk) to a [larger compute add-on](../platform/compute-add-ons) to increase the number of available connections.+ - [Upgrade](/dashboard/project/_/settings/compute-and-disk) to a [larger compute add-on](../platform/compute-add-ons) to increase the number of available connections.- If you're receiving a `sorry, too many clients already` or `remaining connection slots are reserved for non-replication superuser connections` error message in addition to the above suggestions, switch to using the [connection pooler](/docs/guides/database/connecting-to-postgres#connection-pool) instead.### Connection refused-If you receive a `connection refused` error after a few initial failed connection attempts, your client has likely been temporarily blocked in order to protect the database from brute-force attacks. You can wait 30 minutes before trying again with the correct password, or you can [contact support](https://supabase.com/dashboard/support/new) with your client's IP address to manually unblock you.+If you receive a `connection refused` error after a few initial failed connection attempts, your client has likely been temporarily blocked in order to protect the database from brute-force attacks. You can wait 30 minutes before trying again with the correct password, or you can [contact support](/dashboard/support/new) with your client's IP address to manually unblock you.-If you're also unable to open the project using the [Supabase Dashboard](https://supabase.com/dashboard/project/_/), review the solutions for [under-provisioned projects](#under-provisioned-resources).+If you're also unable to open the project using the [Supabase Dashboard](/dashboard/project/_/), review the solutions for [under-provisioned projects](#under-provisioned-resources).diff --git a/apps/docs/content/troubleshooting/increase-vector-lookup-speeds-by-applying-an-hsnw-index-ohLHUM.mdx b/apps/docs/content/troubleshooting/increase-vector-lookup-speeds-by-applying-an-hsnw-index-ohLHUM.mdxindex 7389fb42ae4..cb16fd0202a 100644--- a/apps/docs/content/troubleshooting/increase-vector-lookup-speeds-by-applying-an-hsnw-index-ohLHUM.mdx+++ b/apps/docs/content/troubleshooting/increase-vector-lookup-speeds-by-applying-an-hsnw-index-ohLHUM.mdx@@ -26,13 +26,13 @@ operator | description | search type`<#>` | negative inner product | vector_ip_ops`<=>` | cosine distance | vector_cosine_ops-Queries can only utilize the index if it matches the search type used. If you are unsure which search type to prioritize, vector_cosine_ops is the most commonly used. You can checkout our [guide](https://supabase.com/docs/guides/ai/vector-indexes/hnsw-indexes) for more info. The folks at Crunchy Data also wrote an [explainer](https://www.crunchydata.com/blog/hnsw-indexes-with-postgres-and-pgvector) that you may find useful.+Queries can only utilize the index if it matches the search type used. If you are unsure which search type to prioritize, vector_cosine_ops is the most commonly used. You can checkout our [guide](/docs/guides/ai/vector-indexes/hnsw-indexes) for more info. The folks at Crunchy Data also wrote an [explainer](https://www.crunchydata.com/blog/hnsw-indexes-with-postgres-and-pgvector) that you may find useful.Applying an index can be slow and computationally expensive, so there are a few preparations that should be made beforehand:**1. Make sure your pgvector is the latest available version on Supabase.**-Versions 0.6 and later have accelerated HNSW build speeds. You can observe your current version in the [Dashboard's Extensions Page](https://supabase.com/dashboard/project/_/database/extensions). You can perform a software upgrade in the [Infrastructure Settings ](https://supabase.com/dashboard/project/_/settings/infrastructure)if necessary.+Versions 0.6 and later have accelerated HNSW build speeds. You can observe your current version in the [Dashboard's Extensions Page](/dashboard/project/_/database/extensions). You can perform a software upgrade in the [Infrastructure Settings ](/dashboard/project/_/settings/infrastructure)if necessary.**2. Setting up an external connection**@@ -46,7 +46,7 @@ sudo apt-get updatesudo apt-get install postgresql-client```-Once installed, you can find your PSQL string on the dashboard by clicking [connect](https://supabase.com/dashboard/project/_?showConnect=true). Make sure if you are using the pooler connection that it is the Session pooler (port 5432).+Once installed, you can find your PSQL string on the dashboard by clicking [connect](/dashboard/project/_?showConnect=true). Make sure if you are using the pooler connection that it is the Session pooler (port 5432).If your network can use IPv6, consider using the direct connection string instead of Supavisor. It's not mandatory, but for tasks that run a long time, it's best to reduce network complexity. To check if your network is compatible, use this cURL command to request your IPv6 address:@@ -54,7 +54,7 @@ If your network can use IPv6, consider using the direct connection string insteacurl -6 https://ifconfig.co/ip```-If an address is returned, you should use your direct connection string found on the dashboard by clicking [connect](https://supabase.com/dashboard/project/_?showConnect=true).+If an address is returned, you should use your direct connection string found on the dashboard by clicking [connect](/dashboard/project/_?showConnect=true).**3. Increase memory for index creation (optional)**@@ -72,7 +72,7 @@ show maintenance_work_mem;**4. Increase cores for index creation (optional)**-The `max_parallel_maintenance_workers` variable limits the amount of cores that can be used by maintenance operations, including indexing tables. In your session, you should try to set it to a value roughly 1/2 to 2/3s of your [compute core amount](https://supabase.com/docs/guides/platform/compute-add-ons):+The `max_parallel_maintenance_workers` variable limits the amount of cores that can be used by maintenance operations, including indexing tables. In your session, you should try to set it to a value roughly 1/2 to 2/3s of your [compute core amount](/docs/guides/platform/compute-add-ons):```sqlset max_parallel_maintenance_workers to <integer>;@@ -100,12 +100,12 @@ show statement_timeout;**6. Consider temporarily upgrading your compute size (optional)**-If your task is particularly long, you can speed it up by boosting your computing power temporarily. Compute size is charged by the hour, so you can increase it for an hour or two to finish your task faster, then scale it back afterwards. Here is a list of [compute add-ons](https://supabase.com/docs/guides/platform/compute-add-ons). If you want to temporarily upgrade, you can find the add-ons for your project in your [Dashboard's Add-ons Settings.](https://supabase.green/dashboard/project/_/settings/addons)+If your task is particularly long, you can speed it up by boosting your computing power temporarily. Compute size is charged by the hour, so you can increase it for an hour or two to finish your task faster, then scale it back afterwards. Here is a list of [compute add-ons](/docs/guides/platform/compute-add-ons). If you want to temporarily upgrade, you can find the add-ons for your project in your [Dashboard's Add-ons Settings.](https://supabase.green/dashboard/project/_/settings/addons)**7. Consider increasing disk size (optional)**HSNW indexes can produce temporary files during their construction that may consume a few GBs worth of disk.-Consider increasing the disk size in the [Compute and Disk settings](https://supabase.com/dashboard/project/_/settings/compute-and-disk) to accommodate for short-term disk stress.+Consider increasing the disk size in the [Compute and Disk settings](/dashboard/project/_/settings/compute-and-disk) to accommodate for short-term disk stress.<imgwidth="947"diff --git a/apps/docs/content/troubleshooting/inserting-into-sequenceserial-table-causes-duplicate-key-violates-unique-constraint-error-pi6DnC.mdx b/apps/docs/content/troubleshooting/inserting-into-sequenceserial-table-causes-duplicate-key-violates-unique-constraint-error-pi6DnC.mdxindex 62d23123f6a..c09d6d28ae7 100644--- a/apps/docs/content/troubleshooting/inserting-into-sequenceserial-table-causes-duplicate-key-violates-unique-constraint-error-pi6DnC.mdx+++ b/apps/docs/content/troubleshooting/inserting-into-sequenceserial-table-causes-duplicate-key-violates-unique-constraint-error-pi6DnC.mdx@@ -28,7 +28,7 @@ SELECT nextval(pg_get_serial_sequence('<public.table_name>', '<sequenced_column_If the values are off by more than 1, you need to resynchronize your sequence.-Back up your PG database by restarting in the [General Settings](https://supabase.com/dashboard/project/_/settings/general) (just in case). When you restore your database, you will have a backup saved. Alternatively, you can also just download your properties table instead as a backup.+Back up your PG database by restarting in the [General Settings](/dashboard/project/_/settings/general) (just in case). When you restore your database, you will have a backup saved. Alternatively, you can also just download your properties table instead as a backup.Then you can run this:diff --git a/apps/docs/content/troubleshooting/inspecting-edge-function-environment-variables-wg5qOQ.mdx b/apps/docs/content/troubleshooting/inspecting-edge-function-environment-variables-wg5qOQ.mdxindex dbd67af4b6f..c14c57e8d53 100644--- a/apps/docs/content/troubleshooting/inspecting-edge-function-environment-variables-wg5qOQ.mdx+++ b/apps/docs/content/troubleshooting/inspecting-edge-function-environment-variables-wg5qOQ.mdx@@ -62,7 +62,7 @@ Deno.serve(async (req) => {})```-After calling your function, you can check your [edge function logs](https://supabase.com/dashboard/project/_/functions/hello-world/logs?s=logging) to observe the logged values. It should look something like this:+After calling your function, you can check your [edge function logs](/dashboard/project/_/functions/hello-world/logs?s=logging) to observe the logged values. It should look something like this:> Note: search filters are case sensitive and must be present in the event message.diff --git a/apps/docs/content/troubleshooting/insufficient-privilege-when-accessing-pgstatstatements-e5M_EQ.mdx b/apps/docs/content/troubleshooting/insufficient-privilege-when-accessing-pgstatstatements-e5M_EQ.mdxindex af72fe2edce..f0e4bd28065 100644--- a/apps/docs/content/troubleshooting/insufficient-privilege-when-accessing-pgstatstatements-e5M_EQ.mdx+++ b/apps/docs/content/troubleshooting/insufficient-privilege-when-accessing-pgstatstatements-e5M_EQ.mdx@@ -10,7 +10,7 @@ database_id = "1da315be-38ac-487a-b178-f865a1a73c09"message = "insufficient privilege"----If you see the error "insufficient privilege" when accessing [pg_stat_statements](https://supabase.com/docs/guides/platform/performance#postgres-cumulative-statistics-system) or when accessing [Query Performance Report](https://supabase.com/dashboard/project/_/reports/query-performance), it means that the Postgres role does not have required permissions.+If you see the error "insufficient privilege" when accessing [pg_stat_statements](/docs/guides/platform/performance#postgres-cumulative-statistics-system) or when accessing [Query Performance Report](/dashboard/project/_/reports/query-performance), it means that the Postgres role does not have required permissions.In this case, you can run the below command to allow the Postgres role to read all statistics from the system:diff --git a/apps/docs/content/troubleshooting/interpreting-supabase-grafana-cpu-charts-9JSlkC.mdx b/apps/docs/content/troubleshooting/interpreting-supabase-grafana-cpu-charts-9JSlkC.mdxindex e74e03c479a..7f6e7c5442c 100644--- a/apps/docs/content/troubleshooting/interpreting-supabase-grafana-cpu-charts-9JSlkC.mdx+++ b/apps/docs/content/troubleshooting/interpreting-supabase-grafana-cpu-charts-9JSlkC.mdx@@ -7,7 +7,7 @@ keywords = [ "cpu", "grafana", "metrics" ]database_id = "ef05da0a-f8bc-44a4-9719-5ae811dba104"----> [Guide](https://supabase.com/docs/guides/monitoring-troubleshooting/metrics#deploying-supabase-grafana) for setting up Supabase Grafana+> [Guide](/docs/guides/monitoring-troubleshooting/metrics#deploying-supabase-grafana) for setting up Supabase Grafana# CPU@@ -33,7 +33,7 @@ As the CPU peaks towards 100%, queries and database tasks will begin to throttle### Optimizing:-1. [Optimize your queries](https://supabase.com/docs/guides/database/query-optimization).+1. [Optimize your queries](/docs/guides/database/query-optimization).2. [Add indexes](https://github.com/orgs/supabase/discussions/22449) if possible.-3. [Increasing the compute size](https://supabase.com/docs/guides/platform/compute-add-ons)-4. [Distribute load by using read-replicas](https://supabase.com/dashboard/project/_/settings/infrastructure)+3. [Increasing the compute size](/docs/guides/platform/compute-add-ons)+4. [Distribute load by using read-replicas](/dashboard/project/_/settings/infrastructure)diff --git a/apps/docs/content/troubleshooting/interpreting-supabase-grafana-io-charts-MUynDR.mdx b/apps/docs/content/troubleshooting/interpreting-supabase-grafana-io-charts-MUynDR.mdxindex 0026bcf779b..6a77d87b7ad 100644--- a/apps/docs/content/troubleshooting/interpreting-supabase-grafana-io-charts-MUynDR.mdx+++ b/apps/docs/content/troubleshooting/interpreting-supabase-grafana-io-charts-MUynDR.mdx@@ -7,7 +7,7 @@ keywords = [ "io", "disk", "database", "grafana" ]database_id = "0056cd40-df04-4045-bbfb-c245cb15b85d"----> [Supabase Grafana Installation Guide](https://supabase.com/docs/guides/platform/metrics#deploying-supabase-grafana)+> [Supabase Grafana Installation Guide](/docs/guides/platform/metrics#deploying-supabase-grafana)There are two primary values that matter for IO:@@ -53,8 +53,8 @@ Excessive IO usage is highly problematic as it clarifies that your database is e- **Excessive and needless sequential scans:** poorly indexed tables force requests to scan disk ([guide to resolve](https://github.com/orgs/supabase/discussions/22449))- **Too little cache**: There is not enough memory, so instead of reading data from the memory cache, it is accessed from disk ([guide to inspect](https://github.com/orgs/supabase/discussions/22449))-- **Poorly optimized RLS policies**: RLS that rely heavily on joins are more likely to hit disk. If possible, they should optimized ([RLS best practice guide](https://supabase.com/docs/guides/database/postgres/row-level-security#rls-performance-recommendations))-- **Excessive bloat**: This is the least likely to cause major issues, but bloat can take up space, preventing data on disk from being placed in the same locality. This can force the database to scan more pages than necessary. ([explainer guide](https://supabase.com/blog/postgres-bloat))+- **Poorly optimized RLS policies**: RLS that rely heavily on joins are more likely to hit disk. If possible, they should optimized ([RLS best practice guide](/docs/guides/database/postgres/row-level-security#rls-performance-recommendations))+- **Excessive bloat**: This is the least likely to cause major issues, but bloat can take up space, preventing data on disk from being placed in the same locality. This can force the database to scan more pages than necessary. ([explainer guide](/blog/postgres-bloat))- **Uploading high amounts of data:** temporarily increase compute add-on size for the duration of the uploads- **Insufficient memory**: Sometimes an inadequate amount of memory forces queries to hit disk instead of the memory cache. Address memory issues ([guide](https://github.com/orgs/supabase/discussions/27021)) can reduce disk strain.@@ -62,9 +62,9 @@ If a database exhibited some of these metrics for prolonged periods, then there- Scale the database to get more IO if possible- Optimize queries/tables or refactor database/app to reduce IO-- Spin-up a [read-replica](https://supabase.com/dashboard/project/_/settings/infrastructure)-- Modify IO configs in the [Compute and Disk settings](https://supabase.com/dashboard/project/_/settings/compute-and-disk)-- [Partitions](https://supabase.com/docs/guides/database/partitions): Generally should be used on very large tables to minimize data pulled from disk+- Spin-up a [read-replica](/dashboard/project/_/settings/infrastructure)+- Modify IO configs in the [Compute and Disk settings](/dashboard/project/_/settings/compute-and-disk)+- [Partitions](/docs/guides/database/partitions): Generally should be used on very large tables to minimize data pulled from diskOther useful Supabase Grafana guides:diff --git a/apps/docs/content/troubleshooting/lost-accessforgot-the-mfa-device-nAPT-7.mdx b/apps/docs/content/troubleshooting/lost-accessforgot-the-mfa-device-nAPT-7.mdxindex 0ff6b9fa9c2..554c6e1a3db 100644--- a/apps/docs/content/troubleshooting/lost-accessforgot-the-mfa-device-nAPT-7.mdx+++ b/apps/docs/content/troubleshooting/lost-accessforgot-the-mfa-device-nAPT-7.mdx@@ -9,10 +9,10 @@ database_id = "60bd4a35-fc2e-4e42-bcf6-a430d380c930"**Non-SSO User**-For now, we [will not be able to restore access to your account](https://supabase.com/docs/guides/platform/multi-factor-authentication#enable-mfa) if you lose all your two-factor authentication credentials. Register a backup factor if necessary.+For now, we [will not be able to restore access to your account](/docs/guides/platform/multi-factor-authentication#enable-mfa) if you lose all your two-factor authentication credentials. Register a backup factor if necessary.-If you forgot the MFA authentication method used, you can reach out to [our support](https://supabase.com/dashboard/support/new).+If you forgot the MFA authentication method used, you can reach out to [our support](/dashboard/support/new).**SSO User**-Reach out to [our support](https://supabase.com/dashboard/support/new) and we will assist you further.+Reach out to [our support](/dashboard/support/new) and we will assist you further.diff --git a/apps/docs/content/troubleshooting/migrating-auth-users-between-projects.mdx b/apps/docs/content/troubleshooting/migrating-auth-users-between-projects.mdxindex ce6e016e4f5..482a0ad31c9 100644--- a/apps/docs/content/troubleshooting/migrating-auth-users-between-projects.mdx+++ b/apps/docs/content/troubleshooting/migrating-auth-users-between-projects.mdx@@ -15,7 +15,7 @@ Each project is provisioned with a unique JWT secret used to sign and verify aut- If you reuse the original JWT secret in the new project, existing tokens will remain valid and users will not need to re-authenticate.You can configure a custom JWT secret in the new project by going to:-[Settings > API > JWT Secret](https://supabase.com/dashboard/project/_/settings/api)+[Settings > API > JWT Secret](/dashboard/project/_/settings/api)Note: Updating the JWT secret will regenerate your anon and service_role API keys in the new project.@@ -26,4 +26,4 @@ We don’t currently provide a one-size-fits-all script for migrating only the a- A full .backup file from the dashboard, or- SQL export/import via the Supabase CLI (e.g., pg_dump and psql)-[View Full Migration Guide](https://supabase.com/docs/guides/platform/migrating-within-supabase)+[View Full Migration Guide](/docs/guides/platform/migrating-within-supabase)diff --git a/apps/docs/content/troubleshooting/not-receiving-auth-emails-from-the-supabase-project-OFSNzw.mdx b/apps/docs/content/troubleshooting/not-receiving-auth-emails-from-the-supabase-project-OFSNzw.mdxindex 1617f4050ca..eb6a4880fce 100644--- a/apps/docs/content/troubleshooting/not-receiving-auth-emails-from-the-supabase-project-OFSNzw.mdx+++ b/apps/docs/content/troubleshooting/not-receiving-auth-emails-from-the-supabase-project-OFSNzw.mdx@@ -7,11 +7,11 @@ keywords = [ "smtp", "email", "delivery", "logs", "provider", "firewalls" ]database_id = "98e3b318-ad9a-41f5-ada0-44b61970ab4f"----**We strongly recommend configuring your own custom SMTP provider** in your projects to avoid running into issues with sending emails from your project. The built-in email provider is for demonstration purposes only and offers a very low rate limit. You can read more details about the rate limits [here](https://supabase.com/docs/guides/platform/going-into-prod#auth-rate-limits).+**We strongly recommend configuring your own custom SMTP provider** in your projects to avoid running into issues with sending emails from your project. The built-in email provider is for demonstration purposes only and offers a very low rate limit. You can read more details about the rate limits [here](/docs/guides/platform/going-into-prod#auth-rate-limits).If you're testing your Supabase projects, consider configuring an email testing tool like [Mailtrap](https://mailtrap.io/) to test your emails. It's an email sandbox tool that helps debug emails without actually sending an email to an end user.-As the initial step in debugging not-delivered emails, check your project's [Auth logs](https://supabase.com/dashboard/project/_/logs/auth-logs) for errors that can occur when handing over to the email providers. In general, handover issues can occur due to misconfiguration of the custom SMTP provider.+As the initial step in debugging not-delivered emails, check your project's [Auth logs](/dashboard/project/_/logs/auth-logs) for errors that can occur when handing over to the email providers. In general, handover issues can occur due to misconfiguration of the custom SMTP provider.Once handed over to the email provider, Supabase has no control over email delivery. There can be multiple reasons why emails do not reach the user's inbox.diff --git a/apps/docs/content/troubleshooting/pausing-pro-projects-vNL-2a.mdx b/apps/docs/content/troubleshooting/pausing-pro-projects-vNL-2a.mdxindex b3062b5422c..f451edf32c9 100644--- a/apps/docs/content/troubleshooting/pausing-pro-projects-vNL-2a.mdx+++ b/apps/docs/content/troubleshooting/pausing-pro-projects-vNL-2a.mdx@@ -10,13 +10,13 @@ database_id = "76b2e2b6-8f1d-448a-a3dd-cdf68755d1a9"cli = [ "supabase-login", "supabase-link", "supabase-init", "supabase-storage-cp" ]----Pro-Projects at the moment cannot be paused. However, [You are allowed to have two free organizations](https://supabase.com/docs/guides/platform/billing-on-supabase#free-plan) that can support one active project each and an unlimited amount of paused ones.+Pro-Projects at the moment cannot be paused. However, [You are allowed to have two free organizations](/docs/guides/platform/billing-on-supabase#free-plan) that can support one active project each and an unlimited amount of paused ones.-If a project is under 500MB, you can [transfer it to be under a free organization](https://supabase.com/docs/guides/platform/project-transfer). Afterwards, you can initiate a pause.+If a project is under 500MB, you can [transfer it to be under a free organization](/docs/guides/platform/project-transfer). Afterwards, you can initiate a pause.-Alternatively, you can download a [daily backup](https://supabase.com/dashboard/project/_/database/backups/scheduled) of just your database for archiving. You can also manually download a .SQL file of your database and storage buckets by following this [guide](https://supabase.com/docs/guides/platform/migrating-and-upgrading-projects#migrate-your-project).+Alternatively, you can download a [daily backup](/dashboard/project/_/database/backups/scheduled) of just your database for archiving. You can also manually download a .SQL file of your database and storage buckets by following this [guide](/docs/guides/platform/migrating-and-upgrading-projects#migrate-your-project).-You can also download your storage buckets with the [Supabase CLI:](https://supabase.com/docs/guides/cli/getting-started?queryGroups=platform&platform=npx)+You can also download your storage buckets with the [Supabase CLI:](/docs/guides/cli/getting-started?queryGroups=platform&platform=npx)```sqlnpx supabase logindiff --git a/apps/docs/content/troubleshooting/pgcron-debugging-guide-n1KTaz.mdx b/apps/docs/content/troubleshooting/pgcron-debugging-guide-n1KTaz.mdxindex 2bb869ce76f..38ee7bb8f2a 100644--- a/apps/docs/content/troubleshooting/pgcron-debugging-guide-n1KTaz.mdx+++ b/apps/docs/content/troubleshooting/pgcron-debugging-guide-n1KTaz.mdx@@ -13,11 +13,11 @@ This is a general guide for debugging pg_cron. Below lists issues and how to debCron jobs can only be modified with the respective SQL functions:-- Schedule: [cron.schedule](https://supabase.com/docs/guides/database/extensions/pg_cron#delete-data-every-week)-- Alter: [cron.alter_job](https://supabase.com/docs/guides/database/extensions/pg_cron#edit-a-job)-- Delete: [cron.unschedule](https://supabase.com/docs/guides/database/extensions/pg_cron#unschedule-a-job)+- Schedule: [cron.schedule](/docs/guides/database/extensions/pg_cron#delete-data-every-week)+- Alter: [cron.alter_job](/docs/guides/database/extensions/pg_cron#edit-a-job)+- Delete: [cron.unschedule](/docs/guides/database/extensions/pg_cron#unschedule-a-job)-If you are trying to make changes, use the cron functions. If the cron functions are inaccessible, contact [Support](https://supabase.com/dashboard/support/new)+If you are trying to make changes, use the cron functions. If the cron functions are inaccessible, contact [Support](/dashboard/support/new)<br />@@ -25,7 +25,7 @@ If you are trying to make changes, use the cron functions. If the cron functions# Cron Jobs are not running-> You should consider initiating a software upgrade in the [Infrastructure Settings](https://supabase.com/dashboard/project/_/settings/infrastructure) if your Postgres version is below v15.6.1.122. Upgrading will give you access to pg_cron v1.6.4+, which has many bug fixes and auto-revive capabilities.+> You should consider initiating a software upgrade in the [Infrastructure Settings](/dashboard/project/_/settings/infrastructure) if your Postgres version is below v15.6.1.122. Upgrading will give you access to pg_cron v1.6.4+, which has many bug fixes and auto-revive capabilities.## Debugging steps:@@ -46,7 +46,7 @@ SELECTFROM pg_stat_activity where application_name ilike 'pg_cron scheduler';```-If the query does not return a row, the worker has died. To revive it, you must go to the [General Settings](https://supabase.com/dashboard/project/_/settings/general) and initiate a fast reboot:+If the query does not return a row, the worker has died. To revive it, you must go to the [General Settings](/dashboard/project/_/settings/general) and initiate a fast reboot:<imgwidth="719"@@ -73,7 +73,7 @@ LIMIT 10;Respond to the errors exposed appropriately.-> Long running jobs may show timeout errors. For jobs that are intended to execute for extended periods, consider wrapping their queries in functions with custom timeouts ([guide](https://supabase.com/docs/guides/database/postgres/timeouts#function-level)).+> Long running jobs may show timeout errors. For jobs that are intended to execute for extended periods, consider wrapping their queries in functions with custom timeouts ([guide](/docs/guides/database/postgres/timeouts#function-level)).<br />@@ -106,7 +106,7 @@ SELECTFROM pg_stat_activity where application_name ilike 'pg_cron';```-You can view your concurrent peak connection usage throughout the day at the bottom of the [Reports Dashboard](https://supabase.com/dashboard/project/_/reports/database)+You can view your concurrent peak connection usage throughout the day at the bottom of the [Reports Dashboard](/dashboard/project/_/reports/database)<br />@@ -114,7 +114,7 @@ You can view your concurrent peak connection usage throughout the day at the botUnfortunately, excessive resource strain can slow down or disrupt jobs.-Go to the [reports page](https://supabase.com/dashboard/project/_/reports/database) (or [Supabase Grafana](https://supabase.com/docs/guides/monitoring-troubleshooting/metrics#deploying-supabase-grafana) if you have it setup), and check for signs of resource exhaustion. If it's clear your database is under pressure, consider upgrading your compute add-on or following the advice from one of the optimization guides:+Go to the [reports page](/dashboard/project/_/reports/database) (or [Supabase Grafana](/docs/guides/monitoring-troubleshooting/metrics#deploying-supabase-grafana) if you have it setup), and check for signs of resource exhaustion. If it's clear your database is under pressure, consider upgrading your compute add-on or following the advice from one of the optimization guides:- [Connections](https://github.com/orgs/supabase/discussions/27141)- [Disk/IO](https://github.com/orgs/supabase/discussions/27003)@@ -127,7 +127,7 @@ It is important to make sure you are running the latest release of pg_cron (1.6.### Check the log explorer for more information-Although pg*cron records errors in the `cron.job_run_details` table, in rare cases, more information can be found in the general Postgres logs. You can check the [Log Explorer](https://supabase.com/dashboard/project/*/logs/explorer) for failure events with the following query+Although pg*cron records errors in the `cron.job_run_details` table, in rare cases, more information can be found in the general Postgres logs. You can check the [Log Explorer](/dashboard/project/*/logs/explorer) for failure events with the following query```sqlselect@@ -152,7 +152,7 @@ order by timestamp desclimit 100;```-If you're interested in modifying the query, there is an advanced [guide](https://github.com/orgs/supabase/discussions/26224) for navigating the Postgres logs and a general purpose [one](https://supabase.com/docs/guides/platform/advanced-log-filtering) for applying filters.+If you're interested in modifying the query, there is an advanced [guide](https://github.com/orgs/supabase/discussions/26224) for navigating the Postgres logs and a general purpose [one](/docs/guides/platform/advanced-log-filtering) for applying filters.<br />@@ -184,13 +184,13 @@ end;$$;```-You can then search for your custom messages in the [Logs Interface](https://supabase.com/dashboard/project/_/logs/postgres-logs)+You can then search for your custom messages in the [Logs Interface](/dashboard/project/_/logs/postgres-logs)<br />### Upgrading pg_cron version-The current version of pg*cron on Supabase is 1.6.4. It comes with a [few bug fixes](https://github.com/citusdata/pg_cron/releases/tag/v1.6.4). You should consider upgrading to Postgres v15.6.1.122+ in the[ Infrastructure Settings](https://supabase.com/dashboard/project/*/settings/infrastructure) to get the latest extension.+The current version of pg*cron on Supabase is 1.6.4. It comes with a [few bug fixes](https://github.com/citusdata/pg_cron/releases/tag/v1.6.4). You should consider upgrading to Postgres v15.6.1.122+ in the[ Infrastructure Settings](/dashboard/project/*/settings/infrastructure) to get the latest extension.<br />diff --git a/apps/docs/content/troubleshooting/prisma-error-management-Cm5P_o.mdx b/apps/docs/content/troubleshooting/prisma-error-management-Cm5P_o.mdxindex f14d9982283..bde49711846 100644--- a/apps/docs/content/troubleshooting/prisma-error-management-Cm5P_o.mdx+++ b/apps/docs/content/troubleshooting/prisma-error-management-Cm5P_o.mdx@@ -25,7 +25,7 @@ message = "Server has closed the connection"message = "Drift detected: Your database schema is not in sync with your migration history"----> This guide has been deprecated. Use the troubleshooting guide in the [Supabase docs](https://supabase.com/docs/guides/database/prisma/prisma-troubleshooting).+> This guide has been deprecated. Use the troubleshooting guide in the [Supabase docs](/docs/guides/database/prisma/prisma-troubleshooting).# Addressing specific errors:@@ -83,7 +83,7 @@ Some users have discussed how they managed this problem in a [GitHub Discussion.- By default, most developers use the "master key" (the `postgres` role) to access everything. But it's safer to give Prisma its own key! This way, it can only access the rooms (tables) it needs.- it's usually safer to give Prisma its own key! This way, it can only access the rooms (tables) it needs.-- Plus, with separate keys, it's easier to see what Prisma is doing in your house with monitoring tools, such as [PGAudit](https://supabase.com/docs/guides/database/extensions/pgaudit?queryGroups=database-method&database-method=sql) and [pg_stat_activity](https://supabase.com/docs/guides/platform/performance).+- Plus, with separate keys, it's easier to see what Prisma is doing in your house with monitoring tools, such as [PGAudit](/docs/guides/database/extensions/pgaudit?queryGroups=database-method&database-method=sql) and [pg_stat_activity](/docs/guides/platform/performance).### Creating the Prisma user:@@ -91,11 +91,11 @@ Some users have discussed how they managed this problem in a [GitHub Discussion.create user "prisma" with password 'secret_password' bypassrls createdb;```-> Prisma requires the [`createdb` modifier](https://supabase.com/blog/postgres-roles-and-privileges#role-attributes) to create shadow databases. It uses them to help manage migrations.+> Prisma requires the [`createdb` modifier](/blog/postgres-roles-and-privileges#role-attributes) to create shadow databases. It uses them to help manage migrations.### Give Postgres ownership of the new user:-This allows you to view Prisma migration changes in the [Dashboard](https://supabase.com/dashboard/project/_/editor)+This allows you to view Prisma migration changes in the [Dashboard](/dashboard/project/_/editor)```sqlgrant "prisma" to "postgres";@@ -127,11 +127,11 @@ The below example gives Prisma full authority over all database objects in the palter default privileges for role postgres in schema public grant all on sequences to prisma;```-> For more guidance on specifying access, check out this [article](https://supabase.com/blog/postgres-roles-and-privileges#creating-objects-and-assigning-privileges) on privileges+> For more guidance on specifying access, check out this [article](/blog/postgres-roles-and-privileges#creating-objects-and-assigning-privileges) on privileges## Optimize Prisma queries:-In the [Query Performance Advisor](https://supabase.com/dashboard/project/_/database/query-performance), you can view long-running or frequently accessed queries by role:+In the [Query Performance Advisor](/dashboard/project/_/database/query-performance), you can view long-running or frequently accessed queries by role:<imgwidth="1509"@@ -148,11 +148,11 @@ Useful Links:- [How to Monitor Connections and Find the Correct Pool Size](https://github.com/orgs/supabase/discussions/27141).- [Supavisor FAQ](https://github.com/orgs/supabase/discussions/21566)-Supabase provides 3 database connection strings that can be used simultaneously if necessary. You can find them on the dashboard by clicking [Connect](https://supabase.com/dashboard/project/_?showConnect=true).+Supabase provides 3 database connection strings that can be used simultaneously if necessary. You can find them on the dashboard by clicking [Connect](/dashboard/project/_?showConnect=true).### Direct connection:-Best used with stationary servers, such as VMs and long-standing containers, but it only works in IPv6 environments unless the [IPv4 Add-On](https://supabase.com/dashboard/project/_/settings/addons) is enabled. If you are unsure if your network is IPv6 compatible, [check here](https://github.com/orgs/supabase/discussions/27034).+Best used with stationary servers, such as VMs and long-standing containers, but it only works in IPv6 environments unless the [IPv4 Add-On](/dashboard/project/_/settings/addons) is enabled. If you are unsure if your network is IPv6 compatible, [check here](https://github.com/orgs/supabase/discussions/27034).```md# Example Connectiondiff --git a/apps/docs/content/troubleshooting/resolving-42p01-relation-does-not-exist-error-W4_9-V.mdx b/apps/docs/content/troubleshooting/resolving-42p01-relation-does-not-exist-error-W4_9-V.mdxindex 48d7260e8f0..1d983d900bb 100644--- a/apps/docs/content/troubleshooting/resolving-42p01-relation-does-not-exist-error-W4_9-V.mdx+++ b/apps/docs/content/troubleshooting/resolving-42p01-relation-does-not-exist-error-W4_9-V.mdx@@ -27,13 +27,13 @@ message = "permission denied"### Cause 1: Search path broken-When directly accessing a table that is not in the `public` schema, it's important to reference the external schema explicitly in your query. Below is an example from the [JS client:](https://supabase.com/docs/reference/javascript/select)+When directly accessing a table that is not in the `public` schema, it's important to reference the external schema explicitly in your query. Below is an example from the [JS client:](/docs/reference/javascript/select)```jsconst { data, error } = await supabase.schema('myschema').from('mytable').select()```-If after calling the table directly, you get a `42501` permission denied error, then you must also [expose the custom schema to the API.](https://supabase.com/docs/guides/api/using-custom-schemas). For Supabase managed schemas, such as `vault` and `auth`, these cannot be directly accessed through the DB REST API for security reasons. If necessary, they can be strictly accessed through [security definer functions.](https://supabase.com/docs/guides/database/functions?queryGroups=language&language=sql&queryGroups=example-view&example-view=sql#security-definer-vs-invoker)+If after calling the table directly, you get a `42501` permission denied error, then you must also [expose the custom schema to the API.](/docs/guides/api/using-custom-schemas). For Supabase managed schemas, such as `vault` and `auth`, these cannot be directly accessed through the DB REST API for security reasons. If necessary, they can be strictly accessed through [security definer functions.](/docs/guides/database/functions?queryGroups=language&language=sql&queryGroups=example-view&example-view=sql#security-definer-vs-invoker)---diff --git a/apps/docs/content/troubleshooting/resolving-500-status-authentication-errors-7bU5U8.mdx b/apps/docs/content/troubleshooting/resolving-500-status-authentication-errors-7bU5U8.mdxindex 9f2e5fb9d39..264992e271f 100644--- a/apps/docs/content/troubleshooting/resolving-500-status-authentication-errors-7bU5U8.mdx+++ b/apps/docs/content/troubleshooting/resolving-500-status-authentication-errors-7bU5U8.mdx@@ -18,7 +18,7 @@ A 500 error in Auth typically indicates an issue with an external dependency, su#### Open the log explorer-Ensure you have access to the [Dashboard's Log Explorer](https://supabase.com/dashboard/project/_/logs/explorer) and set the time range appropriately:+Ensure you have access to the [Dashboard's Log Explorer](/dashboard/project/_/logs/explorer) and set the time range appropriately:@@ -96,7 +96,7 @@ If you see an error like must be owner of..., the supabase_auth_admin role may h#### Solution-Check ownership with this [GitHub Gist](https://gist.github.com/TheOtherBrian1/6aaaa78632b1e371f3b1c790305f0acd). If any objects are owned by the `supabase_admin` role, contact [Support](https://supabase.com/dashboard/support/new). If they're owned by roles other than `supabase_auth_admin` you can change ownership back manually one-by-one:+Check ownership with this [GitHub Gist](https://gist.github.com/TheOtherBrian1/6aaaa78632b1e371f3b1c790305f0acd). If any objects are owned by the `supabase_admin` role, contact [Support](/dashboard/support/new). If they're owned by roles other than `supabase_auth_admin` you can change ownership back manually one-by-one:```sqlALTER <object type (table, function, etc.)> <auth.object_name> OWNER TO supabase_auth_admin;@@ -128,7 +128,7 @@ where proname = '<FUNCTION NAME>';##### Trigger has insufficient privileges ( sql_state_code = 42501)-If the error is related to insufficient privileges, your trigger function is missing a security definer tag, which allows it to access schemas outside of auth. You must `REPLACE` the function with the appropriate security definer settings ([example](https://supabase.com/docs/guides/database/functions?queryGroups=language&language=js#security-definer-vs-invoker))+If the error is related to insufficient privileges, your trigger function is missing a security definer tag, which allows it to access schemas outside of auth. You must `REPLACE` the function with the appropriate security definer settings ([example](/docs/guides/database/functions?queryGroups=language&language=js#security-definer-vs-invoker))##### Trigger references a table or column that does not exist (sql_state_code = 42P01)@@ -190,4 +190,4 @@ The log will be able to provide some context for what is occurring, but it is imIncomplete or incorrect email templates can also cause 500 errors. If your templates have unclosed variable tags or HTML elements, or use forbidden characters, this might be the issue.-Test a simplified email template in the [Auth Dashboard](https://supabase.com/dashboard/project/_/auth/templates). If the new template works, revise your original template to avoid forbidden characters and ensure all elements/variables are properly closed.+Test a simplified email template in the [Auth Dashboard](/dashboard/project/_/auth/templates). If the new template works, revise your original template to avoid forbidden characters and ensure all elements/variables are properly closed.diff --git a/apps/docs/content/troubleshooting/resolving-database-hostname-and-managing-your-ip-address-pVlwE0.mdx b/apps/docs/content/troubleshooting/resolving-database-hostname-and-managing-your-ip-address-pVlwE0.mdxindex 7ee4fd11717..f6ef5668226 100644--- a/apps/docs/content/troubleshooting/resolving-database-hostname-and-managing-your-ip-address-pVlwE0.mdx+++ b/apps/docs/content/troubleshooting/resolving-database-hostname-and-managing-your-ip-address-pVlwE0.mdx@@ -11,7 +11,7 @@ database_id = "c89147f8-a66a-4c04-a1a7-45442fd7f2ee"Your database's hostname is crucial for establishing a direct connection. It resolves to the underlying IP address of your database.-To find your hostname, navigate to the dashboard and click [Connect](https://supabase.com/dashboard/project/_?showConnect=true). Look at the Direct connection string and click the View parameters under it to see the hostname.+To find your hostname, navigate to the dashboard and click [Connect](/dashboard/project/_?showConnect=true). Look at the Direct connection string and click the View parameters under it to see the hostname.Example Hostname: `db.zcjtzmeifsoteyjytnbc.supabase.co`@@ -35,7 +35,7 @@ Upon project creation, a static IPv6 address is assigned. However, it's essentia### IPv4 address-Opting for the static [IPv4 add-on](https://supabase.com/docs/guides/platform/ipv4-address) provides a more stable connection address. The IPv4 address remains constant unless:+Opting for the static [IPv4 add-on](/docs/guides/platform/ipv4-address) provides a more stable connection address. The IPv4 address remains constant unless:- The project is paused or resumed.- Unlike the IPv6 address, upgrading your database does not affect the IPv4 address.diff --git a/apps/docs/content/troubleshooting/rotating-anon-service-and-jwt-secrets-1Jq6yd.mdx b/apps/docs/content/troubleshooting/rotating-anon-service-and-jwt-secrets-1Jq6yd.mdxindex 412ec70ccfc..65816ea3cb8 100644--- a/apps/docs/content/troubleshooting/rotating-anon-service-and-jwt-secrets-1Jq6yd.mdx+++ b/apps/docs/content/troubleshooting/rotating-anon-service-and-jwt-secrets-1Jq6yd.mdx@@ -10,7 +10,7 @@ database_id = "caa72a34-696c-47c6-8976-e50cf7fb396e"Have you ever accidentally committed a service key to a public repo? Or maybe rotating keys is just something you regularly do for security compliance.Whatever the reason, here's how to rotate the keys for your Supabase project.-1. Go to the [API Settings page](https://supabase.com/dashboard/project/_/settings/api) in the Supabase Dashboard+1. Go to the [API Settings page](/dashboard/project/_/settings/api) in the Supabase Dashboard2. Find the JWT Secrets section<imgdiff --git a/apps/docs/content/troubleshooting/security-of-anonymous-sign-ins-iOrGCL.mdx b/apps/docs/content/troubleshooting/security-of-anonymous-sign-ins-iOrGCL.mdxindex f99148aca2d..d524a22352c 100644--- a/apps/docs/content/troubleshooting/security-of-anonymous-sign-ins-iOrGCL.mdx+++ b/apps/docs/content/troubleshooting/security-of-anonymous-sign-ins-iOrGCL.mdx@@ -15,7 +15,7 @@ Enabling anonymous sign-ins on your project does not reduce its security. Here's- Same as Regular Users: Anonymous users function just like regular users within your project. They have unique user IDs and their own records in the authentication tables.- Security Policies: All role-based security policies (RLS) applicable to regular users also apply to anonymous users.-- Identity Verification Measures: Even though anonymous users do not initially provide an email or phone number, the security of your project remains robust. But to prevent misuse, we recommend implementing additional security measure such as [CAPTCHA](https://supabase.com/docs/guides/auth/auth-captcha): to ensure that interactions are genuinely human.+- Identity Verification Measures: Even though anonymous users do not initially provide an email or phone number, the security of your project remains robust. But to prevent misuse, we recommend implementing additional security measure such as [CAPTCHA](/docs/guides/auth/auth-captcha): to ensure that interactions are genuinely human.### Practical use cases:@@ -24,4 +24,4 @@ Enabling anonymous sign-ins on your project does not reduce its security. Here'sRemember, the underlying security of your project will remain the same. If your project was secure before enabling anonymous sign-ins, it will continue to be secure afterwards. It's important to review and adjust your RLS policies regularly to align with your security and business needs.-If you have further questions or need assistance in setting up, don't hesitate to contact the [support team](https://supabase.com/dashboard/support/new).+If you have further questions or need assistance in setting up, don't hesitate to contact the [support team](/dashboard/support/new).diff --git a/apps/docs/content/troubleshooting/slow-execution-of-alter-table-on-large-table-when-changing-column-type-qmZRpZ.mdx b/apps/docs/content/troubleshooting/slow-execution-of-alter-table-on-large-table-when-changing-column-type-qmZRpZ.mdxindex aafd894d353..ca978b0c401 100644--- a/apps/docs/content/troubleshooting/slow-execution-of-alter-table-on-large-table-when-changing-column-type-qmZRpZ.mdx+++ b/apps/docs/content/troubleshooting/slow-execution-of-alter-table-on-large-table-when-changing-column-type-qmZRpZ.mdx@@ -28,7 +28,7 @@ The long execution time for the ALTER TABLE operation can be attributed to the l**Additional Recommendations:**-- Set session statement_timeout to 0 to prevent potential transaction [timeouts](https://supabase.com/docs/guides/database/postgres/configuration).+- Set session statement_timeout to 0 to prevent potential transaction [timeouts](/docs/guides/database/postgres/configuration).- Monitor currently blocked database transactions during the process using the provided script:diff --git a/apps/docs/content/troubleshooting/steps-to-improve-query-performance-with-indexes-q8PoC9.mdx b/apps/docs/content/troubleshooting/steps-to-improve-query-performance-with-indexes-q8PoC9.mdxindex 41ef08940b5..e8486311828 100644--- a/apps/docs/content/troubleshooting/steps-to-improve-query-performance-with-indexes-q8PoC9.mdx+++ b/apps/docs/content/troubleshooting/steps-to-improve-query-performance-with-indexes-q8PoC9.mdx@@ -14,16 +14,16 @@ cli = [ "supabase-inspect-db" ]This is an intermediate and actionable guide for Postgres optimization within the Supabase ecosystem.-> Consider checking out [Index_advisor](https://supabase.com/docs/guides/database/extensions/index_advisor) and the [performance advisor](https://supabase.com/dashboard/project/_/database/performance-advisor) now available in the Dashboard!+> Consider checking out [Index_advisor](/docs/guides/database/extensions/index_advisor) and the [performance advisor](/dashboard/project/_/database/performance-advisor) now available in the Dashboard!## Installing Supabase Grafana-Supabase has an [open-source Grafana Repo](https://github.com/supabase/supabase-grafana) that displays real-time metrics of your database. Although the [Reports Dashboard ](https://supabase.com/dashboard/project/_/reports) provides similar metrics, it averages the data by the hour or day. Having visibility over how your database responds to changes helps to ensure that the database is not stressed by the index-building process.+Supabase has an [open-source Grafana Repo](https://github.com/supabase/supabase-grafana) that displays real-time metrics of your database. Although the [Reports Dashboard ](/dashboard/project/_/reports) provides similar metrics, it averages the data by the hour or day. Having visibility over how your database responds to changes helps to ensure that the database is not stressed by the index-building process._Visual of Grafana Dashboard_-It can be run locally within Docker or can be deployed for free to fly.io. Installation instructions can be found in [Supabase's metrics docs](https://supabase.com/docs/guides/platform/metrics#deploying-supabase-grafana)+It can be run locally within Docker or can be deployed for free to fly.io. Installation instructions can be found in [Supabase's metrics docs](/docs/guides/platform/metrics#deploying-supabase-grafana)## Query optimization through indexes@@ -59,7 +59,7 @@ where seq_scan + idx_scan > 0order by n_live_tup desc;```-A lot of the [queries for inspecting performance](https://supabase.com/docs/reference/cli/supabase-inspect-db) are actually pre-bundled as part of the [Supabase CLI](https://supabase.com/docs/guides/cli/getting-started). For instance, there is a command for testing which indexes of yours are unnecessary and are needlessly taking up space:+A lot of the [queries for inspecting performance](/docs/reference/cli/supabase-inspect-db) are actually pre-bundled as part of the [Supabase CLI](/docs/guides/cli/getting-started). For instance, there is a command for testing which indexes of yours are unnecessary and are needlessly taking up space:```bashnpx supabase login@@ -69,7 +69,7 @@ npx supabase linknpx supabase inspect db unused-indexes```-There is an extension called [index_advisor](https://supabase.com/docs/guides/database/extensions/index_advisor) that creates virtual indexes on your queries and then checks which ones increase performance the best. Unlike normal index creation, virtual indexes can be made rapidly, which makes uncovering the most performant solutions fast. The [Query Performance Advisor](https://supabase.com/dashboard/project/_/database/query-performance) in the Dashboard is configured to use index_advisor to make optimization suggestions and you should check it out to see where you can improve.+There is an extension called [index_advisor](/docs/guides/database/extensions/index_advisor) that creates virtual indexes on your queries and then checks which ones increase performance the best. Unlike normal index creation, virtual indexes can be made rapidly, which makes uncovering the most performant solutions fast. The [Query Performance Advisor](/dashboard/project/_/database/query-performance) in the Dashboard is configured to use index_advisor to make optimization suggestions and you should check it out to see where you can improve.Index_advisor won't test indexes added through extensions nor will it test GIN/GIST indexes. For JSON or ARRAY columns, consider exploring GIN/GIST indexes separately from index_advisor. If you're using pg_vector, it's crucial to use an [HSNW index](https://github.com/orgs/supabase/discussions/21379).diff --git a/apps/docs/content/troubleshooting/supabase--your-network-ipv4-and-ipv6-compatibility-cHe3BP.mdx b/apps/docs/content/troubleshooting/supabase--your-network-ipv4-and-ipv6-compatibility-cHe3BP.mdxindex d5f4f72e5f2..538446d3c95 100644--- a/apps/docs/content/troubleshooting/supabase--your-network-ipv4-and-ipv6-compatibility-cHe3BP.mdx+++ b/apps/docs/content/troubleshooting/supabase--your-network-ipv4-and-ipv6-compatibility-cHe3BP.mdx@@ -22,9 +22,9 @@ All Supabase databases provide a direct connection string that maps to an IPv6 aHere are your options if your server platform doesn't support IPv6:-- Use the Supavisor Connection String (available in the [Dashboard](https://supabase.com/dashboard/project/_/database/settings)).-- Use the [Supabase Client libraries](https://supabase.com/docs/guides/api/rest/client-libs), which are IPv4 compatible.-- Enable the [dedicated IPv4 Add-On](https://supabase.com/dashboard/project/_/settings/addons) (available to Pro and above organizations)+- Use the Supavisor Connection String (available in the [Dashboard](/dashboard/project/_/database/settings)).+- Use the [Supabase Client libraries](/docs/guides/api/rest/client-libs), which are IPv4 compatible.+- Enable the [dedicated IPv4 Add-On](/dashboard/project/_/settings/addons) (available to Pro and above organizations)> Note: the IPv4 Add-On costs <Price price="0.0055" /> an hour, which equates to ~<Price price="4.00" /> if left on for a full month (~720 hours)@@ -59,7 +59,7 @@ Example IPv6 Address: `2a05:d014:1c06:5f0c:d7a9:8616:bee2:30df`### Identifying your connections:-The pooler and direct connection strings can be found on the dashboard by clicking [Connect](https://supabase.com/dashboard/project/_?showConnect=true).+The pooler and direct connection strings can be found on the dashboard by clicking [Connect](/dashboard/project/_?showConnect=true).> "Note uses an IPv6 address by defaultdiff --git a/apps/docs/content/troubleshooting/supavisor-faq-YyP5tI.mdx b/apps/docs/content/troubleshooting/supavisor-faq-YyP5tI.mdxindex f62fedd0243..76bf16f4960 100644--- a/apps/docs/content/troubleshooting/supavisor-faq-YyP5tI.mdx+++ b/apps/docs/content/troubleshooting/supavisor-faq-YyP5tI.mdx@@ -33,7 +33,7 @@ They sit between the database and your client servers. They are solely optimized### Where are the connection strings-Supabase provides 3 database connection strings that can be used simultaneously if necessary. You can find them on the dashboard by clicking [Connect](https://supabase.com/dashboard/project/_?showConnect=true).+Supabase provides 3 database connection strings that can be used simultaneously if necessary. You can find them on the dashboard by clicking [Connect](/dashboard/project/_?showConnect=true).<imgwidth="999"@@ -89,7 +89,7 @@ Now, imagine the tournament organizers decide to expand the venue to house 200 p### In the context of Supavisor, what does "pool size" mean?-"Pool size" refers to the maximum number of direct connections the pooler can maintain per unique user, database, and mode combination. You can adjust it in the [project connect page](https://supabase.com/dashboard/project/_?showConnect=true) to strike a balance between efficient resource utilization and accommodating peak traffic.+"Pool size" refers to the maximum number of direct connections the pooler can maintain per unique user, database, and mode combination. You can adjust it in the [project connect page](/dashboard/project/_?showConnect=true) to strike a balance between efficient resource utilization and accommodating peak traffic.### What is the "user+db+mode" combination?@@ -129,7 +129,7 @@ No, it doesn't. Let's break it down:### **How to change pool size**-In the [Dashboard's Database Settings](https://supabase.com/dashboard/project/_/database/settings), you can configure Supavisor's "Pool Size":+In the [Dashboard's Database Settings](/dashboard/project/_/database/settings), you can configure Supavisor's "Pool Size":<imgwidth="673"@@ -137,7 +137,7 @@ In the [Dashboard's Database Settings](https://supabase.com/dashboard/project/_/src="https://github.com/supabase/supabase/assets/91111415/ce9e9d28-67c2-4dd2-ac0a-0a0150e63b4f"/>-You can also change the pool size for PostgREST's (DB API) internal pooler at the bottom of the [application settings](https://supabase.com/dashboard/project/_/settings/api).+You can also change the pool size for PostgREST's (DB API) internal pooler at the bottom of the [application settings](/dashboard/project/_/settings/api).### Do all services on Supabase use Supavisor?@@ -159,13 +159,13 @@ As a rule of thumb, if you're using the DB REST API or multiple app-based "user+Connection usage can be monitored with a Supabase Grafana Dashboard. It provides realtime visibility of over 200 database metrics, such as graphs of CPU, EBS, and active direct/pooler connections. It can be extremely useful for monitoring and debugging instances.-You can check our [GitHub repo](https://github.com/supabase/supabase-grafana) for setup instructions for local deployments or free cloud deployments on [Fly.io](http://fly.io/). Refer to Supabase [documentation](https://supabase.com/docs/guides/platform/metrics) to learn more about the metrics endpoint.+You can check our [GitHub repo](https://github.com/supabase/supabase-grafana) for setup instructions for local deployments or free cloud deployments on [Fly.io](http://fly.io/). Refer to Supabase [documentation](/docs/guides/platform/metrics) to learn more about the metrics endpoint.### **Can Supavisor really support a million connections?**It depends.-In the article ["Supavisor: Scaling Postgres to 1 Million Connections"](https://supabase.com/blog/supavisor-1-million) we gave Supavisor the capacity to connect to a million clients simultaneously. The pooler triaged the clients' queries to 400 database connections.+In the article ["Supavisor: Scaling Postgres to 1 Million Connections"](/blog/supavisor-1-million) we gave Supavisor the capacity to connect to a million clients simultaneously. The pooler triaged the clients' queries to 400 database connections.What is important is that the database processing these queries had 64vCPUs and 256GB of memory. It could process the queries fast enough to ensure that there was never a noticeable bottleneck. The clients never waited long enough to timeout. If the clients were asking to run inefficient queries, like the one below, a severe backlog of pending client queries would have formed:diff --git a/apps/docs/content/troubleshooting/understanding-postgresql-explain-output-Un9dqX.mdx b/apps/docs/content/troubleshooting/understanding-postgresql-explain-output-Un9dqX.mdxindex 731ce5d1b1e..ec41ee48e91 100644--- a/apps/docs/content/troubleshooting/understanding-postgresql-explain-output-Un9dqX.mdx+++ b/apps/docs/content/troubleshooting/understanding-postgresql-explain-output-Un9dqX.mdx@@ -29,8 +29,8 @@ The Postgres EXPLAIN command shows the execution plan of a SQL query. This plan**Using EXPLAIN with supabase-js Library**-1. Follow the [Performance Debugging Guide](https://supabase.com/docs/guides/database/debugging-performance) to enable the functionality on your project.-2. Once debugging is enabled, you can use the [EXPLAIN](https://supabase.com/docs/reference/javascript/explain?queryGroups=example&example=get-execution-plan-with-analyze-and-verbose) function in your application code. Here's how to use it+1. Follow the [Performance Debugging Guide](/docs/guides/database/debugging-performance) to enable the functionality on your project.+2. Once debugging is enabled, you can use the [EXPLAIN](/docs/reference/javascript/explain?queryGroups=example&example=get-execution-plan-with-analyze-and-verbose) function in your application code. Here's how to use it```const { data, error } = await supabasediff --git a/apps/docs/content/troubleshooting/understanding-postgresql-logging-levels-and-how-they-impact-your-project-KXiJRm.mdx b/apps/docs/content/troubleshooting/understanding-postgresql-logging-levels-and-how-they-impact-your-project-KXiJRm.mdxindex ffa78421ad8..750409abde4 100644--- a/apps/docs/content/troubleshooting/understanding-postgresql-logging-levels-and-how-they-impact-your-project-KXiJRm.mdx+++ b/apps/docs/content/troubleshooting/understanding-postgresql-logging-levels-and-how-they-impact-your-project-KXiJRm.mdx@@ -112,9 +112,9 @@ For a detailed explanation of the types of events logged in your database (suchWe support PGAudit extension, which extends PostgreSQL’s built-in logging capabilities to track database activities for auditing purposes.-[How to Enable the PGAudit Extension](https://supabase.com/docs/guides/database/extensions/pgaudit?queryGroups=database-method&database-method=dashboard#enable-the-extension)+[How to Enable the PGAudit Extension](/docs/guides/database/extensions/pgaudit?queryGroups=database-method&database-method=dashboard#enable-the-extension)-For detailed configuration instructions and logging options, refer to the complete documentation: [PGAudit Configuration Guide](https://supabase.com/docs/guides/database/extensions/pgaudit?queryGroups=database-method&database-method=dashboard#configure-the-extension)+For detailed configuration instructions and logging options, refer to the complete documentation: [PGAudit Configuration Guide](/docs/guides/database/extensions/pgaudit?queryGroups=database-method&database-method=dashboard#configure-the-extension)**c. Debugging Functions**-For more information on how to debug functions in Supabase, refer to the official guide: [Debugging Functions](https://supabase.com/docs/guides/database/functions?queryGroups=language&language=js#debugging-functions).+For more information on how to debug functions in Supabase, refer to the official guide: [Debugging Functions](/docs/guides/database/functions?queryGroups=language&language=js#debugging-functions).diff --git a/apps/docs/content/troubleshooting/understanding-the-usage-summary-on-the-dashboard-D7Gnle.mdx b/apps/docs/content/troubleshooting/understanding-the-usage-summary-on-the-dashboard-D7Gnle.mdxindex 05639541bd5..6a49c389fe4 100644--- a/apps/docs/content/troubleshooting/understanding-the-usage-summary-on-the-dashboard-D7Gnle.mdx+++ b/apps/docs/content/troubleshooting/understanding-the-usage-summary-on-the-dashboard-D7Gnle.mdx@@ -9,7 +9,7 @@ database_id = "f379a628-6821-40b0-9793-4bf819b8c085"## Organization usage metrics-This discussion explains your organization's usage metrics, which can be found here: [https://supabase.com/dashboard/org/\_/usage](https://supabase.com/dashboard/org/_/usage).+This discussion explains your organization's usage metrics, which can be found here: [https://supabase.com/dashboard/org/\_/usage](/dashboard/org/_/usage).@@ -49,4 +49,4 @@ It is a little more tricky to understand metrics like realtime and egress due toIf the numbers from inactive projects carry over to the next billing cycle and no new usage has occurred, something might be wrong.-If this is the case, or if you are unsure why any usage appears the way it does for any reason, you should reach out to Support on the dashboard here: [https://supabase.com/dashboard/support/new](https://supabase.com/dashboard/support/new).+If this is the case, or if you are unsure why any usage appears the way it does for any reason, you should reach out to Support on the dashboard here: [https://supabase.com/dashboard/support/new](/dashboard/support/new).diff --git a/apps/docs/content/troubleshooting/upload-file-size-restrictions-Y4wQLT.mdx b/apps/docs/content/troubleshooting/upload-file-size-restrictions-Y4wQLT.mdxindex b783591c0b3..9b189c35f81 100644--- a/apps/docs/content/troubleshooting/upload-file-size-restrictions-Y4wQLT.mdx+++ b/apps/docs/content/troubleshooting/upload-file-size-restrictions-Y4wQLT.mdx@@ -7,7 +7,7 @@ keywords = [ "upload", "file", "size", "restriction" ]database_id = "3b0aa0f2-9608-4691-94d6-4fca8a32130e"----You can view the maximum file upload size from the [docs](https://supabase.com/docs/guides/storage/uploads/file-limits). It differs based on your plan and on any bucket or global limits you might have already set.+You can view the maximum file upload size from the [docs](/docs/guides/storage/uploads/file-limits). It differs based on your plan and on any bucket or global limits you might have already set.## Edit the maximum file upload size@@ -18,7 +18,7 @@ There are two ways to edit the maximum file upload size:### Global file upload size limit-To edit the global file upload size limit, change the value of _Global file size limit_ in the top section of [Storage Settings](https://supabase.com/dashboard/project/_/storage/settings).+To edit the global file upload size limit, change the value of _Global file size limit_ in the top section of [Storage Settings](/dashboard/project/_/storage/settings).If they are set higher than your new global limit, you’ll be asked to edit or remove any existing bucket-level limits first. The global limit takes precedence.@@ -26,7 +26,7 @@ If they are set higher than your new global limit, you’ll be asked to edit orFollow these steps to edit the maximum file upload size at the bucket level:-1. Open a bucket in the [Storage Buckets](https://supabase.com/dashboard/project/_/storage/buckets/) page.+1. Open a bucket in the [Storage Buckets](/dashboard/project/_/storage/buckets/) page.2. Select the overflow menu (three vertical dots icon), and then select _Edit bucket_.3. Enable _Restrict file size_ and then set the file size limit for that bucket.@@ -36,5 +36,5 @@ You won’t be able to set a limit that is greater than the global file upload sUpload methods impose differing file size restrictions:-- [Standard uploads can only transfer up to 5 GBs](https://supabase.com/docs/guides/storage/uploads/standard-uploads?queryGroups=language&language=js). However, for files above 6MB, the below methods are more performant and reliable.-- [Resumable](https://supabase.com/docs/guides/storage/uploads/resumable-uploads) and [S3](https://supabase.com/docs/guides/storage/uploads/resumable-uploads) uploads can support transfers up to 50GB in size.+- [Standard uploads can only transfer up to 5 GBs](/docs/guides/storage/uploads/standard-uploads?queryGroups=language&language=js). However, for files above 6MB, the below methods are more performant and reliable.+- [Resumable](/docs/guides/storage/uploads/resumable-uploads) and [S3](/docs/guides/storage/uploads/resumable-uploads) uploads can support transfers up to 50GB in size.diff --git a/apps/docs/content/troubleshooting/using-sqlalchemy-with-supabase-FUqebT.mdx b/apps/docs/content/troubleshooting/using-sqlalchemy-with-supabase-FUqebT.mdxindex e73364c4fd1..a26ed6ff6e1 100644--- a/apps/docs/content/troubleshooting/using-sqlalchemy-with-supabase-FUqebT.mdx+++ b/apps/docs/content/troubleshooting/using-sqlalchemy-with-supabase-FUqebT.mdx@@ -15,7 +15,7 @@ If you are deploying to:- serverless functions- horizontally auto-scaling deployments-It is recommended that you connect with the pooler in transaction mode (port 6543), which can be found on the dashboard by clicking [Connect](https://supabase.com/dashboard/project/_?showConnect=true).+It is recommended that you connect with the pooler in transaction mode (port 6543), which can be found on the dashboard by clicking [Connect](/dashboard/project/_?showConnect=true).```sh# Example transaction mode string:@@ -36,7 +36,7 @@ When relying on Supavisor, it's important to pick an adequate pool size. This gu## Deploying to stationary servers-For stationary servers, such as VMs and long-running containers, it is recommended to use your direct connection string, which can be found on the dashboard by clicking [Connect](https://supabase.com/dashboard/project/_?showConnect=true).+For stationary servers, such as VMs and long-running containers, it is recommended to use your direct connection string, which can be found on the dashboard by clicking [Connect](/dashboard/project/_?showConnect=true).```# Example DB string:@@ -65,7 +65,7 @@ If the command returns an IPv6 address, the network is IPv6 compatible.If your deployment environment is not IPv6 compatible, then consider:- Using the Supavisor pooler in session (port 5432)-- Enabling the [IPv4 Add-On](https://supabase.com/dashboard/project/_/settings/addons) if you're on a pro or above plan+- Enabling the [IPv4 Add-On](/dashboard/project/_/settings/addons) if you're on a pro or above plan### Choosing an internal pool sizediff --git a/apps/docs/content/troubleshooting/webhook-debugging-guide-M8sk47.mdx b/apps/docs/content/troubleshooting/webhook-debugging-guide-M8sk47.mdxindex 23741674869..bfa806ef67f 100644--- a/apps/docs/content/troubleshooting/webhook-debugging-guide-M8sk47.mdx+++ b/apps/docs/content/troubleshooting/webhook-debugging-guide-M8sk47.mdx@@ -7,7 +7,7 @@ keywords = [ "webhook", "timeout", "pg_net", "postgres", "trigger" ]database_id = "a5524182-9dc4-4470-86fe-45ace109a53a"----> NOTE: version 0.10.0 of pg*net is out. You should consider updating your database in the[ Infrastructure Settings](https://supabase.com/dashboard/project/*/settings/infrastructure) if you are on a prior version. If you do not know your version, you can check the [Extensions Dashboard](https://supabase.com/dashboard/project/_/database/extensions).+> NOTE: version 0.10.0 of pg*net is out. You should consider updating your database in the[ Infrastructure Settings](/dashboard/project/*/settings/infrastructure) if you are on a prior version. If you do not know your version, you can check the [Extensions Dashboard](/dashboard/project/_/database/extensions).**Debugging Steps**@@ -24,7 +24,7 @@ If it does not return an integer, then the worker has failed and needs to be resselect net.worker_restart();```-Otherwise, it is necessary to fast reboot your instance in the [Dashboard's Settings](https://supabase.com/dashboard/project/_/settings/general).+Otherwise, it is necessary to fast reboot your instance in the [Dashboard's Settings](/dashboard/project/_/settings/general).**2. Remove any triggers on net tables:**@@ -34,16 +34,16 @@ The `net` tables are special and if triggers on them fail or call a pg_net funct**3. Check for timeout errors**-> **NOTE**: The timeout issue has been patched in pg*net v0.11. It is available in Postgres 15.6.1.135 and above. You can upgrade your version of Postgres in the [Infrastructure Settings.](https://supabase.com/dashboard/project/*/settings/infrastructure)+> **NOTE**: The timeout issue has been patched in pg*net v0.11. It is available in Postgres 15.6.1.135 and above. You can upgrade your version of Postgres in the [Infrastructure Settings.](/dashboard/project/*/settings/infrastructure)-Go to your [Table Editor](https://supabase.com/dashboard/project/_/editor/) and navigate to the net schema. It will contain two tables:+Go to your [Table Editor](/dashboard/project/_/editor/) and navigate to the net schema. It will contain two tables:- `_http_response`- `http_request_queue`The `_http_response` table saves all the response messages from the past 6 hours. If every column contains NULL values, except for the `id`, `error_msg`, and `created` columns, then you are experiencing [a timeout bug](https://github.com/supabase/pg_net/issues/86).-By default, webhooks will execute the next 200 available queued requests. If the requests are too intense, it may result in a mass timeout. In the [Webhook Dashboard](https://supabase.com/dashboard/project/_/database/hooks), you should increase your webhook's timeout to minimize this issue.+By default, webhooks will execute the next 200 available queued requests. If the requests are too intense, it may result in a mass timeout. In the [Webhook Dashboard](/dashboard/project/_/database/hooks), you should increase your webhook's timeout to minimize this issue.**4. Inspect endpoints**The below code makes a request to the Postman Echo API through PG_NET@@ -58,7 +58,7 @@ body := '{"key1": "value", "key2": 5}'::jsonbPostman will then respond with the same payload. This is just a test to confirm that requests are being properly formatted and going through.-You can then view the request in the `net._http_response table` in the [Table Editor](https://supabase.com/dashboard/project/_/editor) or with the following SQL:+You can then view the request in the `net._http_response table` in the [Table Editor](/dashboard/project/_/editor) or with the following SQL:```sqlselect@@ -81,8 +81,8 @@ Status codes from a server are described in [Mozilla's web docs](https://develop**5. Create logs**-If none of the above suggestions uncovered the cause of the error, for debugging purposes, it may be useful to write a custom webhook that can create logs in the [Dashboard's Postgres Logs](https://supabase.com/dashboard/project/_/logs/postgres-logs). The process is outlined in the [PG_NET](https://supabase.com/docs/guides/database/extensions/pg_net#debugging-requests) documentation.+If none of the above suggestions uncovered the cause of the error, for debugging purposes, it may be useful to write a custom webhook that can create logs in the [Dashboard's Postgres Logs](/dashboard/project/_/logs/postgres-logs). The process is outlined in the [PG_NET](/docs/guides/database/extensions/pg_net#debugging-requests) documentation.**Conclusion:**-If your issue still persists, document it as an issue in the [PG_NET GitHub Repo](https://github.com/supabase/pg_net/issues). You are also welcome to contact Supabase Support from your project's [Dashboard](https://supabase.com/dashboard/project/_/) for more guidance.+If your issue still persists, document it as an issue in the [PG_NET GitHub Repo](https://github.com/supabase/pg_net/issues). You are also welcome to contact Supabase Support from your project's [Dashboard](/dashboard/project/_/) for more guidance.diff --git a/apps/docs/features/docs/Troubleshooting.script.mjs b/apps/docs/features/docs/Troubleshooting.script.mjsindex 6f5d00f175b..e3cd431c508 100644--- a/apps/docs/features/docs/Troubleshooting.script.mjs+++ b/apps/docs/features/docs/Troubleshooting.script.mjs@@ -22,6 +22,7 @@ import { gfm } from 'micromark-extension-gfm'import { mdxjs } from 'micromark-extension-mdxjs'import { readFile, writeFile } from 'node:fs/promises'import { parse, stringify } from 'smol-toml'+import {getAllTroubleshootingEntriesInternal as getAllTroubleshootingEntries,getArticleSlug,@@ -255,14 +256,50 @@ async function updateChecksumIfNeeded(entry) {return false}+/**+ * Converts relative links to absolute URLs for GitHub discussions using MDAST+ * @param {string} content - The markdown content to process+ */+function rewriteRelativeLinks(content) {+ const baseUrl = 'https://supabase.com'++ // Parse the markdown to AST+ const mdast = fromMarkdown(content, {+ extensions: [gfm(), mdxjs()],+ mdastExtensions: [gfmFromMarkdown(), mdxFromMarkdown()],+ })++ // Walk the tree and modify link nodes+ /**+ * @param {import('mdast').Root|import('mdast').Content} node+ */+ function visitNode(node) {+ if (node.type === 'link' && node.url && node.url.startsWith('/')) {+ // Convert relative URL to absolute+ node.url = `${baseUrl}${node.url}`+ }++ // Recursively visit children+ if ('children' in node) {+ node.children.forEach(visitNode)+ }+ }++ visitNode(mdast)++ // Convert back to markdown+ return toMarkdown(mdast, { extensions: [gfmToMarkdown(), mdxToMarkdown()] })+}+/*** @param {TroubleshootingEntry} entry*/function addCanonicalUrl(entry) {const docsUrl = 'https://supabase.com/docs/guides/troubleshooting/' + getArticleSlug(entry)+ const contentWithAbsoluteLinks = rewriteRelativeLinks(entry.contentWithoutJsx)const content =`_This is a copy of a troubleshooting article on Supabase's docs site. It may be missing some details from the original. View the [original article](${docsUrl})._\n\n` +- entry.contentWithoutJsx+ contentWithAbsoluteLinksreturn content}diff --git a/apps/docs/package.json b/apps/docs/package.jsonindex fc0d8d30f5c..fbf1faf4bab 100644--- a/apps/docs/package.json+++ b/apps/docs/package.json@@ -125,7 +125,7 @@"@graphql-codegen/cli": "5.0.5","@graphql-codegen/typescript": "4.1.6","@graphql-codegen/typescript-resolvers": "4.5.0",- "@supabase/supa-mdx-lint": "0.3.0-alpha",+ "@supabase/supa-mdx-lint": "0.3.1","@types/common-tags": "^1.8.4","@types/estree": "1.0.5","@types/graphql-validation-complexity": "^0.4.4",diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex e66d081a634..45196507786 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -372,7 +372,7 @@ importers:version: 1.0.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])'@sentry/nextjs':specifier: ^10.3.0- version: 10.3.0(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected])([email protected](@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected])([email protected])([email protected])+ version: 10.3.0(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected])([email protected](@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected])([email protected])([email protected])'@supabase/supabase-js':specifier: 'catalog:'version: 2.49.3@@ -588,8 +588,8 @@ importers:specifier: 4.5.0'@supabase/supa-mdx-lint':- specifier: 0.3.0-alpha- version: 0.3.0-alpha+ specifier: 0.3.1+ version: 0.3.1'@types/common-tags':specifier: ^1.8.4version: 1.8.4@@ -781,7 +781,7 @@ importers:version: 1.1.3(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])'@sentry/nextjs':specifier: ^10.3.0- version: 10.3.0(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected])([email protected](@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected])([email protected])([email protected])+ version: 10.3.0(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected])([email protected](@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected])([email protected])([email protected])'@std/path':specifier: npm:@jsr/std__path@^1.0.8version: '@jsr/[email protected]'@@ -1551,7 +1551,7 @@ importers:version: 1.0.5(@types/[email protected])(@types/[email protected])([email protected]([email protected]))([email protected])'@sentry/nextjs':specifier: ^10- version: 10.3.0(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected])([email protected](@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected])([email protected])([email protected])+ version: 10.3.0(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected])([email protected](@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected])([email protected])([email protected])'@supabase/supabase-js':specifier: 'catalog:'version: 2.49.3@@ -8071,8 +8071,8 @@ packages:engines: {node: '>=10'}os: [darwin]- '@supabase/[email protected]':- resolution: {integrity: sha512-gz8qGrigRIoU3JAAygmxUxTm+0RoNy3fbIW7jo5eLxY9V3aMmLqwAUMsV8afNJjtjP7MpnpN8poIFsSSAi9A7w==}+ '@supabase/[email protected]':+ resolution: {integrity: sha512-kX4cFMIP9OStV1j9zWy/wfrk5KKrn3DtBwP7y8GPHe05Y7nTfQOoqHpIKbHswJRB5OxFC3ETpI6DocQeWcrZ6Q==}engines: {node: '>=10'}os: [darwin]@@ -8082,8 +8082,8 @@ packages:cpu: [arm64]os: [linux, freebsd]- '@supabase/[email protected]':- resolution: {integrity: sha512-zr3wBIsKltCFpb4yJ9vmCehFcMTihSdGwfFi9p1cZEUs0n+Kug6MncFpk5PsSsahNHk76IvdxnyLxkD0NV+YZA==}+ '@supabase/[email protected]':+ resolution: {integrity: sha512-4zVQkqxnn+HYSbYED9egnw/nuF5/Z8pK1Kp2vmv5cNUaQvyreHZzC1opRjO11HgqBZZGMm5AybsY3lEEQ5pqpg==}engines: {node: '>=10'}cpu: [arm64]os: [linux, freebsd]@@ -8094,8 +8094,8 @@ packages:cpu: [arm]os: [linux, freebsd]- '@supabase/[email protected]':- resolution: {integrity: sha512-azoxkiqEv4AJfjaWxp0qoL/KFuKXSG2Ex8DgwVwkpbB3oWXhVuuTxMSyJYB2l49seRXBprIrDlXDpzC6BH4leQ==}+ '@supabase/[email protected]':+ resolution: {integrity: sha512-fcR7oKKgrXbVHKtOLjbtPPP3fg/FxaYLnnYYVulJM4Xh+0dPFmCox1xIo7OZKbHy7pEa+GJUwSgT1WlhZLN34Q==}engines: {node: '>=10'}cpu: [arm]os: [linux, freebsd]@@ -8106,8 +8106,8 @@ packages:cpu: [x86, ia32]os: [linux, freebsd]- '@supabase/[email protected]':- resolution: {integrity: sha512-QjIL+qwfCO+pbQR+VnLpPryp/Hm8FoPufWl31/v8Yo2GGJdwYYgt8NU/iDzDjbzLCXdnfRLO68BPh5g5DmG7wQ==}+ '@supabase/[email protected]':+ resolution: {integrity: sha512-09HNDDy11ox8IiEXe2SWecRtvdFOJu2lDvQo+vmEtVLhvO5eji65bG+vmESfdCcS79gaGxWoR+XWMreVhlVZ/Q==}engines: {node: '>=10'}cpu: [x86, ia32]os: [linux, freebsd]@@ -8118,8 +8118,8 @@ packages:cpu: [x64]os: [linux, freebsd]- '@supabase/[email protected]':- resolution: {integrity: sha512-7v+vWGHhamTJJuMXzS9VZ6XvIgMMLFQxd8df4P/RppdEFTSWDZO/MWMhfhjz3opRrkYA+hGCTgUk+CWN8ggbig==}+ '@supabase/[email protected]':+ resolution: {integrity: sha512-4ZioHRmm5Tt1/EF1K2FcmhrZVEYWcT+5z4smNvMqznutCXKowb3EYCtvDm1TOPXh8JjxzOnlch18+TN6MexsKA==}engines: {node: '>=10'}cpu: [x64]os: [linux, freebsd]@@ -8130,8 +8130,8 @@ packages:cpu: [x86, ia32]os: [win32]- '@supabase/[email protected]':- resolution: {integrity: sha512-KX/tVNJSYyCUb9VSxDqbpsMZUjvH4NOMTy5f/+fHXOzD4XxdzH+mImUBVpcrwyQrbV4YtwL4kQBUj9pVETuKSQ==}+ '@supabase/[email protected]':+ resolution: {integrity: sha512-u7H840/2fxjrLuNI2ohdslIyrZ8bJoBFhvTiC8J13cQBbpOP4FQOEzgeh1hqZGJNuWAUBgYJkwiZl/gc8Yv4Eg==}engines: {node: '>=10'}cpu: [x86, ia32]os: [win32]@@ -8142,8 +8142,8 @@ packages:cpu: [x64]os: [win32]- '@supabase/[email protected]':- resolution: {integrity: sha512-SFRAOaG/3fK4dFODuqI6XgAV+MBx/vjP6N6mt6eDvlUKMT54iuKUQSfDf52Q3nyDKRkaasxl51CQDO5gPMXItQ==}+ '@supabase/[email protected]':+ resolution: {integrity: sha512-AWAc7MwC0OU3NDuhZUVTVc1JYqXVY6UH6sL1lS/bM3j8eDAG1hTw2Bt4f85sAfYlt6BVDyEqLgNa3govsUQ5Jg==}engines: {node: '>=10'}cpu: [x64]os: [win32]@@ -8152,8 +8152,8 @@ packages:resolution: {integrity: sha512-rfp+xsnTaQ/UB5LNNZEh6w00JxxkZMoZnjjIgb/TBvqr/E1DbWyLHSyWwMD8sBoC+LX8q20ym75GRAXhvxIONA==}hasBin: true- '@supabase/[email protected]':- resolution: {integrity: sha512-7ndeL31NIiMcS+0Unv99GN9n1NG4ZwZuE6o0LbpFZzXatxn6noYiAwWtwgzipxjDGI7CGYxRPQQN048Wn9oJ4Q==}+ '@supabase/[email protected]':+ resolution: {integrity: sha512-TNbBLSofM6jQg3JwzO4lttd59dScTTzW4p504/OWcgRWghQLRNfxXRJJtdui83gBMLWpgeUZqvgtfYIwS1Flzw==}hasBin: true'@supabase/[email protected]':@@ -25304,7 +25304,7 @@ snapshots:'@sentry/[email protected]': {}- '@sentry/[email protected](@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected])([email protected](@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected])([email protected])([email protected])':+ '@sentry/[email protected](@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))(@opentelemetry/[email protected](@opentelemetry/[email protected]))([email protected])([email protected](@babel/[email protected]([email protected]))(@opentelemetry/[email protected])(@playwright/[email protected])([email protected]([email protected]))([email protected])([email protected]))([email protected])([email protected])([email protected])':dependencies:'@opentelemetry/api': 1.9.0'@opentelemetry/semantic-conventions': 1.36.0@@ -26154,43 +26154,43 @@ snapshots:'@supabase/[email protected]':optional: true- '@supabase/[email protected]':+ '@supabase/[email protected]':optional: true'@supabase/[email protected]':optional: true- '@supabase/[email protected]':+ '@supabase/[email protected]':optional: true'@supabase/[email protected]':optional: true- '@supabase/[email protected]':+ '@supabase/[email protected]':optional: true'@supabase/[email protected]':optional: true- '@supabase/[email protected]':+ '@supabase/[email protected]':optional: true'@supabase/[email protected]':optional: true- '@supabase/[email protected]':+ '@supabase/[email protected]':optional: true'@supabase/[email protected]':optional: true- '@supabase/[email protected]':+ '@supabase/[email protected]':optional: true'@supabase/[email protected]':optional: true- '@supabase/[email protected]':+ '@supabase/[email protected]':optional: true'@supabase/[email protected]':@@ -26204,15 +26204,15 @@ snapshots:'@supabase/supa-mdx-lint-win32-x64': 0.2.6-alphanode-pty: 1.0.0- '@supabase/[email protected]':+ '@supabase/[email protected]':optionalDependencies:- '@supabase/supa-mdx-lint-darwin': 0.3.0-alpha- '@supabase/supa-mdx-lint-linux-arm': 0.3.0-alpha- '@supabase/supa-mdx-lint-linux-arm64': 0.3.0-alpha- '@supabase/supa-mdx-lint-linux-i686': 0.3.0-alpha- '@supabase/supa-mdx-lint-linux-x64': 0.3.0-alpha- '@supabase/supa-mdx-lint-win32-i686': 0.3.0-alpha- '@supabase/supa-mdx-lint-win32-x64': 0.3.0-alpha+ '@supabase/supa-mdx-lint-darwin': 0.3.1+ '@supabase/supa-mdx-lint-linux-arm': 0.3.1+ '@supabase/supa-mdx-lint-linux-arm64': 0.3.1+ '@supabase/supa-mdx-lint-linux-i686': 0.3.1+ '@supabase/supa-mdx-lint-linux-x64': 0.3.1+ '@supabase/supa-mdx-lint-win32-i686': 0.3.1+ '@supabase/supa-mdx-lint-win32-x64': 0.3.1node-pty: 1.0.0'@supabase/[email protected]':diff --git a/supa-mdx-lint.config.toml b/supa-mdx-lint.config.tomlindex 2a0ebca0b44..2dbe93502ce 100644--- a/supa-mdx-lint.config.toml+++ b/supa-mdx-lint.config.toml@@ -18,3 +18,6 @@ rules.gender_neutral = "include('supa-mdx-lint/Rule004ExcludeWords/gender_neutrarules.inclusive_wording = "include('supa-mdx-lint/Rule004ExcludeWords/inclusive_wording.toml')"rules.preferred_usage = "include('supa-mdx-lint/Rule004ExcludeWords/preferred_usage.toml')"rules.slang = "include('supa-mdx-lint/Rule004ExcludeWords/slang.toml')"++[Rule006NoAbsoluteUrls]+base_url = "https://supabase.com"