Quickstart
This guide walks you through your first end-to-end flow on Zerq: publish an API, create a client with credentials, and make a live authenticated request — all in under 10 minutes.
Prerequisites: Zerq is deployed and you have access to the Management UI. If you need deployment help, contact your platform administrator.
Step 1 — Sign in to the Management UI
Open your Zerq Management UI URL (e.g. https://zerq.yourdomain.com) and sign in with your platform credentials.
You land on the Dashboard, which shows request metrics, top endpoints, and recent activity.
Step 2 — Create a Collection
A Collection is a logical group of API endpoints that share a base path, credentials, and access settings.
- In the sidebar, click Collections.
- Click New Collection.
- Fill in:
- Name — a descriptive label (e.g.
Payment API) - Base Path — the URL prefix for all endpoints in this collection (e.g.
/payments) - Target Base URL — the upstream service this collection proxies to (e.g.
https://api.payment-service.internal)
- Name — a descriptive label (e.g.
- Click Save.
The collection is created in Draft status. Nothing is published yet.
Step 3 — Add a Proxy (endpoint)
A Proxy defines a single route — it maps an inbound path pattern to a target path on the upstream.
- Open the collection you just created.
- Click Add Proxy.
- Use the setup wizard:
- Step 1 — Info: Enter a name and description for this endpoint.
- Step 2 — Route: Set the HTTP method (e.g.
GET) and path (e.g./v1/charge). This path is appended to the collection base path. - Step 3 — Headers: Add any static or environment-variable-backed headers to forward upstream.
- Step 4 — Parameters: Define path and query parameters with types and descriptions.
- Step 5 — Schema: Add JSON Schema for request/response bodies (used in portal docs and OpenAPI export).
- Step 6 — Review: Confirm and save.
- Click Publish on both the proxy and the collection to make them live.
You can also import a complete OpenAPI 3.0/3.1 spec using Import → OpenAPI to bulk-create proxies.
Step 4 — Create a Client and Profile
Clients represent the applications or teams that consume your APIs. Profiles hold the authentication credentials issued to a client.
Create a Client
- Go to Access Control → Clients.
- Click New Client.
- Enter a Name and Email (the primary contact).
- Assign the client to your collection.
- Click Save.
Create a Profile
- Open the client and click Add Profile.
- Enter a profile name (e.g.
Production). - Choose an authentication method:
- Token — Zerq issues a bearer token. Best for server-to-server calls.
- JWT — Client presents a short-lived HMAC-signed JWT.
- OIDC — Client authenticates via your identity provider (e.g. Keycloak).
- mTLS — Certificate-based mutual authentication at the gateway.
- None — Open access (use only for internal or public endpoints).
- Click Save. The profile credentials are displayed — copy the token now, it won't be shown again.
The profile page shows token expiry state:
- Valid (green) — token is active
- Expiring Soon (amber) — expires in less than 24 hours
- Expired (red) — rotate immediately
Step 5 — Make your first API call
With the collection published and a profile token in hand, make a live request through the gateway.
curl -X GET "https://zerq.yourdomain.com/payments/v1/charge" \
-H "X-Client-ID: <your-client-id>" \
-H "X-Profile-ID: <your-profile-id>" \
-H "Authorization: Bearer <your-token>"
You should receive the upstream response. A 401 means credentials are wrong or the profile is expired. A 403 means the client is not authorized for that collection or the IP is restricted.
Step 6 — Verify in Request Logs
Every gateway request is logged in real time.
- Go to Logs → Request Logs.
- Find your request (filter by path, method, status code, or client).
- Click a log entry to view:
- Full request and response headers
- Request/response body (if logging is enabled)
- Latency, status code, matched proxy, and client identity
The log confirms the request was authenticated, routed, and processed correctly.
Next steps
- Key Concepts — understand collections, proxies, clients, profiles, and workflows
- Choose Your Path — role-specific guidance for admins, developers, and consumers
- Managing Collections — deep dive into collection settings and lifecycle
- Authentication Methods — compare token, JWT, OIDC, mTLS, and none
- Developer Portal — how API consumers access and test your published APIs