Before you begin
You need Vantage access, Forge authoring rights, permission to ingest into a test dataset and a deployment with confined script execution. An Admin must be available to set the secret. Gather the API’s documentation, HTTPS endpoint, authentication method and a small permitted sample response. Use a key with the minimum access the job needs.1. Save the key as a secret
An Admin opens Console → Secrets, chooses a name such assource-api-token, and enters the credential through the secure form. Check that its source reads Tenant key.
Give Kato the exact secret name. Keep the value out of chat, code, job parameters and logs. Stored values cannot be read back, including by the Admin.
Secrets have no workspace scope. Use a distinct name for each credential and inspect its consumers before changing it. See Manage secrets and destinations.
2. Ask Kato to draft the bundle
Adapt this request to the API’s documented authentication and pagination:Draft an Ingest script bundle in TypeScript for [endpoint and HTTP method]. Read the credential from the secret named [secret name] using the API’s documented authentication method. Use [API documentation] and this permitted sample response: [sample]. Collect a small bounded page, preserve stable source IDs and checkpoint the continuation position. Declare only the required host and port. Show me the code, descriptor, parameters and output declaration before creating anything. Do not create a job or start collection.Ask Kato to identify missing information rather than guessing API behaviour. For deciding parameters and mapping output, use Bring API data into the world model.
3. Inspect the proposal
A null continuation cursor can mean different things to different APIs. Agree how the job stops or starts its next collection cycle before publishing.
4. Publish and create the test job
Ask Kato to create and publish the reviewed bundle, then create a job targeting your test dataset and pinned to that version. Keep all triggers disabled. Inspect any approval card before approving its named operation. Open the job yourself and check its destination, version, parameters and secret status. A draft bundle cannot be tested. A missing or revoked required secret must be resolved before running.5. Run an isolated test
Ask for a test of this job and version. Inspect emitted records, validation errors and the proposed checkpoint. Production records and the production checkpoint should remain unchanged. Test an empty response, malformed input and an unavailable endpoint as well as a successful response. Ask Kato to revise failures, publish a new version, pin it and test again.6. Start one bounded run
After the same job/version passes its test, start one small production run. Inspect the destination records and saved checkpoint. Repeated source IDs should identify the same item; changed content creates a new item version. Add a schedule or webhook only after checking the result.Change or recover the connection
Pause collection and wait for running jobs to finish before resetting a production checkpoint. For recovery, see Run ingestion and inspect processing.
For the TypeScript and descriptor reference, see Build and test a custom ingestion job.