Skip to main content

Prerequisites

Before you begin:
  • Install the CLI from the installation guide.
  • Have access to a Kodexa Platform environment.
  • Have an API key or use browser login if your environment supports it.

Step 1: Log In Or Create A Profile

For interactive use, the simplest path is browser login:
If browser login is not available, create a profile with an API key:
Check the active profile:

Step 2: Discover The Resource Surface

kdx reads the platform OpenAPI specification and builds the resource surface from the server you are connected to.
Use this when you connect to a new environment, after a platform upgrade, or when a resource type does not resolve. Current resources you will commonly work with include:

Step 3: Read Platform Resources

List resources:
Get one resource:
Use machine-readable output when scripting:

Step 4: Apply Metadata

Use kdx apply -f for declarative create-or-update. There is no general kdx create command.
Resource files should use current resource names:
For module resources, kdx apply also handles implementation packaging when module metadata declares implementation content. If the module has build steps, define them under metadata.build.

Step 5: Use Focused Operational Commands

Create a project from a template:
Upload a document and watch it reach a processing label:
Export extracted data from the latest content object:
Download the KDDB file for local inspection:

Step 6: Use Sync For GitOps

For real projects, use kdx sync instead of applying one file at a time.
sync-config.yaml controls environments, targets, branch mappings, and tag mappings. See Sync & GitOps.

Command Map

Next Steps

Command Reference

Review the full non-legacy command surface.

Use Cases

Choose the right CLI workflow for your job.

Resource Operations

Learn get, describe, apply, delete, validate, and run.

Sync & GitOps

Move from one-off commands to version-controlled metadata.