> ## Documentation Index
> Fetch the complete documentation index at: https://docs.neoagent.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Connecting Xelion to Neo

> Give Neo a user in a client's Xelion tenant and save it in Neo

You connect Xelion once for each client, with four values for that client's Xelion tenant: the server address, the tenant name, and the user name and password Neo signs in with.

## Before you start

* Neo calls the Xelion REST API at `https://<server>/api/v1/<tenant>/`. For a client on Xelion's cloud, the server is the address in the Xelion app's settings, such as `https://lvsl01.xelion.com`, and the tenant is the client's name on it. A server that holds one tenant names it `master`.
* Neo reaches the server over the internet, on **HTTPS** at a public address. A server that only answers inside the client's network cannot be connected yet.

## 1. Give Neo a user in the tenant

**1. Create a user for Neo**

In the client's Xelion tenant, add a user for Neo, such as `neo-api`, with a password of its own.

**2. Make it an administrator**

Give the user the **administrator** role. Most of what an agent reads about a line, and every change, needs it. Neo checks the role when you save.

**3. Leave MFA off for it**

Neo signs in with the password alone, so the user must not need an emailed MFA code.

**4. Let it see the call history**

Neo sees the call history and voicemails of the lines that show their calls to its user. Add Neo's user to the call log users of each line whose missed calls and voicemails your agents should read.

Neo can do only what this user may do, whatever the agent's access profile says.

> [!WARNING]
>
> If the user's password changes or expires, or the user is disabled, Neo loses access to this client's Xelion until you save the new password here.

## 2. Add the connection in Neo

**1. Open Integrations**

In the Neo Dashboard, open [**Integrations** → **Xelion**](https://dashboard.neoagent.io/integrations?open=xelion), under Phone & VoIP.

**2. Save the server and the user**

In **Customer**, choose the client this tenant belongs to; the client must be on your **Companies** tab, and **Add customer** adds the next one. Then enter the server address (for example `https://lvsl01.xelion.com`, or the API address `https://lvsl01.xelion.com/api/v1/acme`), the tenant name, the user name and the password. Fill in **App key** only if your Xelion provider gave you one for API clients. Click **Save settings**. Neo signs in and reads its own user before saving, so a wrong address, tenant or password is rejected straight away.

## 3. Turn it on per agent

Open the agent, go to its **Tools & Settings** tab, click **Phone & VoIP**, and expand the **Xelion** block. Pick one of its **Presets**, or set each area yourself:

| Area | Covers |
| - | - |
| **Users & Contacts** | Users and their roles, persons and organisations, presence and locations; create, rename, disable or remove a user, send a welcome email or a password reset |
| **Phone Lines, Queues & Forwarding** | Phone lines and call queues, who rings on each, extensions, fallback, ring time, voicemail, night mode, switch times, speed dials and statuses |
| **Phones & Provisioning** | Desk phones, softphones and mobile apps, their forwarding and twinning, phone templates, provisioning, reboot and resync |
| **Calls, Voicemail & Reports** | Call history, missed calls and voicemails, running calls and wallboards, after-call types, saved queries and reports |
| **Chat, SMS & WhatsApp** | Chat sessions, SMS, WhatsApp templates and gateways, message routings |
| **Trunks & Call Rules** | SIP trunks and their numbers, traffic classes that decide which numbers may be called, country settings |
| **System & Tenant Settings** | The tenant's settings, licences, backups, logs and audit trail, music on hold, triggers and Microsoft 365 sync |
| **Neo's Own Xelion User** | The user Neo signs in with: its own status, devices and favourites |

| Preset | What runs on its own | What asks a technician |
| - | - | - |
| **Read Only** | Every read | No write is allowed |
| **Helpdesk** | Reads | Every change to a user, a line, a queue, forwarding, a phone or a call. Messages, trunks and settings stay read only |
| **IT Admin** | Every read; disabling a user, removing or pausing a queue member, turning forwarding or recording off, ring time and voicemail on or off | Creating users, lines and phones and every other update to them (deleting one runs on its own); messages, trunks and call rules, and the tenant's settings |
| **Full Automation** | Every read and call history change, and the narrowing and routine changes to users, lines and phones | Creating users, lines and phones and every other update to them (deleting one runs on its own), messages, trunks and call rules, the tenant's settings, and the writes that always ask |

The writes that always ask, whatever the preset, are listed under Safety Controls on the [Xelion API](https://docs.neoagent.io/agents/tools/communication/xelion-api.md#safety-controls) page.

## Use it on telephony tickets

An agent that triggers on telephony tickets ("calls are not coming through", "my colleague's phone does not ring") reads the user's line, its phones, forwarding and night mode and the line's call history, and writes the cause on the ticket. An onboarding or offboarding agent creates or disables the Xelion user next to its other accounts. A scheduled agent can list a line's missed calls and voicemails and add them to the matching tickets.

File each ticket under the client's company, so the agent calls that client's Xelion tenant.

See [Xelion API](https://docs.neoagent.io/agents/tools/communication/xelion-api.md) for what the agent can read and change.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.