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

# init

The `init` command is used to initialize Blocks in your current working directory. This will create a `.blocks` directory in the current working directory. You can also specify your API key using the `--key` flag, which is obtained from the [Blocks dashboard](https://blocks.team/signup).

<CodeGroup>
  ```bash bash theme={null}
  blocks init --key <api-key>
  ```
</CodeGroup>
