Quickstart: your first integrated pilot
Prepare the environment, separate credentials, query the API and evaluate a process before scaling automation.
Prepare the environment, separate credentials, query the API and evaluate a process before scaling automation.
1. Choose a verifiable outcome
Start with an inventory query, document check or delivery follow-up. Describe the input, authoritative source, expected output and who accepts the result. Example: query a test item and report stock, unit, warehouse and data timestamp without changing the ERP.
Separate instruction-configuration cases from pilot-evaluation cases. Prepare a sample with known outcomes and cases covering missing data, discrepancies, source outages and insufficient permission.
2. Prepare the environment and access
Agree on the pilot tenant, users and permissions with your administrator. Zild operates SMB environments. Dedicated environments, customer infrastructure, Docker or Kubernetes are Enterprise options to scope in the proposal; this guide does not assume a free sandbox or provide a local installer.
Use synthetic or anonymized data and a read-only integration for the first test. Identify the authorized API address and each system environment. Do not reuse a production credential for a test destination without reviewing its scope.
3. Separate Zild and provider credentials
The Zild public API accepts a user API key in the X-API-Key header. It represents that user’s tenant and effective permissions. Obtain it through your account’s authorized flow; never use an OpenAI, Anthropic or other provider key in this header.
Provider and external-system credentials are configured in Zild Admin → Integrations → Connectors. Providers bill their services separately from the Zild subscription. UI authentication and architectural JWT context do not replace the public API contract.
API contract and authentication · Connector credentials
4. Make a first read-only request
This example calls GET /Agent, an operation documented in OpenAPI. Save it as zild-read-check.mjs and run node zild-read-check.mjs with Node.js 22 or later, after provisioning ZILD_API_KEY through your approved secret mechanism. Do not run it in the frontend or place the key in the file.
// Node.js 22+; run on a trusted backend or workstation.
// Provision ZILD_API_KEY through your approved secret manager.
const key = process.env.ZILD_API_KEY;
if (!key) throw new Error('ZILD_API_KEY is required');
const response = await fetch('https://api.zild.ai/Agent', {
headers: { 'X-API-Key': key, Accept: 'application/json' },
redirect: 'error',
signal: AbortSignal.timeout(15000),
});
if (!response.ok) throw new Error('Zild HTTP ' + response.status);
const agents = await response.json();
if (!Array.isArray(agents)) throw new Error('Expected an agent array');
console.log(JSON.stringify({ status: response.status, agentCount: agents.length }));Expected result: status 200 and the number of agents visible to the identity used. An empty list is valid and does not prove authentication failure. This check verifies transport, response and read access; it does not test agent execution, connectors or model billing. The example omits agent contents to avoid logging configuration.
On an HTTP error, check the key, permissions and environment; record only status and correlation without secrets. A timeout means an unknown request outcome, not confirmation of service failure. This operation is read-only; define confirmation and duplicate controls before implementing writes.
5. Connect a process and handle completion
Configure one agent and one test source in Admin. Check each read against the authoritative record: item, unit, revision and query time. Fluent output is insufficient to accept an integration. When a source is unavailable, output must expose the pending issue and route it to an owner without inventing data.
In document workflows, POST /Document accepts multipart/form-data and returns an identifier; this does not mean extraction is complete. Configure DocumentCompleted first, correlate the upload id with event Id and check DocumentStatusType equals 4 before consuming completed output. Handle repeated notifications without repeating the business effect.
Document upload and completion · Webhook configuration
6. Run the acceptance matrix
| Case | Expected check |
|---|---|
| Known record | Fields, unit, source and revision match the reference. |
| Missing or conflicting data | The agent exposes the gap and requests review without guessing values. |
| User without access | The backend denies the operation; another tenant’s data does not appear. |
| Source unavailable | The pending issue remains visible and no action relies on fabricated output. |
| Repeated event | The second delivery does not create another business record or task. |
| Action requiring approval | The write happens only after defined approval and its confirmation is recorded. |
Measure correctly completed cases, critical failures, latency and cost per correct result, including APIs, review and operations. Record the denominator and agent, model and integration versions. Do not turn a small error-free sample into a guarantee of future accuracy.
7. Promote with owners and a recovery plan
Before expanding, the process owner approves outcomes, IT confirms access and integrations, and finance validates the cost limit. Define how to stop new executions, reconcile in-flight actions and return to the previous process. Increase volume in stages while tracking the same acceptance criteria.
To scope a pilot with Zild, bring one process, an anonymized sample, the systems involved and the expected outcome. Deployment starts with that verifiable contract and expands as operational evidence supports it.
Access, data and evidence before operating
Validate the actual identity, authorized data, agent tools and a reference execution. Consult the relevant guides: