Customer portal
288 of 300
Seats in use
4
Open requests
14 Nov
Renewal date
2
Questions this week
Halden Foods
What the account team sees for this customer
- Plan
- Pro, annual
- Contract
- 1 Dec 2025 to 14 Nov 2026
- Seats
- 288 of 300
- Account manager
- R. Iyer
- Last invoice
- 34,166, paid
Recent activity on this account
- Today Usage summary sent to s.roche@halden.example by R. Iyer
- 2 days ago Invoice INV-20418 sent by R. Iyer
- Last week Support request opened shown here with its status
- Last week Seat removed for a leaver read from the product
- Never A figure from another customer the property this whole build rests on
What matters here
- A customer account portal is four parts: a customer record, the answers customers ask for, access scoped by account, and a log of what was sent.
- Hang every invoice, usage figure and request off one customer organization, matched to your CRM and billing records.
- Contacts belong to customer organizations, and some belong to several. Model that on day one rather than assuming one company per contact.
- Scope what each person on your team sees. An account manager sees their own accounts, and leadership sees them all.
- Start from what customers actually email about: invoices, usage, who has access, and the status of a request.
- Log what was sent to the customer and by whom, so the next person on the account can see what the customer was told.
Who this is for
You are building or specifying a portal your account managers, customer success managers and support team will use. What you want is the customer record right at the start, and the scope aimed at the questions your team currently answers by hand.
How it works in practice
What an account manager does when a customer asks a question, and what has to be true underneath for the answer to be right.
- 1
Every customer is one organization record
Matched to the CRM account and the billing customer, so the portal shows the same customer your other systems do.
- 2
Contacts belong to an organization, and sometimes to several
Partners, contractors and acquisitions all produce that case, and a single organization column on the contact record is expensive to unpick later.
- 3
Every query is scoped by organization, in one place
So a page about one customer can never show a figure that belongs to another.
- 4
The team answers from one page
Invoices, usage against entitlement, who has access, documents, and open requests. In most B2B businesses that is what your team answers by email.
- 5
Each person sees the accounts they work
An account manager sees their own accounts, support sees the account on the ticket, and leadership sees them all.
- 6
What was sent to the customer is logged
Who sent which invoice, figure or document, and when, so the next person on the account knows what the customer was told.
What a customer account portal is made of
A customer account portal is not another CRM view. It is four parts, and the first is the one that is expensive to fix later.
A customer record
Customer organizations as first-class records, matched to the CRM account and the billing customer, with contacts linked through a membership so a contact can belong to more than one.
The answers customers ask for
The things customers currently email about: invoices and payment history, usage against entitlement, who at their company has access, documents, and the status of open requests.
Access scoped by account
Roles for your own team: an account manager sees their accounts, support sees the account on the ticket, finance sees billing, and leadership sees every account.
A log of what was sent
A record on each account of which invoice, figure or document went to the customer, who sent it and when.
The prompts
Paste these into Claude Code, Codex or Cursor in order. Each one leaves you with something that runs, so you can stop after any step.
These prompts start from a Helix project, which is what handles sign-in, credentials and hosting. Start with Helix.
The customer record, before any feature
The one decision here that is expensive to change later.
Create a Helix app: a customer account portal for our account team. Before any feature, get the customer model right.
Customer organizations are first-class records: name, status, plan, account manager, created date, and a reference to our CRM and billing records.
Contacts have no organization column. Instead there is a membership record linking a contact to an organization with a role. A contact can belong to more than one organization.
Build one data access layer that every query goes through. It requires an organization id, so a page about one customer can never show a record that belongs to another.
Write tests for that before any feature: for every table, a query for organization A never returns a record belonging to organization B.
Build for the emails your team actually gets
In the order those emails arrive.
Now the pages for each customer, in this order, because it is roughly the order our team answers these by hand.
Account overview: plan, contract dates, renewal date, primary contact and account manager.
Billing: invoices with status and amount, plus payment history.
Usage against entitlement: what they have used this period against what they are entitled to, with history. Put the definition of the metric next to it.
Users: everyone at the customer with access to our product, their role, and their last sign-in.
Documents: contracts, order forms and security documentation.
Requests: any open support ticket or service request with its status.
If we do not have a reliable source for a figure, say so rather than showing an approximation.
Each person sees the accounts they work
Roles for your own team.
Define roles in a config file: account manager, support, finance and leadership, each with a description of what it can see.
An account manager sees the accounts they own. Support sees the account a ticket belongs to. Finance sees billing for every account. Leadership sees everything.
Add search across customers by name, domain and contact email, returning only the accounts that person can see.
Answer the customer from the page
The step that replaces the hunt through five systems.
On each page, add a way to copy a short summary to send to the customer: the invoice with its status, the usage figure with its definition, or the list of users with access.
Log every summary on the account: what it was, who copied it and when.
Add health signals for the account team: last sign-in by anyone at the customer, active users against licensed, and features never used. Flag any customer where nobody has signed in for sixty days.
Connect it to real systems
The step that turns a working prototype into something with your data in it.
Now connect it to the systems we actually run, so it works on real data rather than the rows you seeded.
Anything in angle brackets is a placeholder. Swap it for whatever we use instead, and have the app name the connection it wants rather than assume a vendor, so changing my mind later is a config change and not a rewrite.
<Stripe>. Read invoices, payment history and plan, which is the single most requested thing on any account.
<Amplitude>. Show usage against entitlement, with the metric definition beside it.
<Zendesk>. Show the status of the customer's open requests.
<Salesforce>. Read the account, contract dates and account manager, so the portal shows the same thing our CRM does.
<Google Drive>. Find contracts, order forms and security documentation.
<Snowflake>. Read the usage totals behind the entitlement view, aggregated once a day rather than counted live on every page load.
Only write where I have said to write. Everything else is read only.
Ship it
The last step of every build: a URL, and the right people on it.
Deploy my app.
What it connects to
Everything on a customer's page is assembled from systems that each hold one piece of the account, which is most of the work.
-
Stripe Read invoices, payment history and plan, which is the single most requested thing on any account. Reads
-
Amplitude Show usage against entitlement, with the metric definition beside it. Reads -
Zendesk Show the status of the customer's open requests, so nobody has to ask support for an update. Reads -
Salesforce Read the account, contract dates and account manager, so the portal shows the same thing your CRM does. Reads
-
Google Drive Find contracts, order forms and security documentation that you currently hunt for on request. Reads
-
Snowflake Read the usage totals behind the entitlement view, aggregated once a day rather than counted live on every page load. Reads
Named systems are the ones most teams actually run, not a list of the only ones that work. Swap in whatever you use.
Running it for real
The build gets you a working portal. It holds one customer's invoices and contract next to another's, and your team will quote figures from it to customers, so it needs to be run properly.
- 1
Get it to a URL people can open
One command takes the app from your assistant to a live address, so the people who need it get a link rather than instructions for running it locally.
- 2
Put your identity provider in front of it
Invoices and contract values are commercially sensitive. SSO means your team signs in with their existing account, and access is scoped so an account manager sees their accounts while leadership sees them all.
- 3
Connect the system of record with managed credentials
Reading billing, usage and contract data from your systems needs real access. Granting it to the app rather than embedding keys means credentials can be rotated or revoked without a redeploy.
- 4
Put a name on it
Every app carries a named owner and an entry IT can see, so the tool does not become nobody's problem when the person who built it changes role.
- 5
Know what it costs to run
Per-app spend visibility, so an internal tool cannot quietly become a line item nobody can explain.