The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Update install and setup steps
dannykng3167ace0024e
diff --git a/apps/reference/docs/guides/auth/auth-helpers/nextjs.mdx b/apps/reference/docs/guides/auth/auth-helpers/nextjs.mdxindex 5c64f4ba60d..33c9458cb73 100644--- a/apps/reference/docs/guides/auth/auth-helpers/nextjs.mdx+++ b/apps/reference/docs/guides/auth/auth-helpers/nextjs.mdx@@ -24,8 +24,15 @@ This submodule provides convenience helpers for implementing user authentication```shnpm install @supabase/auth-helpers-nextjs+```++This library supports the following tooling versions:++- Node.js: `^10.13.0 || >=12.0.0`+- Next.js: `>=10`-# Main components and hooks for React based frameworks (optional)+Optionally, install **React Auth Helpers** for components and hooks that can be used across all React-based frameworks.+```shnpm install @supabase/auth-helpers-react```@@ -34,26 +41,27 @@ npm install @supabase/auth-helpers-react```shyarn add @supabase/auth-helpers-nextjs--# Main components and hooks for React based frameworks (optional)-yarn add @supabase/auth-helpers-react```-</TabItem>-</Tabs>-This library supports the following tooling versions:- Node.js: `^10.13.0 || >=12.0.0`-- Next.js: `>=10`+Optionally, install **React Auth Helpers** for components and hooks that can be used across all React-based frameworks.++```sh+yarn add @supabase/auth-helpers-react+```++</TabItem>+</Tabs>+## Set up environment variables-Set up the following env vars. 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](https://app.supabase.com/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-# Find these in your Supabase project settings > APINEXT_PUBLIC_SUPABASE_URL=https://your-project.supabase.coNEXT_PUBLIC_SUPABASE_ANON_KEY=your-anon-key```