NexCommand AIINTEGRATION ACCESS
CENTRAL APPROVAL · LOCAL PERMISSIONS

One authority.
Controlled connections.

HQ issues integration keys for NexCommand AI and NexCom ERP deployments. Each key belongs to one customer deployment, a local service identity and an explicit set of operations.

Connector release 0.1.0 — deployment and activation are required on each installation. A documented operation is not evidence that a customer deployment is connected.

Request and use a key

  1. Ask your HQ administrator to register your deployment and approve its local service identity.
  2. HQ selects the permitted operations, expiry and request limit, then issues the key. Save it immediately in a private secret store; it is shown only once.
  3. Install the matching connector and private deployment verification configuration. ERP administrators also approve record types and RPC methods locally.
  4. Send the key using X-NexCommand-API-Key over HTTPS. Never put it in a URL, email, browser bundle or public repository.

HQ can revoke or replace keys and disable a deployment. Verification fails closed when HQ is unavailable. Only access metadata is sent to HQ; application request and response bodies remain with the deployment.

curl 'https://YOUR-DEPLOYMENT/api/integration/v1/state' \
  -H 'X-NexCommand-API-Key: YOUR_HQ_KEY' \
  --cookie /private/path/native-session.cookies

AI connectors currently require a valid native login, an unlocked vault where applicable, and the matching local identity. Product licence and permission checks still apply. NEO demonstration workflows do not become implemented business actions through this API.

AI and ERP contracts

AI contract schemas describe source-discovered routes. The native handlers remain authoritative for field validation. ERP uses its native resource and method routes; the existing record and method reference supplies detailed schemas.

ERP migration

ERP calls use the same HQ key header at /api/resource/… or /api/method/…. A dedicated enabled ERP user supplies the document, company and workflow permissions. The connector never grants Administrator access.

Existing native integrations require migration and verification before strict HQ mode is enabled. Strict mode rejects native token and bearer credentials and blocks the native key-generation RPC. Browser sessions keep their normal authentication. Existing ERP credentials are not silently deleted by installing this release.

The original suite documentation describes native and third-party authentication. Its historical examples remain reference material; HQ key support applies only to installations with this connector activated. Other suite services need their own approved adapters.

Failure handling

401: missing, expired or revoked credential. 403: identity or permission mismatch. 404: unsupported operation. 429: request limit; retry after one minute. 503: HQ verification unavailable. Do not automatically retry business writes unless the native operation is idempotent or a business identifier prevents duplicates.

Keys authorize access; they do not replace business approvals. Keep private deployment credentials separate from integration keys.