# Phonet

Connect Phonet so calls flow into Happ with transcription, AI scoring and analytics

> Full REST + WebSocket API reference: https://api.happ.tools/reference

Phonet exposes its API credentials through the admin panel, in the section meant for connecting a CRM. Three clicks and you have the API server and API key to paste into Happ.

## Before you start [#before-you-start]

* **Active Phonet account** with provisioned numbers and admin rights on the account.
* **API server and API key** from the Phonet admin (below).
* **Happ account on a plan that includes voice analytics.**

## Get your API key [#get-your-api-key]

1. In the Phonet admin open **Налаштування** (Settings) > **Інтеграції** (Integrations).
2. Scroll down to **CRM системи** and click **Налаштувати** on **Друга CRM система**.
3. The **API сервер** and **API ключ** appear in a green box on the right — copy both.

<img alt="The Phonet admin — API server and API key in the green box on the right" src="__img0" />

## Connect [#connect]

1. In Happ open **Integrations** > **Add Integration** > **Phonet**.
2. Enter both values and connect.

| Field   | Value                                        |
| ------- | -------------------------------------------- |
| Domain  | The API server, e.g. `mycompany.pbx.vega.ua` |
| API Key | The API key from the green box               |

Add the client's phone number separately under **Phones** — see [Phone & SIP Setup](/docs/voice/setup).

## How you'll know it's connected [#how-youll-know-its-connected]

The integration card shows a green **Connected** pill, and calls start reaching Happ straight away — with transcription, AI scoring and Voice AI available on them.

## Disconnect and reconnect [#disconnect-and-reconnect]

**To disconnect:** open **Integrations** > **Phonet*&#x2A;, click &#x2A;*…** next to the integration card and choose **Remove**.

After disconnecting:

* New Phonet calls stop reaching Happ.
* All past calls, transcripts and AI scores stay in Happ.
* The API key stays valid in Phonet — the CRM-integration section in their admin is where you revoke or regenerate it.

**To reconnect:** open **Integrations** > **Phonet** > **Connect**, paste the domain and API key again, then attach the integration to the assistant.

Preserved after reconnecting: integration settings (call direction, who answers, scoring rubric), the assistant binding and its prompt, and all past transcripts, scores and dashboards.

## Next [#next]

* [Telephony Providers](/docs/voice/providers) — all supported providers
* [Phone & SIP Setup](/docs/voice/setup) — connect the number
* [Voice Assistant](/docs/voice) — overview and settings
