# hellou.ai auth.md

How an agent or a developer gets credentials for Hellou AI's product, HellouOne.

## Who this is for

- **AI agents and integrations** that want to read or write data in a HellouOne account (conversations, contacts, inboxes, AI agents, campaigns, reports, webhooks).
- The marketing site **hellou.ai itself has no authenticated API**: everything here is public (llms.txt, sitemap, agent skills, api-catalog, ai-catalog.json, Markdown negotiation with `Accept: text/markdown`). The MCP server lives on **https://mcp.hellou.ai** and its OAuth authorization server on **https://one.hellou.ai**. hellou.ai publishes its own https://hellou.ai/.well-known/oauth-protected-resource (RFC 9728) naming that issuer and the scopes; `/.well-known/oauth-authorization-server` on hellou.ai redirects to one.hellou.ai.

## MCP server (OAuth 2.1) — for AI assistants

- **Server:** `https://mcp.hellou.ai/mcp` — remote MCP, Streamable HTTP, one URL for every account; the credential decides the account. Sign-in happens on one.hellou.ai. Server card: https://hellou.ai/.well-known/mcp/server-cards.json. Docs: https://one.hellou.ai/docs/mcp.html.
- **Protected resource metadata (RFC 9728):** https://mcp.hellou.ai/.well-known/oauth-protected-resource/mcp (also sent as `WWW-Authenticate: Bearer resource_metadata=…` on a 401)
- **Authorization server metadata (RFC 8414):** https://one.hellou.ai/.well-known/oauth-authorization-server — issuer `https://one.hellou.ai`, `authorization_endpoint` `/oauth/authorize`, `token_endpoint` `/oauth/token`, `registration_endpoint` `/oauth/register`, `revocation_endpoint` `/oauth/revoke`.
- **Scopes:** `mcp:read`, `mcp:write`. **Grants:** `authorization_code` (PKCE `S256` required) and `refresh_token`. Token endpoint auth: `none` (public clients). No OpenID Connect provider (`/.well-known/openid-configuration` does not exist).
- **Send the token** as `Authorization: Bearer <access_token>` on every request to `https://mcp.hellou.ai/mcp`. An unauthenticated request gets `401`.

### Agent registration (dynamic client registration, RFC 7591)

1. `POST https://one.hellou.ai/oauth/register` with a JSON client metadata document (`client_name`, `redirect_uris`, `grant_types: ["authorization_code","refresh_token"]`, `token_endpoint_auth_method: "none"`). The response contains your `client_id`. No pre-approval is needed to register a client.
2. Send the person to `https://one.hellou.ai/oauth/authorize?response_type=code&client_id=…&redirect_uri=…&scope=mcp:read%20mcp:write&code_challenge=…&code_challenge_method=S256&state=…`. They sign in to HellouOne (or create an account — free 7-day trial, no card: https://one.hellou.ai/app/auth/signup) and approve the client for one account.
3. Exchange the `code` at `https://one.hellou.ai/oauth/token` (with the PKCE `code_verifier`) for an access token and a refresh token.
4. Hosted assistants (claude.ai, ChatGPT) do this flow by themselves when the person adds `https://mcp.hellou.ai/mcp` as a connector.

### Personal token (CLI and desktop clients)

Instead of OAuth, an administrator can create a personal MCP token (`hcm_…`) in HellouOne under **Settings → Integrations → AI clients (MCP)** and use it as the Bearer token. It carries that administrator's permissions on that account.

## REST API — for integrations and backends

- **Scheme:** API key. Send the header `api_access_token: <token>` on every request to `https://one.hellou.ai/api/v1/accounts/{account_id}/...`.
- **Get a token:** create a HellouOne account (free 7-day trial, no card) at https://one.hellou.ai/app/auth/signup, then copy the personal access token from the profile settings. A platform token exists for partners managing several accounts; ask sales@hellou.ai.
- **Reference:** https://one.hellou.ai/docs/ (OpenAPI 3.1 at https://one.hellou.ai/docs/api/openapi.json; Spanish at openapi.es.json).
- **Webhooks:** signed `POST` deliveries; see the Webhook events section of the docs.
- **Live Chat SDK:** the website widget is public per inbox (website token); identity validation for known users uses HMAC-SHA256 — see https://one.hellou.ai/docs/sdk/identity-validation.html.

## Not offered

- No A2A agent card and no OpenID Connect provider.
- hellou.ai (this site) issues no credentials of its own.

## Contact

- Developers and partners: https://hellou.ai/en/agency/ · sales@hellou.ai
- Security questions: hi@hellou.ai
