This guide is for the business owner or operator setting up Eight Edges for their company. It explains what happens at each step, what you decide, what it costs, and how to fix the common problems. You do not need to be a developer.
The short version lives in the README of the repository. You open Claude Code, paste one prompt, and Claude follows the README as a runbook. The README calls the product "Company OS"; it is the same thing. This guide is the long version, for when you want to understand the install or check Claude's work.
Before you start
Who should do it
One person runs the install from start to finish, ideally in one afternoon. They need to be able to sign in to the accounts below and copy and paste. Claude does the technical work and stops to ask when it needs a person.
Set the accounts up under a company email address, not a personal one, so they stay with the company when people change.
The tools on your computer
Claude needs to reach GitHub, Supabase and Vercel from your computer. If that is not set up yet, follow The Stack first. It takes about two hours, on a Mac or Windows, and you finish with Claude Code signed in to all three.
Claude installs any missing command-line tool itself and tells you what it installed at the end: Node.js 20 or later, and the tools for GitHub (gh), Vercel (vercel), Supabase (supabase) and the database (psql). Nothing in the install needs Docker.
Accounts and costs
| Service | What it is for | Plan |
|---|---|---|
| GitHub | Holds your company's own copy of the code | Free |
| Supabase | The database, sign-ins and file storage | Start on the free tier |
| Vercel | Hosts the website and runs the scheduled jobs | Start on the free Hobby plan |
| Anthropic | Claude, which powers the AI features | Pay as you go, charged to your own account |
Start Vercel and Supabase on their free plans, and upgrade once your team relies on the system. Two limits of the Vercel Hobby plan matter here. It only runs daily scheduled jobs, so the hourly and every-15-minutes jobs need Pro. And it cuts long assistant replies off sooner than Pro does.
Both the Supabase project and the Vercel project are created on your accounts and can cost money. Claude asks you to agree to that, and tells you the names it will use, before it creates anything.
What you will be asked for
Have these ready before you paste the prompt:
- A project name. Claude uses it for the Supabase project, the Vercel project and your copy of the code. It will ask; it should not invent one.
- Your company name. It goes into the prompt.
- The email address of your first admin. Usually your own. Several addresses can be given, separated by commas.
- Where your copy of the code should live. By default it goes under your personal GitHub account. Tell Claude if it should go under a GitHub organisation instead.
- Keys for anything optional you want switched on, such as Resend for email or Stripe for payments. These can wait until later.
You do not give Claude your Anthropic API key. You add it yourself in Vercel at the end (see Your Anthropic key).
The prompt
Open the Claude desktop app, click the Code tab, pick a folder, and paste:
Use the README.md guide at https://github.com/edge8-ai/8-Edges-Fork to set up Company OS for <your company name>, and give me the Vercel website link to use.
What Claude does, step by step
The README numbers these Step 0 to Step 8. Here is what each one means for you.
Step 0: access and tools
Claude checks that it can reach GitHub, Supabase and Vercel. Two of the sign-ins, supabase login and vercel login, open a browser window and must be done by you. Claude asks for all of the missing sign-ins at once, so you are not interrupted halfway through. It also checks it is signed in to the right Vercel team, and installs any missing tools.
Step 1: your copy of the code
Claude forks the repository to your own GitHub account under your project name. This is your company's copy. It never pushes to the original repository. It then builds the code once on your computer. That takes about a minute and proves the code works before anything is created in the cloud.
Step 2: the Supabase project
Claude creates the database project in the region nearest you, and generates a strong database password.
Save the database password the moment Claude shows it, in your password manager. Supabase cannot show it again. A lost password means a reset.
Claude also records the project's keys. One key needs care: Claude must copy the older service_role key from the Supabase dashboard, not the newer sb_secret_ key the command line prints, because that one comes back masked and does not work.
Step 3: the database
This is the step the README warns about twice.
First warning: build from the two SQL files. The whole database comes from two files, applied in this order: supabase/00-prereqs.sql and supabase/01-schema.sql. They hold the structure only, with no data. The first creates the schemas, the three restricted database accounts the assistants use, and the 10 storage folders for uploads. The second creates the tables and the security rules on them. If Claude ever finds a supabase/migrations/ folder, it must not build from it: those files are incomplete and produce a database the app cannot use. If 01-schema.sql is missing, Claude should stop and tell you.
Second warning: expose the schemas. A new Supabase project only lets the app read its default schema. Eight Edges keeps its data in two others, company_os and htt. Until both are added under Supabase > Settings > API > Exposed schemas, the site builds, deploys and lets you sign in, but every screen is empty and every number reads 0. No error tells you why.
Claude then runs two checks. One counts the tables, security rules, database accounts and storage folders. It also confirms that the six private storage folders, which hold things like ID documents and resumes, are not public. The other asks the live database for a row over the web and must get a success code back. Do not let Claude continue until both pass.
Step 4: settings
Claude sets the settings (environment variables) on the Vercel project for all three environments: Production, Preview and Development. The names must match exactly. Claude then downloads them again to check that none was saved empty. The required and optional settings are listed in the next section.
Step 5: the first admin
Claude creates your sign-in and adds your email to the admin list. It shows you a generated password once. Save it, and change it after your first sign-in. Your admin record can also allow you to see pay and personal details. Give that only to people who should see wages.
Step 6: deploy
Claude connects the Vercel project to your copy of the code. From then on, every change pushed to your copy's main branch builds the live site. The first deployment of a new Vercel project goes live straight away.
Claude then tells Supabase the site's address, under Authentication > URL Configuration. Without it, password resets and emailed sign-in links fail with "requested path is invalid".
Step 7: checks on the live site
Claude does not stop at a green build. It checks that the home page loads, and that /admin sends a signed-out visitor to the sign-in page and shows nothing else. It then signs in and checks the admin screens show real sections, not zeros. Treat a failure of the signed-out check as a security problem, not a settings annoyance.
Step 8: hand-over
Claude gives you the live Vercel web address. That is the result you asked for. It then gives you the instructions to add your Anthropic key.
Your keys
Required
| Setting | What it does |
|---|---|
NEXT_PUBLIC_SUPABASE_URL and SUPABASE_URL | The address of your database (the same value in both) |
NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY | Sign-in and the login check on every page. If it is missing or empty, sign-in fails and admin pages can leak |
SUPABASE_SECRET_KEY | The server's full access to your database. It must never be shown in the browser |
NEXT_PUBLIC_SITE_URL | Your site's address. If unset, links and emails point at Edge8's own site |
ADMIN_EMAILS | Who gets into the admin portal. If unset, contact-form messages go to Edge8 instead of you |
CRON_SECRET | A random secret that protects the scheduled jobs. Without it, every job refuses to run |
ANTHROPIC_API_KEY | Claude, for every AI feature. You add this one yourself |
For the database assistants
The admin and team assistants read the database through restricted accounts. They are off until these are set. Without them the assistants reply "Database access is not configured", even with a valid Anthropic key.
| Setting | Turns on |
|---|---|
CHATBOT_DB_URL | The admin assistant's read access |
TEAM_CHATBOT_DB_URL | The team assistant's read access |
CHATBOT_WRITE_DB_URL | Changes made through the admin assistant, each one approved by a person |
The bottom of 00-prereqs.sql has the exact steps. Claude can do them for you.
Optional
Each of these switches on one feature. Leave it unset and that feature is simply off.
| Setting | Turns on |
|---|---|
RESEND_API_KEY | Email. Without it, emails are skipped |
STRIPE_SECRET_KEY, STRIPE_WEBHOOK_SECRET | Payments and checkout |
IMAGE_MODEL, GEMINI_API_KEY (or GOOGLE_API_KEY) | Marketing image generation |
ADMIN_ALLOWLIST | Extra admin emails, without an admin record |
SENSITIVE_VIEWERS | Who may see pay and personal details. Being an admin is not enough |
CHATBOT_PRIVILEGED_EMAILS | Who may make changes through the admin assistant. Empty means nobody |
AI_PROVIDER, OPENROUTER_API_KEY | Sends the repository summaries through OpenRouter instead |
There are also optional settings to choose which Claude model each feature uses. They all have sensible defaults.
Your Anthropic key
Never paste an API key into a chat, a file or an email. Add it in Vercel:
- At console.anthropic.com, open API Keys and create a key. Copy it; it is shown once.
- In Vercel, open your project, then Settings > Environment Variables.
- Add
ANTHROPIC_API_KEYwith your key, for Production, Preview and Development, and save. - Open Deployments and Redeploy the latest production deployment. A running site does not pick up a new setting on its own.
Until then, the public site, the admin and the portals work, but the assistants, resume screening, meeting and review summaries, coaching and the marketing writers return errors.
Your own domain
The site starts on a .vercel.app address. The README covers only part of moving to your own domain. When you add one, add it to Supabase too: under Authentication > URL Configuration, add the new address to the Redirect URLs, or sign-in links will fail. Ask Claude to do the rest: add the domain in Vercel, update NEXT_PUBLIC_SITE_URL, and redeploy.
Launch checklist
Before your team starts using it:
- The site loads at its address
- Signed out,
/adminsends you to the sign-in page - You can sign in, and the admin screens show real sections, not zeros
- A password reset email arrives and its link opens your site
- Your Anthropic key is in Vercel, you redeployed, and the admin assistant answers a simple question
-
NEXT_PUBLIC_SITE_URLandADMIN_EMAILSare your own, not Edge8's - The database password and the admin password are in your password manager
- You know which account owns GitHub, Supabase and Vercel
Troubleshooting
| What you see | Likely cause and fix |
|---|---|
| Everything loads but every number is 0, and lists are empty | The schemas are not exposed (Step 3), or the secret key is the masked sb_secret_ one (Step 2) |
| "Invalid schema: company_os" | The schemas are not exposed. Add company_os and htt under Supabase > Settings > API |
| "Invalid API key" | The masked secret key was used. Use the service_role key from the Supabase dashboard |
/admin opens, or shows an error page, while signed out | NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY is missing or empty. Treat it as a security problem and fix it before anything else |
| The sign-in page breaks in the browser | The same setting |
| Password reset says "requested path is invalid" | Supabase does not know the site's address (Step 6) |
| Contact-form messages reach Edge8, or links point at Edge8 | ADMIN_EMAILS or NEXT_PUBLIC_SITE_URL is unset |
| A setting was "added" but has no effect | It was saved empty, or the site was not redeployed. Ask Claude to check and redeploy |
| The assistant returns an error about a missing key | ANTHROPIC_API_KEY is missing, or you have not redeployed |
| The assistant says "Database access is not configured" | CHATBOT_DB_URL is unset, or its restricted account was not given a password |
| Scheduled jobs never run | CRON_SECRET is unset, or the Vercel plan is Hobby (daily jobs only) |
| No emails arrive | RESEND_API_KEY is unset |
| Checkout fails | STRIPE_WEBHOOK_SECRET is unset |
| A page says a table is missing | The database did not build fully. Ask Claude to re-run the Step 3 counts |
You can also ask Claude to read the README and this guide and diagnose the problem. It can run the checks for you.
Where to get help
- The community. For US$99 a month, the Edge8 builder community gives you working sessions, install help, new workflow templates as they ship, and direct answers from the team. The software stays free either way.
- Done for you. For a one-time US$15,000, Edge8 installs Eight Edges, connects up to five of your existing data sources, migrates your data, and walks your team through it. Schedule a consultation.
- Problems with the software. Open an issue on the GitHub repository. Do not send a pull request; see the maintenance guide for why.
Once it is running, the maintenance guide covers sign-ins, keys, scheduled jobs, updates and backups.