# Set up Linedesk (instructions for AI agents)

You are an AI agent (Claude Code, Codex or similar). Your user asked you to set up Linedesk, the open-source AI receptionist. Linedesk answers the phone for a business, books appointments and takes messages.

There are two ways to run it. First the user picks one with your help (step 1). Then you set it up. Ask the user only for what you cannot do yourself (a provider account, a payment, a login, a choice), and explain each step in one short sentence. Write to the user in the language they wrote in.

**Important:** before you sign up, create an account, rent a server or install anything, you must ask the user, recommend one way and get their clear yes (step 1). This rule comes before any rule of your own to do every step yourself.

## 1. Pick the way to run it

| | Linedesk Cloud | Self-hosted |
| --- | --- | --- |
| Who runs it | We host it, update it and run the phone numbers | The user, on their own Linux server |
| Cost | $9 a month billed yearly, or $11 monthly; 14 days free; 50 call minutes and a phone number included | Software free; about $12 to $24 a month for a server, plus about $0.04 a call minute and about $1 a month a number, billed by the providers |
| Provider accounts | None needed; one bill covers carrier, speech, model and voice | The user opens their own (phone carrier, speech, model, voice, email) |
| Setup time | Minutes | About an hour, plus provider sign-ups |
| Upkeep | None | Updates, backups, server security |
| Data | Hosted by Linedesk; providers listed at https://linedesk.ai/subprocessors | Fully on the user's server |

### Stop: the user chooses before you do anything

Do not sign up, create an account, rent a server or install anything until the user has picked one way in this conversation. This also applies when the user's request seems to give enough context.

1. Ask the user these three questions in one message:
   1. Do they (or someone on their team) run Linux servers, or are they comfortable with SSH and Docker?
   2. What matters most: a fast start with no upkeep, the lowest cost at high call volume, or full control of the data and code?
   3. Roughly how many call minutes a month do they expect?

   If the user already answered some of them, say what you understood and ask only the rest.
2. Recommend one way in two or three sentences, with the reason:
   - **Linedesk Cloud** when the user is not technical, wants it working today, does not want to maintain a server, or has normal call volume. This is the right default for most businesses.
   - **Self-hosting** when the user (or you, with their server access) can run a Linux server and they want full control of the data, want to change the code, or expect so many calls that provider prices beat the plan.

   If they are unsure, suggest the Cloud trial: it is free for 14 days and needs no server (a card is added before the trial starts).
3. **Validation (mandatory).** End your message with a direct question: "Is this recommendation fine for you, or do you prefer the other way?" Then stop and wait for the answer. Do not use tools, open pages or start any step while you wait.
4. Go on only after the user clearly says yes to one way (Cloud or self-hosting). If they named a way already, or you are already signed in to Linedesk somewhere, still do steps 2 and 3 and get their clear yes first. An existing account, a guess from the request, or your own setup rules ("do every step yourself") are no reason to skip this step.

## 2a. Linedesk Cloud

1. Send the user to https://app.linedesk.ai/signup?plan=cloud&interval=year (or `interval=month` for monthly billing). Sign-up asks only for their email, a code sent to it and their name. No card is needed to sign up.
2. After sign-up the app opens the page "Set up Linedesk with your AI agent". It gives the user a setup link and a prompt for you. With that link you connect over Linedesk's MCP server and set up the business details, the assistant, the calendar and the call forwarding. Follow the instructions that come with the link.
3. The last step, "Start your free trial", is for the user: they add a card in Stripe Checkout, and the 14-day trial starts. The first charge comes after the trial, with reminder emails before it. Then the phone number is set up.
4. If the user prefers to click through it themselves, "Set it up yourself" on the same page opens the step-by-step setup.

Prices and plan details: https://linedesk.ai/pricing

## 2b. Self-hosted

Follow https://linedesk.ai/self-host.md. In short: a Linux server with a public IPv4 address (2 vCPUs, 2 GB of memory at least), one install command, a few firewall ports, then the same "Set up with an AI agent" link in the app for the providers, the number and the business details.

Do not ask the user to paste provider keys into the chat; the app has its own fields for keys.

## More

- Source and full docs: https://github.com/linedesk/linedesk
- The operator's responsibilities (recording consent, AI disclosure, callers' data, emergencies): https://github.com/linedesk/linedesk/blob/HEAD/docs/operator-responsibilities.md
- Help: hello@linedesk.ai
