May 22nd, 2025

CLI Import now in beta: from clicks to commits

Converting your Checkly setup to code has been simplified with the new import command. Starting with version 5.4.1, the Checkly CLI now lets you import UI-created resources into your repository, making it easy to switch from a UI-driven workflow to a code-first workflow, powered by Monitoring as Code.

If you are managing your Checkly setup from the web UI today, and you want to migrate to a fully code-driven workflow, the new import command is for you.

npx checkly import automatically generates new code files for existing UI-created resources: checks, groups, alert channels, dashboards, status pages, all placed directly in your checks directory, as specified in your checkly.config.ts file.

Get started

To import your existing Checkly resources to a new code-first setup, follow these steps:

Install the Checkly CLI and log in

If you haven’t installed the Checkly CLI yet, first do so and log in to your account:

npm i --save-dev checkly@latest
npx checkly login

You can find complete installation instructions here.

Start the import process

npx checkly import

Choose if you want to import all your UI-created resources in one go, or if you want to manually select the resources to import. The import process will automatically create a checkly.config.ts file for you if you don’t already have one.

Review and finalize

Review the imported code before continuing. If you are importing a large number of resources, you can exit the import flow now to review and later return to where you left off with npx checkly import apply and finalize the import by committing your changes.

You are now ready to manage your Checkly setup directly from your repository, driven by a Monitoring as Code workflow! You are now ready to integrate Checkly in your CI/CD process, dynamically create monitors to always keep up with your product development, and much more.

Read more about how to use the CLI and how to import resources in our docs.


Happy monitoring!

Questions or feedback? Join our Slack community.