npx @cognite/cli@latest <command> or cognite <command> when installed globally. This page documents the apps and keys command groups. For a walkthrough from scaffold to activation, see the Cognite CLI quickstart.
apps
Manage the full lifecycle of Flows custom apps.
apps create
Scaffold a new Flows custom app.
The following examples show typical
apps create invocations.
apps deploy
Build and deploy your app to Cognite Data Fusion (CDF).
For non-interactive deploy, set credentials using environment variables.
deployClientId and deploySecretName are set per deployment in app.json. deploySecretName is the name of the environment variable that holds the client secret. Set it before deploying:
apps deploy invocations.
apps status
Show the deployment status and signatures of the current app version.
The following examples show typical
apps status invocations.
apps publish
Transition the current app version from DRAFT to PUBLISHED.
The following examples show typical
apps publish invocations.
apps activate
Activate the current app version — publishes if needed, then sets the ACTIVE alias so users see this version.
The following examples show typical
apps activate invocations.
apps deactivate
Deactivate the app by removing its active version from service.
The following examples show typical
apps deactivate invocations.
apps setup-https
Generate trusted local HTTPS certificates using mkcert. Required for local development when your app expects an HTTPS origin.
The following examples show typical
apps setup-https invocations.
apps submit
Package the app source and open a pre-filled Zendesk form for app certification submission.
- Packages the app source into a zip archive.
- Opens your browser to the Cognite certification Zendesk form.
- Opens your file manager to the generated package so you can attach it.
apps submit invocation.
apps sign
Sign an app bundle for Cognite certification. Defaults to .cognite-bundles/<app>-<version>.zip.
apps skills
Manage AI agent skills for your app. Supports Claude Code and Cursor.
apps skills pull
Pull skills into your project.
apps skills list
List the skills currently installed in your project.
apps skills invocations.
keys
Manage Ed25519 code signing keys used to sign app bundles.
keys generate
Generate a new Ed25519 keypair for code signing. On macOS, the private key is stored in the system Keychain by default.
The following example shows a typical
keys generate invocation.