Kissflow DocsHelp center

Deploy to production

Move an app and its agents from development to test and production, and reconnect the connections that don't move.

Agents travel with the app they belong to. You build and publish in development, then deploy the app to test and production. This article shows you how to deploy, what moves and what stays behind, and how to reconnect your agents' tools in the target environment.

Video: Deploy to production

How environments work

Apps move through environments: development, then test, then production. Agents are part of the app, so they move with it. See Environments for how your account's environments are set up.

EnvironmentWhat you do there
DevelopmentBuild, test and publish agents in AI Builder.
TestCheck the deployed app and agents, with connections set for test.
ProductionThe version your people use.

What moves and what doesn't

ItemWhat happens on deploy
Published agent (Live)Moves with the app.
Draft changesStay in development.
ConnectionsDon't move. A missing connection becomes a placeholder. The agent still imports, its readiness names the gap, and that tool fails until you connect it.
Credentials, run history and usageStay in each environment.
Published agents that are absent from the sourceDeleted in the target. Deletes propagate on deploy.
An agent you deleted in developmentRemoved from the target on the next deploy. Its execution history is kept.
Knowledge PDFsMove with the agent.
Agent IDStays the same. References need no ID change, but callers still need compatible inputs and outputs.
IntegrationsArrive switched off after the first deployment. Later deployments also switch off any integration that is new, unarchived or has a changed trigger.

Deploy the app

  1. Open the app builder.
  2. Click Deploy at the top right, next to Run. (Run opens the app preview in a separate browser window so you can try it as a user.)
  3. Review the preview of the core changes.
  4. Confirm. Everything deploys. There is no partial deployment, and you can't stop part-way after you confirm. You can cancel before you confirm.
  5. The deployment may pause or fail. A data type mismatch can pause it, and you can fix it in the deployment window and continue. A validation failure stops it and is recorded with error details.

The Deploy button beside Run at the top right of the app builder

Check the deployment

Open the app's Manage page, then Settings, then Deployment in the left menu, which shows Deployment history. Each row shows a Version, a Build, Deployed at, Deployed by and a Status of Completed or Failed.

The Deployment history table with a Completed deployment row showing version, build, deployed at, deployed by and status

Reconnect connections in the target environment

Connection-backed tools use your app's connections: saved sign-ins that let tools reach Kissflow modules or other apps. Compatible connectionless tools need no saved connection. Connections stay in the environment where you made them. After deployment, set up any missing, incompatible or unconfigured target connections.

  1. Open the app in the target environment (test or production).
  2. Go to Studio > Connections.
  3. Set up each missing or unconfigured connection your agents use, including Kissflow's own. Sign in with the target environment's account details. Don't reuse the development environment's details.
  4. Test each connection, then run the agent once to confirm its tools work.

Until you do this, the agent still imports, but its readiness names the missing connection and that tool fails, although the deployment succeeds. Later deployments keep the connections you made.

If you also use integrations in the app, reconnect their connections in the same place. Click Connect now, then turn the integration on.

Important

Choose the account for each production connection with care. Connection-backed tools use the connection owner's access. Kissflow actions without a connection use account-wide system access. AI Builder does not offer these actions. Give each connection only the access the agent needs. See Keep agent access in check.

Package an app with agents for the App Store

Published agents and their knowledge files are included when you package an app for the Kissflow App Store. Tools arrive without connections, so whoever installs the app connects their own.

Deleting and restoring apps

Deleting an app keeps its agents. Restoring the app restores them.

After you deploy

  1. Run the agent in the target environment with a harmless input.
  2. Confirm the tools worked and that results look right.
  3. Turn on integrations that call the agent.
  4. Run your golden test set once in the target environment if the agent is important. See Evaluate agent quality.

On this page