Client portal
A ready-made SEO portal on this API, to sell or give to your customers as your own product. You install it on your own domain; each customer signs in with their own login and sees only their own website audits, AI visibility and link building, under your name, logo and colours. They never see prices, credits, your other clients, or whose service is behind it.
The portal, built and ready, with its source. About ten minutes to install.
InstallA small server with Docker, and a domain. HTTPS sets itself up.
Your brandName, logo and colour, set once in the portal’s admin area.
Two sides
| Your customers at your domain | Sign in with the email and password you gave them. They see their own sites only: audit scores and issues with how to fix them, pages, AI visibility, history, branded reports to download, and their link building (plan, sites found, links won). What else they may do is up to you, login by login. |
| Your team at /admin | Add clients and give them logins, choose what each login may do, run audits and link building for every client, approve emails and prices, connect mailboxes, upload search data, set your branding, and watch credits and usage. |
What a customer may do
Set per login, under Clients & logins → Portal logins → Access:
| Website audits | Hidden, view (reports and everything in them), or view and start scans, within a monthly allowance and a page limit you set. A scan they start is billed to your account like any other. |
| Link building | Hidden, follow (progress, the plan, sites found, links won), or follow and approve: the research plan, outreach emails before they go out, their own sites to add, and questions from sites. |
| Always yours | Prices and payments, campaign settings, mailboxes, branding, credits and usage. Customers never see them. |
Install
- Make an API key: sign in to amarkos.com, open API → API keys → New key.
- Point your domain (e.g.
seo.youragency.com) at a small Linux server with Docker. - On the server:
curl -fsSLO https://amarkos.com/downloads/client-portal.zip unzip client-portal.zip && cd client-portal ./setup.sh
setup.sh asks for your API key, the domain, a password for your team, and what to call the portal, then starts it with HTTPS. Open https://your-domain/admin, set your branding under Settings, add a client under Clients & logins, and give them a login. The portal shows the password once, ready to send.
Without Docker: Node.js 18 or newer runs it as it is (node server.mjs, port 8080) behind your own HTTPS.
Updates
The admin area says when a new version is out. Run ./update.sh in the portal’s folder: it keeps your settings, and customers stay signed in.
Settings (.env)
| API_KEY | Your amk_live_… key. Without one, the portal opens on sample data. |
| ADMIN_PASSWORD, ADMIN_EMAIL | Your team’s sign-in at /admin (the email is optional). |
| SESSION_SECRET | Seals sign-ins. setup.sh makes one. |
| DOMAIN | The portal’s domain, for HTTPS. |
| PRODUCT_NAME | What the portal is called, e.g. “Growth Portal”. |
| BRAND_NAME, BRAND_COLOR, BRAND_LOGO_URL, SUPPORT_EMAIL | Optional overrides for the branding saved in the admin area. |
How it works
- No database: everything lives in your account. Customer logins too, made with POST /v1/clients/{client_id}/users.
- A customer signs in through POST /v1/portal/login, which the portal’s server calls with your key. The answer is a session token that reaches only that client, as far as its login allows. It is kept sealed in a cookie; your key never reaches a browser.
- React and TypeScript, built with Vite;
server.mjshas no dependencies. The source comes with it, free to change for your agency.
Building your own portal instead? The same endpoints work for it: White label and the reference, under Portal logins.