# Add a provider account

Add a phone line from Twilio, Telnyx, Avoxi or another provider under Settings → Service Accounts, fill in its credentials, and choose who can use it.

Source: https://support.rework.com/article/call-add-a-provider-account

A **service account** is one phone line from a telephony provider, together with the credentials Rework needs to use it. Every line your team calls from — or imports calls for — is added here.

## Who can do this

- Anyone signed in to Rework Call can open **Settings → Service Accounts** and add an account. You become the account's owner.
- Only the account's owner and workspace system owners can edit it, see its credentials, turn inbound calling on or off, or import past calls.
- Other people can see that a line exists, but never its credentials.

## Before you start

- Create the account and buy the phone number in your provider's console first. Rework doesn't buy numbers.
- Have the credentials ready. Each provider's setup article lists exactly which ones and where to find them.

## Steps

1. Go to **Settings → Service Accounts**. The page has one section per provider, each showing how many accounts it holds. Empty sections are collapsed.
2. In your provider's section, click **Add _Provider_ account** (for example, **Add Twilio account**). The **Add account** dialog opens with that provider selected.
3. Fill in the general fields:
   
   | Field | Required | What to enter |
   | --- | --- | --- |
   | **Provider** | Yes | Pre-selected. You can't change it after the account is saved. |
   | **Display name** | No | A friendly name, such as "Sales hotline". If you leave it blank, the phone number is used. |
   | **Phone number** | Yes, for most providers | The line's number. Pick the country and type the number (for example `901234567`). It's saved in international format. |
   | **Provider account key** | Yes, for Callio and SouthTelecom only | Shown instead of **Phone number** for providers that don't have a number of their own. Enter an identifier for the provider account; it must be unique in your workspace. |
   | **Scope** | Yes | **System** — a shared line. **Personal** — only you can use it. |
   | **Shared with** | No | Shown for **System** scope. Pick the people who can use this line. |
   | **Router** | No | Not shown for Avoxi. The router that handles inbound calls to this line, or **No router**. |
   | **Puller** | No | Avoxi only. How imported calls are filed. See [Import call history with pullers](https://support.rework.com/article/call-import-call-history-with-pullers). |
   
4. Under **_Provider_ configuration**, fill in the credentials. Required fields are marked; optional ones (such as Telnyx's **Account ID**) can stay blank. Values are shown in plain text, not masked, so you can spot typos.
   
5. Fill in any provider-specific extras — the **Agent mapping** for Avoxi, or the **SouthTelecom user mapping JSON**.
6. Click **Add account**. You'll see **Account added**.

For Twilio and Telnyx lines, there's one more step to receive calls: click **Inbound off** on the line to switch it to **Inbound on**. See [Connect Twilio](https://support.rework.com/article/call-connect-twilio) or [Connect Telnyx](https://support.rework.com/article/call-connect-telnyx).

### Edit an account

Click the pencil icon on the line. The dialog shows the stored credentials so you can correct them, then click **Save changes**. If you clear a required credential, the stored value is kept.

## How it works

- **The line list.** Each line shows its number (or account key), its display name, a **system** or **personal** badge, and — for Twilio and Telnyx — the **Inbound on / Inbound off** button. Avoxi lines show when they last synced and an **Import past calls** button instead.
- **Who can call from a line.** A line appears in the **From account** list of the dialer for its owner and for everyone in **Shared with**. Personal lines are only for their owner.
- **Numbers are unique.** A phone number (or account key) can be added only once per workspace, whatever the provider. Twilio and Telnyx numbers can also belong to only one Rework workspace at a time. See [Phone numbers and account rules](https://support.rework.com/article/call-phone-numbers-and-account-rules).
- **Credentials stay on the server.** The browser never sees an Avoxi token, and other users never see any credentials.

## Good to know

- There's no delete button on this page today. To retire a line, remove everyone from **Shared with** and turn **Inbound off**; ask your Rework administrator if it must be removed completely.
- Saving an account doesn't test the credentials. Twilio and Telnyx credentials are first used when someone places a call or you turn inbound on — that's where you'll see a provider error if something is wrong.
- Changing the provider of an existing line isn't possible. Add a new account instead.

## Related articles

- [Choosing a provider](https://support.rework.com/article/call-choosing-a-provider)
- [Phone numbers and account rules](https://support.rework.com/article/call-phone-numbers-and-account-rules)
- [Connect Twilio](https://support.rework.com/article/call-connect-twilio)
- [Connect Telnyx](https://support.rework.com/article/call-connect-telnyx)
- [Call routing overview](https://support.rework.com/article/call-call-routing-overview)
- [Provider troubleshooting](https://support.rework.com/article/call-provider-troubleshooting)
