Skip to content
Skip to content
Getting Started

Getting Started with Doku

Doku is an AI-powered autonomous deployment engineer. Push your code and Doku handles the rest — infrastructure provisioning, staging, canary rollouts, monitoring, and auto-rollback. Go from git push to production in minutes, not hours.

Prerequisites

  • Node.js 18+ (or Bun 1.0+)
  • A git repository with your application code
  • An account on AWS, GCP, or Azure with credentials configured

Quick Start

Get your first AI-powered deployment running in under 5 minutes.

1

Install the CLI

Install the Doku CLI globally using npm, Homebrew, or the install script.

bash
npm install -g @doku/cli

See Installation for alternative methods (Homebrew, curl).

2

Authenticate

Log in to connect your Doku account with the CLI.

bash
doku auth login

This opens your browser and stores an API token locally. Your credentials are never sent through the CLI.

3

Initialize your project

Navigate to your project directory and run doku init. Doku scans your repo, detects your framework and language, and generates a doku.yaml config file.

bash
cd ~/projects/my-saas-app
doku init
4

Deploy

Run a single command to deploy. Doku provisions infrastructure, sets up staging, runs a canary rollout, and promotes to production.

bash
doku deploy

CI/CD alternative

Once configured, you can also deploy via git push origin main. See CI/CD Integration.

What Just Happened?

When you ran doku deploy, the following pipeline executed automatically:

Code PushAI AnalysisInfra ProvisionedStaging DeployHealth ChecksCanary RolloutProduction

At every stage, Doku monitors error rates, latency, and resource utilization. If anything looks wrong during the canary phase, it rolls back automatically — no manual intervention required.

Next Steps