# integrate-croct

Learn how to set up Croct in a project.

This action initializes the Croct SDK in the project, equivalent to the [`croct init`](/reference/cli/commands/init) command.

> **Idempotent**
>
> If the project is already initialized, the action is skipped, making it safe to run multiple times.

## Example

The following template initializes the SDK in the project:

**template.json5**

```json5
{
  "$schema": "https://schema.croct.com/json/v1/template.json",
  "title": "SDK setup",
  "description": "Integrates the Croct SDK.",
  "actions": [
    {
      "name": "integrate-croct"
    }
  ]
}
```

To apply this template, run:

```sh
croct use template.json5
```

## Properties

These are the supported properties:

- `name`: `string`

  The action identifier. Always `integrate-croct` for this action.

## Explore

- [Add component](/reference/cli/templates/actions/add-component): Learn how to install components into the project.
- [Add slot](/reference/cli/templates/actions/add-slot): Learn how to add slots to the project.
- [Create resource](/reference/cli/templates/actions/create-resource): Learn how to create components and slots in a workspace.
- [Create API key](/reference/cli/templates/actions/create-api-key): Learn how to create an API key for the workspace.
