Setting Up Supabase

Supabase is where your ARK product stores its data. You'll create a new Supabase project, then copy two values from it that Vercel will use to connect.

This whole page takes about two minutes.

1. Create your Supabase account

If you already have a Supabase account, skip to step 2.

  1. Open supabase.com in your browser.
  2. Click Start your project in the top right.
  3. Sign in with GitHub (recommended — you already need a GitHub account for ARK) or with email.
  4. If this is your first project, Supabase asks you to create an organization. Name it whatever you want — your company name is a good choice. The free tier is fine.

2. Create a new project

Inside your organization:

  1. Click New project.
  2. Fill in the form:
    • Name: Use the product name (e.g., track-crm). This is just a label for you. You can change it later.
    • Database Password: Click Generate a password and save it to your password manager immediately. Supabase only shows it once. You won't need it for ARK setup, but you'll need it if you ever connect to the database directly.
    • Region: Pick the region closest to where you and your team are located. This affects how fast the site feels.
    • Pricing Plan: Free is fine to start. You can upgrade later without losing data.
  3. Click Create new project.

Supabase takes about 60 seconds to provision your project. While you wait, leave the tab open.

3. Find your Project URL and API keys

Once the project is ready, you'll see the project dashboard.

  1. In the left sidebar, click the gear icon at the bottom (Project Settings).

  2. Inside Project Settings, click API in the left submenu.

  3. You'll see a page titled Project API. There are two values you need to copy:

    Project URL — under the heading Project URL. It looks like:

    https://abcdefghijklmnop.supabase.co
    

    Click the copy icon next to it and paste it somewhere safe (a notes app or text file). You'll paste this into Vercel in the next page.

    anon public key — under the heading Project API keys, find the row labeled anon public. It looks like a long string starting with eyJ...:

    eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...
    

    Click the Reveal button to show the full key, then click the Copy icon. Paste it into your notes alongside the URL.

4. Set the Site URL (do this after Vercel is deployed)

We need to come back here once. After you finish setting up Vercel and have your live URL (e.g., https://my-crm.vercel.app), come back to Supabase:

  1. Project SettingsAuthenticationURL Configuration.
  2. Set Site URL to your Vercel URL (e.g., https://my-crm.vercel.app).
  3. Under Redirect URLs, add the same URL plus a wildcard: https://my-crm.vercel.app/**.
  4. Click Save.

This is what makes password-reset emails and magic links go to your website instead of localhost.

What you should have now

Two values copied to your notes:

  • A Project URL like https://abcdefghijklmnop.supabase.co
  • An anon public key starting with eyJ...

Keep this tab open. We'll come back to run the database schema after Vercel is set up.

Next: Setting Up Vercel