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

# Quick Start

> Get running with AI-powered workflows in minutes.

**Get running in 5 minutes.**

## Setup

<Steps>
  <Step title="Install CodeMachine">
    ```bash theme={null}
    npm install -g codemachine
    # or bun/pnpm/yarn
    ```
  </Step>

  <Step title="Start CodeMachine">
    ```bash theme={null}
    codemachine
    # to run codemachine interactive session
    ```
  </Step>

  <Step title="Authenticate an Engine">
    ```bash theme={null}
    /login
    # to authenticate one or more AI engines
    ```

    <Info>
      Each workflow specifies which engine(s) it uses. You can override this in the workflow file if needed. [See available engines →](/build-workflows/model-configuration#available-engines)
    </Info>
  </Step>

  <Step title="Choose a Workflow">
    ```bash theme={null}
    /templates
    # to list all built-in or imported templates
    ```

    <Tip>
      The default workflow is [Ali Workflow](/resources/workflow-library#ali-workflow-builder), a built-in workflow builder to help you create your first workflow. More workflows are available in the library but currently experimental. [Browse workflows →](/resources/workflow-library)
    </Tip>
  </Step>

  <Step title="Run It">
    ```bash theme={null}
    /start
    # to run the selected workflow
    ```

    Your screen will differ depending on the workflow. You may see onboarding questions, indicating the workflow has [tracks or conditions](/core-concepts/workflow/basics#tracks). Once you reach the workflow screen, you're at the main screen where you can monitor all your agents.
  </Step>
</Steps>

<Check>
  You're now running your first workflow!
</Check>

***

## Next Steps

<CardGroup cols={4}>
  <Card title="What is CodeMachine?" icon="lightbulb" href="/core-concepts/what-is-codemachine">
    Philosophy and core concepts
  </Card>

  <Card title="Orchestration Patterns" icon="shuffle" href="/core-concepts/workflow/orchestration-patterns">
    Learn execution styles
  </Card>

  <Card title="Workflow Basics" icon="diagram-project" href="/core-concepts/workflow/basics">
    Core building blocks
  </Card>

  <Card title="Agent Basics" icon="users" href="/core-concepts/agent-basics">
    Multi-agent orchestration
  </Card>
</CardGroup>

## Getting Help

<CardGroup cols={3}>
  <Card title="Discord" icon="discord" href="https://discord.com/invite/vS3A5UDNSq">
    Join the community
  </Card>

  <Card title="GitHub" icon="github" href="https://github.com/moazbuilds/CodeMachine-CLI">
    Report issues
  </Card>

  <Card title="Reddit" icon="reddit" href="https://www.reddit.com/r/CodeMachine/">
    Discuss with others
  </Card>
</CardGroup>
