# Connect Beeline Cloud PBX
Connect Beeline Cloud PBX in Swarmica to register incoming calls as requests and save call recordings in comments upon completion.

## Preparation on the Beeline side (CRM, recommended)

You will need a subscription to Beeline Cloud PBX, which includes the additional options of CRM integration and call recordings.
To connect API integration, follow these steps:

1.  Go to the [Beeline PBX personal account](https://cloudpbx.beeline.ru/new/#/features) > Features.
2.  Go to the Integrations tab.
3.  Find the CRM > Partners > Swarmica item, enable it, and create a new token.

To connect call recordings, follow these steps:

1.  Go to the [Beeline PBX personal account](https://cloudpbx.beeline.ru/new/#/features) > Features.
2.  Go to the Employee Monitoring tab.
3.  Find the Call Recordings item and enable it.

## Preparation on the Beeline side (API token)

You will need a subscription to Beeline Cloud PBX, which includes the additional options of API integration and call recordings.
To connect API integration, follow these steps:

1.  Go to the [Beeline PBX personal account](https://cloudpbx.beeline.ru/new/#/features) > Features.
2.  Go to the Integrations tab.
3.  Find the API Integration item, enable it, and create a new token.

To connect call recordings, follow these steps:

1.  Go to the [Beeline PBX personal account](https://cloudpbx.beeline.ru/new/#/features) > Features.
2.  Go to the Employee Monitoring tab.
3.  Find the Call Recordings item and enable it.

## Preparation on the Swarmica side

Under the Administrator account, go to Settings > Channels > Beeline PBX and create a new channel.
Specify the settings:

*   Name: ANY\_NAME, FOR EXAMPLE YOUR NUMBER
*   API URL:&#x20;
    &#x20;	https://cloudpbx.beeline.ru/integration/core/api/ - if the integration type is "CRM"
    &#x9;https://cloudpbx.beeline.ru/apis/portal/ - if the integration type is "API token"
*   Token: TOKEN from either of the steps above
*   Integration type: CRM or API token, corresponding to your choice

When you are ready to receive calls as tickets, switch the "Enabled" slider to "Enabled" and save the changes.