> ## Documentation Index
> Fetch the complete documentation index at: https://docs.khanhng.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 3. Getting started

> Set up and verify Report Automation Tool locally or in Azure with the documented limits of the current repository and deployment workflow.

This space helps maintainers set up, run, verify, and deploy the Report Automation Tool. The instructions are based on `TQKNG/automation` commit `27045ec413f88cd2227ab08e18ec76db3e8e3d34`. They distinguish repository-backed steps from setup work that still needs implementation and a successful end-to-end run.

## Choose your path

| Path | Read in order | Outcome |
| - | - | - |
| WSL2 or Linux | [3.1 Prerequisites and configuration](https://docs.khanhng.com/getting-started/getting-started/prerequisites-and-configuration.md) → [3.2 Run locally on WSL2 or Linux](https://docs.khanhng.com/getting-started/getting-started/run-locally-wsl2-linux.md) → [3.4 Verify the first report](https://docs.khanhng.com/getting-started/getting-started/verify-first-report.md) | Start the Functions host and verify one controlled report. |
| Local Docker | [3.1 Prerequisites and configuration](https://docs.khanhng.com/getting-started/getting-started/prerequisites-and-configuration.md) → [3.3 Run locally with Docker](https://docs.khanhng.com/getting-started/getting-started/run-locally-docker.md) → [3.4 Verify the first report](https://docs.khanhng.com/getting-started/getting-started/verify-first-report.md) | Build a corrected image and verify the same report workflow. |
| Azure custom container | Complete the Docker path, then [3.5 Deploy a custom container to Azure Functions](https://docs.khanhng.com/getting-started/getting-started/deploy-custom-container-azure-functions.md). | Run the reviewed image on a supported Azure Functions hosting plan. |

Use [3.6 Troubleshoot setup and first runs](https://docs.khanhng.com/getting-started/getting-started/troubleshoot-setup.md) if a step fails.

## Current setup limits

The browser executable is expected at `./chrome-linux/chrome`, but it is not provisioned by the repository. The current Dockerfile contains committed credentials and must be corrected before building or distributing an image. The current GitHub workflow deploys a package to Flex Consumption; it is not the custom-container deployment path. The project has no automated test suite, so the first-run check is a manual verification procedure.

The [Start report generation](https://docs.khanhng.com/api-reference/welcome-to-the-reportgeneratortool-api/start-report-generation.md) documents the current starter endpoint and provisional request shape. The [proposed v1 API](https://docs.khanhng.com/api-reference/welcome-to-the-reportgeneratortool-api.md) documents a separate contract. The [Architecture Decisions](https://docs.khanhng.com/architecture/09-architecture-decisions.md) explain why the workflow uses Durable Functions, Puppeteer Core, HTML-to-PDF rendering, and Nodemailer.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.