# Manual installation

Learn the steps to manually integrate Croct into your Symfony project.

The following guide gives you a step-by-step overview of how to install and configure the bundle in your project.

> **Speed up your integration!**
>
> The CLI can fully automate the integration process for you. Check out the [integration guide](/reference/sdk/symfony/integration) to get started faster.

## Install the bundle \[#install]

Install the bundle using [Composer](https://getcomposer.org):

```sh
composer require croct/plug-symfony symfony/twig-bundle
```

This pulls in a [PSR-18 HTTP client](https://www.php-fig.org/psr/psr-18/) and PSR-7 factories, so there is nothing else to install.

## Register the bundle \[#register]

Enable the bundle in `config/bundles.php`:

**config/bundles.php**

```php
<?php

return [
    // ...
    Croct\Plug\Symfony\CroctBundle::class => ['all' => true],
];
```

## Configure your credentials \[#configure]

Add your application ID and API key to the `.env` file in your project root:

**.env**

```bash
CROCT_APP_ID=<APPLICATION_ID>
CROCT_API_KEY=<API_KEY>
```

You can find the application ID and create an API key on the [Integration page](https://app.croct.com/redirect/organizations/-organization-/workspaces/-workspace-/applications/-application-/integration) of your application.

The bundle reads them through `config/packages/croct.yaml`:

**config/packages/croct.yaml**

```yaml
croct:
    app_id: '%env(CROCT_APP_ID)%'
    api_key: '%env(CROCT_API_KEY)%'
```

For all available options, see [Configuration](/reference/sdk/symfony/api/configuration).

## Check your integration \[#check]

If you open your application now, it should start sending events.

To check if your integration is working, go to the [Integration page](https://app.croct.com/redirect/organizations/-organization-/workspaces/-workspace-/applications/-application-/integration) of your application.

![Integration status](/assets/reference/sdk/integration-status.png)

When working correctly, you should see a green bullet next to the **Status** label saying **"Received traffic in the past 24 hours"**. If you still do not see this message after a few minutes, see the [Troubleshooting](troubleshooting) reference.

## Explore

- [CLI](/reference/sdk/symfony/integration): Learn how to use our CLI to get started faster.
- [Troubleshooting](/reference/sdk/symfony/troubleshooting): Identify and resolve issues with your integration.
