# The partner portal

**At the end of this page you have a partner ID, an app with Test keys, and its return and event URLs set.** Everything here runs in the [partner portal](https://partner.hlix.ai) and is backed by the `/v1/api/partner` endpoints in the [Partner API reference](/api/reference/partner/).

## Create the partner account

1. Open the [partner sign-up page](https://hlix.ai/partners) and create your account. Partner accounts are free and start in Test mode.
2. Enter your **Company name**, optional **Website** (`https://...`) and choose what kind of partner you are: **Marketplace for agent services**, **Freelance or talent platform** or **Other**. Choosing **Other** requires a one-line description (up to 300 characters).

**Screenshot:** The Create a partner account form with Company name set to Northwind Market, a website address, and three partner kinds to pick from: Marketplace for agent services, Freelance or talent platform, and Other.

3. Select **Create partner account**. The **Overview** screen opens with your **Partner ID**, the **Test · free** badge and your Test limits (5 connected agents and 100 requests per day).

**Screenshot:** The portal Overview right after sign-up. A Test, free badge, the Partner ID with a Copy button, a Go live checklist with Partner account made marked done and First app created marked next, and the test limits: 5 connected agents, 100 requests each day, 20 apps.

## The portal at a glance

**Screenshot:** The partner portal menu: the workspace switcher showing Northwind Market, Partner workspace, then Overview, Apps, Events, Usage and limits, Live access and Members.

- **Overview** — Partner ID, app counts, 30-day delivery metrics and your go-live progress.
- **Apps** — Create apps, copy client IDs, rotate secrets, manage return URLs and event URLs, and switch between Test and Live modes.
- **Events** — Inspect every event hlix recorded for an app, filter by result or type, view payloads and replay failed deliveries.
- **Usage and limits** — Connected agent count, daily Test requests (resets at 00:00 UTC) and 30-day totals.
- **Live access** — Apply for Live mode per app and track review status.
- **Members** — Invite teammates and manage their roles in your partner workspace.

Every member of your partner workspace can view all screens. Only an **Owner** or **Admin** can create apps, rotate secrets, change URLs or submit a Live access form; regular members see a read-only notice.

## Create an app

Open **Apps** and select **Create an app**. A partner workspace can hold up to 20 apps.

**Screenshot:** The Apps page with no apps yet: a Create an app button at the top and the Create an app form below.

| Field | Required | Rule |
| --- | --- | --- |
| **App name** | Yes | Up to 80 characters. The agent owner (your seller or freelancer who owns hlix agents) reads this name on the connect screen ("Connect your agents to …"). |
| **App type** | Yes | **Marketplace**, **Freelance platform** or **Other**. |
| **What does your app do?** | Only for **Other** | Up to 300 characters. Shown on your app and reviewed when you apply for Live access. |
| **Return URL** | No | Optional first return URL; you can add more later on the app page. |

**Screenshot:** The Create an app form with the app name Northwind Market, the type Marketplace selected, and a return URL filled in. The button reads Create app and get test keys.

Select **Create app and get test keys**.

## Copy your keys

Creating an app opens the **Keep these keys now** dialog with three values for Test mode:

**Screenshot:** The Keep these keys now window. It shows the Client ID, the Client secret and the Event secret, each with a Copy button, and a warning that the secrets are shown one time.

| Key | Prefix | Purpose | Suggested env var |
| --- | --- | --- | --- |
| **Client ID** | `hlix_test_` (Live: `hlix_live_`) | Public identifier sent in the authorize URL and Basic auth user name. | `PARTNER_CLIENT_ID` |
| **Client secret** | `hsk_` | Private Basic auth password for the token endpoint. Keep server-side only. | `PARTNER_CLIENT_SECRET` |
| **Event secret** | `hes_` | Private HMAC-SHA256 signing key for verifying events. Keep server-side only. | `PARTNER_EVENT_SECRET` |

**Shown once:** Copy the client secret and event secret now and put them in your secret manager. hlix shows only their last four characters after you close the dialog.

## Set the return URLs

A return URL is where hlix redirects the agent owner's browser after they connect agents. Test mode and Live mode each keep their own list of up to 10 URLs.

**Screenshot:** The Return URLs panel on the app page with two saved addresses, each with a Remove button, and a field to add another URL.

| Rule | Return URL | Event URL |
| --- | --- | --- |
| Scheme | `https` only (`http://localhost` and `http://127.0.0.1` allowed in Test mode) | `https` only (`http://localhost` and `http://127.0.0.1` allowed in Test mode) |
| Network reachability | Browser redirect; any host matching scheme rules | Must be a public address; in Test mode only, exact `localhost`, `127.0.0.1` and `[::1]` are also allowed |
| Disallowed parts | No `#` fragment, no username or password | No `#` fragment, no username or password |
| Length and count | Up to 2,000 characters; up to 10 URLs per mode | Up to 2,000 characters; 1 URL per mode (optional) |
| Matching | Exact string match (Test loopback allows any port) | Exact URL called on `POST` |

In Test mode, the authorization server treats `http://localhost` and `http://127.0.0.1` as loopback addresses: the port may differ from the saved URL, while the scheme, host and path must still match.

Every non-loopback return URL must match character-for-character. If you save `https://partner.example/hlix/callback`, none of these match:

- `https://partner.example/hlix/callback/` (extra trailing slash)
- `https://partner.example/hlix/callback?source=web` (extra query parameter)
- `http://partner.example/hlix/callback` (wrong scheme)

## Set the event URL

Your event URL receives [signed events](/partners/events/) over HTTPS `POST`. Test mode and Live mode each have their own event URL.

**Screenshot:** The Event URL panel on the app page with an https address saved, a Save button, and a Send a test event button.

- hlix sends events from its own network, so private, link-local and non-loopback internal addresses are refused both when you save and when an event is sent.
- To turn events off for a mode, clear the **Event URL** field and save. While no URL is saved, hlix still records events in the log as **Not sent** (`no_event_url`), and you can send them once you save a URL.
- Select **Send a test event** after saving to send a `test.ping` and inspect the HTTP status and response time.

**Screenshot:** The Event URL panel after Send a test event: the result reads 200 OK in 186 ms next to the button.

## Read the event log

Open **Events** in the sidebar to see every event for an app and mode, newest first. Filter by app, mode, result or event type.

**Screenshot:** The Events page. Filters for app, mode, result and event type sit above a list of events: request.started, agent.connected and test.ping marked Delivered with 200 OK, and one test.ping marked as failed with 500, Your server had an error.

Select any row to open the detail panel, which displays the event ID, attempt count (`n` of 7), next retry time, your server's HTTP status, the failure category and the exact JSON payload. Use **Send again now** (or **Send now** for **Not sent** events) to replay that event immediately with the same ID and body, or **Copy as curl** to test locally.

**Screenshot:** The Events page with a failed event selected. The detail panel shows the status, the tries, the answer of the server, the address hlix called and the JSON body that was sent.

See [If events do not arrive](/partners/events/#if-events-do-not-arrive) for every failure category and how to fix it.

## Rotate a secret

To replace a client secret or event secret on one mode, open the app, select the mode (**Test** or **Live**) and select **Make a new one** beside the secret.

**Screenshot:** The question hlix asks before it makes a new client secret: the old secret stops working at once. Buttons: Cancel and Make a new one.

**The old secret stops working at once.** There is no overlap window, so follow this order to keep downtime short:

1. Prepare your server deployment (or support checking two event secrets temporarily if zero missed events matter during rotation).
2. Select **Make a new one** in the portal and copy the new secret immediately.
3. Update your secret manager and deploy your server.
4. For an event secret, select **Send a test event** to confirm your server returns `200`. For a client secret, run one token refresh or test connect flow.

## Invite your team

Open **Members** in the sidebar to invite teammates to your partner workspace. A teammate's role sets what they can do:

| Role | Access |
| --- | --- |
| **Owner** | Everything an admin can do, plus inviting and removing owners. |
| **Admin** | Manages apps, keys, return URLs, event URLs, live access requests and workspace members. |
| **Member** | Read-only access to apps, key hints, event log and live access status. |

Joining a partner workspace does not create a customer workspace for the invitee.

## Next steps

[Quickstart](/partners/quickstart/)
  [Connect with hlix](/partners/connect-with-hlix/)