Basejump Logo

Basejump

DocsGetting StartedSupabase Test Helpers
Basejump on GithubBasejump on Twitter
Close Documentation Menu
  • Quick Start
  • Setup
  • Account Types
  • Configuration Variables
  • Environment Variables
  • Setup Stripe
  • Developing
  • Permissions and RLS
  • Convenience Methods
  • Content
  • Blog Template
  • Docs Template
  • Deploying
  • Setup Supabase
  • Deploying Migrations
  • Deploying to Vercel
Documentation Menu
Setup

Environment Variables

Basejump leverages both Supabase and Stripe. In both cases, there are environemnt variables needed to complete your integration.

These variables shouldn't be set using the standard NextJS .env files. They are used inside scripts as well. I like to use direnv.

  • URL - This is the URL of your main web app. It's used to generate redirect links for emails and Stripe payment pages
  • NEXT_PUBLIC_SUPABASE_ANON_KEY - Anonymous key for your Supabase instance
  • NEXT_PUBLIC_SUPABASE_URL - URL for your Supabase instance
  • STRIPE_SECRET_KEY - Secret key for your Stripe account. It's used to listen for webhooks to track account statuses.
  • SUPABASE_SERVICE_ROLE_KEY - Privileged token for your Supabase instance. It's used to update account info off Stripe webhooks.
Close Documentation Menu
  • Quick Start
  • Setup
  • Account Types
  • Configuration Variables
  • Environment Variables
  • Setup Stripe
  • Developing
  • Permissions and RLS
  • Convenience Methods
  • Content
  • Blog Template
  • Docs Template
  • Deploying
  • Setup Supabase
  • Deploying Migrations
  • Deploying to Vercel

© 2023 usebasejump.com

Basejump Logo

Basejump

  • Docs
  • Getting Started
  • Supabase Test Helpers
  • Basejump on GithubBasejump on Twitter