A private portal for your clients: a Claude + Bolt.new stack

The struggle: Clients keep emailing you files and status questions because you have no place to share them.

What you end up with: A private portal where each client logs in, sees their status and files, and nobody sees another client's page.

Claude writes the spec with access rules first, Bolt builds the portal on its built-in database and login, and you test with dummy clients before a real file goes in.

Tools: Claude, Bolt.new. Level: Free to start. Time: 1 day.

Use it if

  • Clients email you for files and status
  • You run projects, accounting or design work for a handful of clients
  • You want one place with a login

Skip it if

  • You hold health, legal or financial records: a security professional must review first
  • You need client signatures or e-signature

The method

  1. Write the spec with access rules (Claude: Chat)

    Describe what each client should see and what only you see. Ask for roles, screens, data and a one-line access rule per screen.

    Prompt to copy:

    Write a one page spec for a client portal. Roles: client and admin (me). Clients can see [status, files, invoices list]. Only I can [add clients, upload files, change status]. For every screen, write one access rule in plain words, such as 'a client sees only their own files'. List data fields and what is out of scope. Ask up to 4 questions first if needed.

    You get: A spec with an access rule for each screen.

    Tip: The access rules are the product. Write them before anything looks pretty.

  2. Build on login and database (Bolt.new: Bolt Database)

    Paste the spec into Bolt and ask for login and a Bolt Database. New tables are private by default, so keep them that way and add access only where a screen needs it.

    Prompt to copy:

    Build this portal from the spec. Use Bolt Database with login. Clients may read only rows linked to their own account. Admin can manage everything. Do not make any table public. Start with login and one client page, then stop for review. Spec: [paste]

    You get: A portal skeleton with login.

    Tip: Ask Bolt to stop after the first page so you can test before it adds more.

  3. Write the dummy client test (Claude: Chat)

    Ask Claude for a test sheet using three dummy clients and an admin, aimed at reading another client's data.

    Prompt to copy:

    Create a test sheet for a client portal with three dummy clients and one admin. Include tests where client A tries to open client B's page, file link and status, a logged out visitor opens a file link, and a client edits a field they should not. Format: Steps, Expected, Result.

    You get: A cross-client test sheet.

    Tip: A direct file link is the first thing to test. Do not assume it is private.

  4. Run the test with dummy data (Bolt.new: Preview)

    Create dummy clients with fake names and a harmless file. In the database view, check each file bucket is set to private. Test each case in separate browser windows. Fix one failure at a time and retest everything.

    You get: A passed test sheet.

    Tip: Files in a public bucket open for anyone with the link, even when signed out. Keep client buckets private and test the direct link.

  5. Keep a copy of the code (Bolt.new: GitHub)

    Click the GitHub icon in the project, log in to GitHub and install the Bolt app. Bolt creates a repository, which starts private, and commits each change that does not break the project.

    You get: A private code copy outside Bolt.

    Tip: Collaborators' changes sync when the owner opens the project.

Where this goes wrong

  • Test with dummy data before any real client file goes in.
  • Have a person review login and access rules before real clients use it.
  • Do not store anything you would not want exposed if a rule fails.

Swap a tool

  • Lovable instead of Bolt.new: Lovable with Supabase gives you more control over database rules.

Sources

More like this

Updated . Written with AI help and checked by an independent review step, as described in our editorial standards.