A Prompt for a Client Portal
Stop chasing approvals through email threads. This brief builds a portal where each client sees their own projects, files and decisions, and nothing else.

Key takeaways
- Invite-only sign-in and per-client data rules are the core of a portal. Everything else is a feature on top.
- Approvals need a record: who approved which version, when, with what comment.
- Files live in a private bucket and are opened through short-lived links, never public URLs.
Here is a complete prompt for a client portal for a small design, video or marketing studio. Clients sign in by invitation, see only their own projects, download deliverables, approve or request changes on each version with a comment, and keep one message thread per project instead of a dozen email chains. Your team sees every client. Paste the brief, then use the follow-ups and fixes to fit it to how your studio works.
Paste this
Build a client portal web app for a small creative studio. Polished, minimal, our logo top left. Use Startbase Cloud for sign-in, data, private file storage and emails. Sign-in is invite only: no public sign-up. Roles: staff (our team) and client contacts. Data: clients (company name, logo), contacts (user, client), projects (client, name, status: active, on hold, done; due date), deliverables (project, title, description, version number, files, status: draft, awaiting approval, approved, changes requested; sent_at), approvals (deliverable, contact, decision: approved or changes requested, comment, created_at), messages (project, author, body, optional attachment, created_at), and activity (project, actor, action, created_at). Rules: contacts see only projects of their own client; staff see everything. Contacts never see draft deliverables. Only staff create projects, upload files and send deliverables. Files go in a private storage bucket and open through signed links that expire. Screens for contacts: 1) My projects with status and what is waiting for them. 2) Project page: deliverables newest first with version history, an Approve button and a Request changes button that requires a comment, the message thread, and an activity log. Screens for staff: all clients and projects, invite contact by email, upload a deliverable as a new version, and a dashboard of everything awaiting client approval for more than 3 days. Emails: when a deliverable is sent for approval, when a client decides, and when a new message arrives (at most one email per project per hour). Out of scope: invoicing and payments, time tracking, contracts and e-signatures, and real-time chat.
What each line does
- Invite only: Startbase Cloud's sign-in settings include an invite-only mode that blocks new sign-ups while invited users get in. A portal with a public sign-up page is an open door you never wanted.
- Clients, contacts and projects as separate tables: a client is a company, and companies have several people. Linking contacts to a client (not to projects one by one) means a new person at the client sees everything their colleagues see, without you re-sharing each project.
- "Contacts see only projects of their own client": this is the sentence that matters most. The agent turns it into row-level security policies on every table, so even a mistake in a screen cannot show one client another client's work.
- No drafts for clients: you upload, check, then send. Drafts that leak early cause awkward calls.
- Version numbers on deliverables: "the logo" is never one file. Versions answer "which one did they approve?" months later.
- Request changes requires a comment: a bare "no" starts a phone call. A required comment turns it into a brief for the next version.
- Private bucket and expiring links: client work is confidential until launch. Storage buckets in Startbase Cloud are private by default, and signed links let a signed-in contact open a file without the file ever being public.
- Approval waiting over 3 days: the dashboard surfaces the stalled decisions that quietly push deadlines. It is the staff-side reason to build the portal at all.
- Email at most once per hour per project: a busy thread should not send twenty emails. Throttling keeps notifications welcome.
Your next three prompts
- 01"Let contacts leave comments pinned to a spot on an image deliverable: click on the image to drop a numbered pin with a comment, and show pins and comments side by side for staff."
- 02"Add a client onboarding checklist per project: staff define items (brand assets, logins, copy), contacts upload files or tick items, and the project page shows progress."
- 03"Brand the portal per studio: our own sending domain for emails with our name as sender, and a custom domain for the portal."
Pinned image comments replace the screenshot-with-red-arrows emails that every designer knows. The onboarding checklist fixes the first two weeks of every project, which is usually spent waiting for assets. Branding comes third but matters for trust: clients notice when emails come from your domain. Custom domains need a paid plan, and a sending domain is connected in the Emails section with the DNS records Startbase shows you.
Two variations
- An accountant or bookkeeper portal: replace deliverables with document requests ("Upload your March bank statements") that clients fulfill, with due dates and reminders sent by a scheduled job. Add a year and a category to every file. The approval flow becomes "received and checked" by staff.
- A contractor or renovation portal: projects get stages (demolition, electrical, finishes), each with photos uploaded by staff from a phone, a change order that the client approves with a comment, and a simple schedule. Photos from the site are the deliverables, and the approval record protects both sides when scope changes.
Where it usually breaks, and what to type
- A contact sees another client's project. Usually a policy checks the user is a contact but not of which client. Ask: "Test as a contact of client A: confirm they cannot read any project, deliverable, message, file or activity of client B. Fix the policies on every table and the storage bucket."
- Signed links in old emails stop working. That is correct behavior, but confusing. Ask: "Emails link to the project page, never directly to a file. Files open from the page with a fresh signed link."
- Invited contacts never get in. The invite email can land in spam or expire. Ask: "Show staff the invite status per contact (sent, accepted) with a Resend invite button."
- Approvals can be changed after the fact. Ask: "Approvals are append-only: a new decision adds a row and the latest one counts; nobody can edit or delete past approvals."
- Large video files fail to upload. Ask: "Upload large files in parts with a progress bar, show a clear error with the size limit if it fails, and let staff retry."
Rolling it out to clients
Start with one friendly client and one active project. Send the invite yourself with a short note explaining what the portal is for ("approvals and files live here now"). After two or three projects, make the portal the only place deliverables are sent; portals that run alongside email never take over.
For a broader look at features, roles and pricing a portal into your services, read how to build a client portal. The per-client rules rest on row-level security, and private files on how apps store files and images. The Auth docs show the invite-only switch and how to invite users by email.
Frequently asked questions
What should a client portal include?
At minimum: invite-only sign-in, per-client projects, private file sharing, an approval record for each deliverable, and one message thread per project. Invoicing and contracts can come later or stay in tools you already use.
How do I keep client files private?
Store them in a private bucket, check on the server that the person belongs to the right client, and open files through signed links that expire. Never email public file URLs.
Will clients actually use a portal?
They will if it is the only place deliverables arrive and it saves them effort. Start with one client, keep sign-in simple, and send email notifications that link straight to the project page.

