When to use
- After deploying a use case that requires integrations (OpenAI, Supabase, etc.)
- When setting up a new organization with required API keys
- When rotating or updating integration credentials
- When checking which integrations are connected
Prerequisites
- API key with
integrations:managescope - For process instance integrations:
project.jsonwithdevProcessInstanceId
Subcommands
codika integration set
Creates an integration by encrypting secrets client-side and sending them to the platform.
Arguments
Options
Secret input priority
Secrets are merged with this priority (highest wins):--secret KEY=VALUEflags--secrets '{"KEY":"VALUE"}'JSON string--secrets-file path.jsonfile
Examples
Custom integrations (cstm_*)
Custom integrations require a schema defining their fields and n8n credential mapping. The CLI resolves this schema automatically:- Auto-extraction (recommended): When
--pathpoints to a use case folder (or you run from one), the CLI readsconfig.tsand extracts the matching schema from thecustomIntegrationsarray. No separate file needed. - Explicit file: Pass
--custom-schema-filewith a JSON file containing theCustomIntegrationSchema.
OAuth integrations
OAuth-based integrations (Gmail, Teams, Slack, etc.) cannot be configured from the CLI. The command will display the dashboard URL instead:codika integration list
Lists integrations and their connection status.
Options
Examples
codika integration delete
Deletes an integration. Uses two-phase deletion by default — first shows dependent processes, then deletes with --confirm.
Arguments
Options
Examples
codika integration schema
Fetches the n8n credential schema for a given credential type. Use this to discover which fields are required when creating a custom integration with any n8n credential type.
Arguments
Options
Examples
Use with custom integrations
When you need a custom integration that maps to a specific n8n credential type (e.g.,twilioApi instead of httpHeaderAuth), use schema to discover the required fields, then define your n8nCredentialMapping accordingly:
Common recipes
Set up AI provider for an organization
Set up Supabase for a process instance
Full deployment + integration flow
Authentication
All integration commands require an API key with theintegrations:manage scope. The standard authentication chain applies:
--api-keyflag (highest priority)CODIKA_API_KEYenvironment variable- Active profile from
codika login