> For the complete documentation index, see [llms.txt](https://stakpak.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://stakpak.gitbook.io/docs/how-it-works/init.md).

# /Init

<figure><img src="/files/cojlAIKMnxUGZz7a2kv8" alt=""><figcaption></figcaption></figure>

`/init` scans your infrastructure (cloud accounts, clusters, and configs), detects reachable systems and integrations, analyzes risk areas like permissions, stateful services, drift, and exposure, generates recommended schedules and guardrails, and creates and Apps.md\
\
And then it asks if you want to set up [Autopilot](/docs/how-it-works/autopilot.md)for continuous monitoring.

## References

* [Install Stakpak](/docs/get-started/install-stakpak.md)
* [Autopilot](/docs/how-it-works/autopilot.md)
* [Slash Commands](/docs/how-it-works/slash-commands.md)
