Your first integration
Weik.io 2026.2Create an integration in an empty folder and run it on devtest with the weikio CLI. Product page · Video
Watch: Your first integration, 3:15
The video creates sandbox/hello with weikio init and publishes it with weikio apply. Then it deploys the integration to devtest and follows its log lines.
This part of the video couldn't be loaded.
On this page
To follow this page, you need a Weik.io installation you can reach and an API key with a grant on a project. Install the CLI if you haven’t yet. In the dev container the CLI is already signed in, so start from step 2.
1. Sign in#
On a machine with a browser, weikio login opens the approval page of your Weik.io installation, where you approve the login. On a machine without a browser, type an API key at the hidden prompt, as below. Either way, the CLI keeps the key in your system’s keyring.
$ weikio login https://hub.example --project sandbox --env devtestAPI key: ********
Context 'hub.example' saved and made current (server https://hub.example, project sandbox, environment devtest).The CLI saves these values in a context, so the commands below don’t repeat them.
2. Create the integration#
$ weikio init helloCreated hello/
hello.camel.yaml timer -> log, runs every 5 s
application.properties message=hello from weikio
integration.yaml name hello, other fields as commented examples
Next, to run it in project sandbox and environment devtest:
weikio run ./helloThe commented examples in integration.yaml are fields you add later, such as a Camel version or dependencies.
A name can use only lower-case alphanumeric characters and hyphens, so weikio init HelloWorld stops with an error that shows hello-world as the name to use.
3. Run it on devtest#
weikio run publishes the folder as a version and deploys it to the environment, then follows its log lines:
$ weikio run ./helloTarget: https://hub.example, project sandbox (context), environment devtest (context)
integration sandbox/hello created (version 0.1.0, built in 16.2 s)
deployment devtest/sandbox/hello created (follows latest)
Following the log lines of sandbox/hello. Ctrl-C stops following, and the integration keeps running.
09:14:07.113 UTC INFO hello dev Exchange[ExchangePattern: InOnly, BodyType: String, Body: hello from weikio]
09:14:12.114 UTC INFO hello dev Exchange[ExchangePattern: InOnly, BodyType: String, Body: hello from weikio]
^CMost of the first build’s 16 seconds go to Weik.io resolving Camel’s libraries.
A command that changes something first prints which installation, project and environment it used, and where each came from.
4. See where it runs#
Run weikio status to see where the integration runs in each environment and weikio logs to see the log lines it wrote:
$ weikio status sandbox/hello
$ weikio logs sandbox/hello --since 10m5. Change it#
Edit a file, for example the message in application.properties, and run the same command again. The CLI publishes the change as the next patch version, which the deployment then runs:
$ weikio run ./helloTarget: https://hub.example, project sandbox (context), environment devtest (context)
integration sandbox/hello updated (version 0.1.1, built in 15.9 s)
deployment devtest/sandbox/hello updated (follows latest)See it in the admin UI#
To see hello in the admin UI, sign in at the installation’s address in your browser and pick hello on the Integrations page. To create the next integration there, see The admin UI.




weikio run is apply and deploy in one, as Versions and the developer loop describes. Environments and promotion shows how a version gets to production.