# Integration

Learn how to add the Storyblok integration to your project.

The fastest way to get started is through our CLI. If you prefer to set it up manually, check out the [step-by-step instructions](manual-installation).

## Run the command \[#install]

The recommended way to install the integration is to use the Croct CLI.

**Command to initialize your project**

```sh
croct init
```

The CLI detects Storyblok in your project and wires personalization for you, setting up one of our [SDKs](/reference/sdk) if it is not already present. What it does depends on your stack:

- **JavaScript projects:** the CLI wraps your [`storyblokInit`](https://www.storyblok.com/docs/packages/storyblok-js#storyblokinit) call with [`withCroct`](api/javascript/functions/with-croct) to enable personalization and AB testing features.
- **PHP framework projects:** the CLI installs `croct/plug-storyblok` and enables the integration, which decorates your Storyblok Stories API automatically.

For PHP projects without a supported framework, the CLI does not wire the decorator. Follow the [manual installation instructions](manual-installation/php) to set it up yourself.

## Explore

- [Storyblok integration](/immersion/integrations/cms/storyblok/integration): Learn how to integrate Croct with your Storyblok space.
- [Manual installation](manual-installation): Set up the integration step by step for your stack.
