# Set up an iMessage line on a Mac

> Prepare a Mac and iPhone, install the gateway app, sign it in with a token, keep the Mac awake and assign it to a sub-account, from the dashboard or from HighLevel, so you send blue-bubble iMessages from your CRM.

Source: https://docs.mycrmsim.com/guides/imessage-setup
Updated: 2026-11-20

An iMessage line is a Mac signed in to Messages with your Apple ID, running
the gateway app. Messages you send from the dashboard, your CRM or the API
go out from that Mac as blue-bubble iMessages. Replies come back into the
same conversation.

You set up the Mac once, then assign it to a sub-account. The Mac has to
stay on, awake and online.

---

## Use cases

**Blue bubbles from HighLevel.** Conversations and workflows in HighLevel
send iMessages to iPhone users instead of carrier SMS.

**A personal touch for follow-ups.** Sales teams reply from a real Apple ID,
with read receipts, typing and photos, at a pace Apple is happy with.

**iMessage first, SMS as a backup.** Put iMessage first in message routing
and an Android SMS line second, so contacts without iMessage still get your
texts.

**A line per salesperson.** Give each team member their own Mac (or their
own macOS user on a shared Mac) and Apple ID.

---

## How it works

1. **Messages does the sending.** The gateway app hands each message to the
   Messages app on the Mac, and reads incoming messages from it.
2. **The Mac checks in.** The app keeps a live connection to the server and
   checks in every minute. The dashboard shows the result on **Devices ›
   iMessage Devices**.
3. **A sub-account owns the line.** Messages for a sub-account go out from
   the Mac assigned to it. With several Macs, each user's messages go out
   from their own Mac.
4. **Routing picks the channel.** The sub-account's **Message Routing** grid
   decides whether iMessage is tried first, and what to try next.

---

## What you need, and iMessage sending limits

### The hardware

- **A Mac** on macOS Monterey 12.4 or newer. Any Mac works: Mac mini,
  MacBook, iMac, Mac Studio or Mac Pro. A Mac mini is the usual choice. It's
  small, cheap second-hand and happy to run around the clock.
- **Power and internet the Mac keeps 24/7.** A sleeping or offline Mac
  sends nothing. A small UPS keeps it going through a short power cut.
- **An iPhone signed in to the same Apple ID** (optional, but recommended).
  The Mac sends iMessages on its own. It needs the iPhone only to send
  ordinary texts (SMS) to contacts who aren't on iMessage, and to use your
  phone number as the sender.
- **Native voice notes and calling need a free audio driver**, BlackHole,
  which the app helps you install. Without it, voice notes go out as audio
  files. See [Native iMessage voice notes](https://docs.mycrmsim.com/guides/voicemail-and-voice-notes-mac)
  and [Call from a Mac](https://docs.mycrmsim.com/guides/calling-setup-mac).

No Mac? Rent a cloud Mac instead. See [A cloud Mac](https://docs.mycrmsim.com/guides/imessage-setup-cloud-mac).

### Do I need an iPhone, and can it be switched off?

It depends on how you send iMessage. **Add Device** on **iMessage Devices** asks *How do you want to send iMessage?*:

| Set-up | You need | Sends from |
|---|---|---|
| **Mac** | A Mac that stays on 24/7. An iPhone on the same Apple ID is optional, but recommended. | Your own iMessage number (Apple ID) |
| **Macless — just your iPhone** | An iPhone with our app. No Mac. | Your iPhone's number |
| **Hosted number** | Nothing: no Mac and no iPhone. | A new number in the area code you pick |

Dashboard calling is only on the Mac set-up. **Macless** may show **Coming soon** on your account.

**On the Mac set-up, the iPhone can be switched off or left somewhere else.** The Mac sends iMessages on its own. While the iPhone is off, messages to contacts who aren't on iMessage can't go out as ordinary texts (SMS) through it, so they fail or move to the next row of [Message Routing](https://docs.mycrmsim.com/guides/message-routing#when-does-it-move-to-the-next-row). The Mac itself has to stay on.

### The plan

Your plan needs a free iMessage line. Each Mac (and each macOS user on a
shared Mac) uses one line. If they're all in use, **Add Device** shows
**Quantity Limit Reached**.

### Prepare Messages before you install

Do this first, and test it, before you install the gateway app.

**On the iPhone:**

1. Open **Settings**, tap your name, then **iCloud › Messages**, and turn on
   **Messages in iCloud** (on older iOS: **Sync this iPhone**).
2. Go to **Settings › Apps › Messages** and turn on **Send as Text Message**.
   Messages to contacts who aren't on iMessage then go out as SMS.
3. In the same screen, open **Text Message Forwarding** and turn on the Mac.

**On the Mac:**

1. Open **Messages** and sign in with the same Apple ID.
2. Open **Messages › Settings › iMessage** and tick **Enable Messages in
   iCloud**.
3. Under **Start new conversations from**, choose the phone number. Untick
   the email addresses, so contacts see your number, not an email.
4. Send a test iMessage from the Mac to another phone, and reply. The
   message and the reply should show on the Mac and on the iPhone.

### Sending limits belong to the Apple ID

Apple watches how many **new** people each Apple ID messages. Message too
many strangers too fast and Apple can block the account. So:

- **One Apple ID = one iMessage line.** Its limit follows the Apple ID.
- **A second SIM doesn't add a line.** A dual-SIM iPhone has two phone
  numbers but one Apple ID, so it still has one iMessage limit.
- **Keep new contacts low.** About 50 new contacts a day per Apple ID is a
  safe ceiling. People who already talk to you don't count. iMessage is for
  conversations and follow-ups, not bulk sends.
- **More volume means more Apple IDs.** Each extra line needs its own Apple
  ID, normally with its own iPhone. Several of them can share one Mac. See
  [Several lines on one Mac](https://docs.mycrmsim.com/guides/imessage-setup-multi-user).
- **For bulk texting, use Android SMS lines.** Each SIM there is its own
  line. See [Connect an Android phone as an SMS line](https://docs.mycrmsim.com/guides/android-setup).

The dashboard enforces a daily cap for you. Each Mac's **Rate Limit** column
on **iMessage Devices** shows today's new contacts against the cap (for
example *38 / 200*). Change it in the Mac's **Edit** window (**Daily Unique
Contact Limit**). A new line can also start slowly with **New-contact
warm-up** in **Queue Controls**. See
[Mac offline or iMessages stuck](https://docs.mycrmsim.com/guides/mac-offline#step-4--check-the-sending-limits).

---

## Install the Mac app and add the device

### Get the token from the dashboard

![Opening Add Device on iMessage Devices and copying the token](https://docs.mycrmsim.com/assets/add-mac-ByoYGrEA.gif)

1. In the sidebar, click **Devices**, then open the **iMessage Devices** tab.
2. Click **Add Device**.
3. If the window asks **How do you want to send iMessage?**, click **Use a
   Mac**.
4. The **iMessage Gateway Setup** window opens. Keep it open. It shows:
   - a download link for the Mac app (**this link**, in step 1), and
   - **Your iMessage Auth Token**. Click the token, or **Copy**, to copy it.

The token works once and expires after 24 hours. Treat it like a password.

Setting up a Mac in another room, or a cloud Mac? Right-click **this link**,
copy the address, and open it in Safari on that Mac.

### Install the app on the Mac

1. Download the app on the Mac and open the downloaded file.
2. Drag the app into your **Applications** folder and open it from there. If
   macOS asks whether you're sure you want to open an app downloaded from
   the internet, click **Open**.

Opened it from Downloads by mistake? The app's **Setup** list shows **App in
the Applications folder** with a **Move to Applications** button. Updates and
permissions only stick when the app lives in Applications.

### Accept the terms and sign in

![The app's Terms of Use on first launch](https://docs.mycrmsim.com/assets/mac-terms-C3EavqRR.png)

1. Read the **Terms of Use** to the end, tick **I have read and agree to the
   terms** below them and click **Continue**. On a small screen, scroll the
   window down to reach the tick box.
2. On **Welcome Back** (*"Enter your token to continue"*), paste the token
   into the **TOKEN** field and click **Sign In**.

![Signing in with the token](https://docs.mycrmsim.com/assets/mac-sign-in-CEi7xLrY.png)

*"Invalid, expired or already used token"* means you need a fresh token:
close the window on the dashboard and click **Add Device** again.

### Work through Setup

After you sign in, the app opens **Set up this Mac**.

![Choosing what this Mac will do](https://docs.mycrmsim.com/assets/mac-setup-features-CYemK8dx.png)

1. Under **What will this Mac do?**, **Messaging** is always on. Tick
   **Voice notes** or **Calling** only if you'll use them. They're already
   ticked if the Mac has the audio driver they need. Click **Continue**.
2. The app walks you through one item at a time, each with a button that
   fixes it. macOS may ask you to confirm or enter the Mac's password.

| Item | What it's for | What to do |
|---|---|---|
| **Signed in to Messages** | The app sends through Messages, with this Mac's Apple ID. | Click **Open Messages** and sign in. |
| **Full Disk Access** | Lets the app read incoming messages. | Click **Open Full Disk Access settings** and turn the app on. If macOS asks to quit and reopen the app, say yes. |
| **Control Messages** | Lets the app send through Messages. | Click **Allow access to Messages** and click **OK** on the macOS prompt. |
| **Notifications** | A banner when the line needs you. | Click **Allow notifications**. |
| **Stay awake 24/7** | A sleeping Mac stops sending. | Click **Turn sleep off**. See [Keep the Mac awake](https://docs.mycrmsim.com/guides/imessage-setup-keep-awake). |
| **Log in automatically after a restart** | After a power cut the Mac comes back on its own. | Click **Open Users & Groups** and set **Automatically log in as**. |
| **Open at login** | The app starts by itself when the Mac logs in. | Click **Open at login**. |
| **Linked to a workspace** | Tells the dashboard where this line sends from. | Done in the next step: [Assign it to a sub-account](https://docs.mycrmsim.com/guides/imessage-setup-assign). |

![A Setup item with its button and the manual steps](https://docs.mycrmsim.com/assets/mac-setup-step-DPIV1o5f.png)

Click **Skip for now** on anything you want to finish later. **Setup** in the
app's top bar opens the same list any time. Its **Auto-fix** button runs
every fix that needs only a click.

### Check the Mac in the dashboard

![The new Mac on iMessage Devices](https://docs.mycrmsim.com/assets/mac-in-list-BlYJG5GG.png)

Back on the dashboard, you'll see **New device connected!** a few seconds
after you sign in, and the Mac appears on **iMessage Devices**. Close the
setup window. Check:

- **Status** shows **Active-S** and **Last Ping** is green.
- **iMessage ID** shows the Apple ID and phone number Messages is using. If
  it shows **Not detected**, update the app. Nothing is wrong with the line.
- **Subaccount** is empty. The app shows **Waiting for Workspace** (*"An
  admin needs to assign you a workspace before you can start."*) until you
  assign it.

On the Mac, the app's main window looks like this until you assign it:

![The app waiting for a workspace, with Keep Alive on](https://docs.mycrmsim.com/assets/mac-dashboard-CoeX_X9h.png)

- **Controls** should read **Reading on** and **Keep Alive on** (the
  **Read Received Messages** and **Keep Alive** switches).
- A red **… required steps are missing** banner means something in **Setup**
  still needs doing. Click **Fix now** to open it.

---

## Keep the Mac awake

A Mac that sleeps stops sending and receiving, and the line shows
**Inactive** on the dashboard. The app holds off idle sleep while it runs
(**Keep Alive**), but macOS can still put the disk or the whole Mac to
sleep. Recent macOS versions do this even when System Settings says
*Never*. Turn sleep off at system level once per Mac.

This is meant for a Mac that stays plugged in. Don't do it on a laptop you
carry around.

### The quick way: one button in the app

1. In the app, open **Setup** in the top bar.
2. Find **Stay awake 24/7**. If it says *"Still on: …"*, click **Turn sleep
   off**.
3. Enter the Mac's administrator password when macOS asks.

The row turns green with *"Sleep, disk sleep, display sleep and the screen
saver are off."*

### Or in Terminal

On the app's main window, the **Prevent Disk Sleep** card (*Keep this Mac
always on*) has an **Instructions** button that walks through the same
commands. See the screenshot in
[Install the Mac app](https://docs.mycrmsim.com/guides/imessage-setup-install#check-the-mac-in-the-dashboard). To run them
yourself, open **Terminal** and run:

```bash
sudo pmset -a sleep 0 disksleep 0 displaysleep 0 standby 0 autopoweroff 0 powernap 0 hibernatemode 0
```

Enter the Mac's password when asked. Then check the result:

```bash
pmset -g
```

Look for `sleep 0` and `disksleep 0` in the output. The settings stay after
a restart. Run the commands again if a macOS update turns sleep back on.

You don't need a separate keep-awake app such as Amphetamine.

### Make it come back after a restart

A power cut or a macOS update leaves the Mac at the login screen, and
nothing runs until someone logs in. In the app's **Setup** list, turn on:

- **Log in automatically after a restart**: click **Open Users & Groups**
  and set **Automatically log in as** to this Mac's user. If it's greyed
  out, turn off FileVault in **Privacy & Security** first.
- **Open at login**: the app starts by itself after login.

Also on the Mac:

- Keep it plugged in. A small UPS covers short power cuts.
- In **System Settings › Energy** (on older macOS, **Energy Saver**), turn on
  **Start up automatically after a power failure** and **Wake for network
  access**, where your Mac has them.
- Don't close a laptop's lid. A closed lid sleeps the Mac whatever the
  settings say.

If the Mac still drops off, see
[Mac offline or iMessages stuck](https://docs.mycrmsim.com/guides/mac-offline).

---

## Assign the Mac to a sub-account

A Mac sends nothing until it's assigned to a sub-account. Assign it from the
dashboard, or from inside HighLevel. Both do the same thing.

### From the dashboard

![Assigning a Mac on Subaccount SIM](https://docs.mycrmsim.com/assets/assign-mac-A7n59-U7.gif)

1. In the sidebar, click **Subaccount SIM**.
2. Find the sub-account. If it isn't listed, click **Connect Locations** and
   switch it on first.
3. In its **iMessage** column, click **+** next to **Connected iMessage**.
   The **Assign iDevice to …** window opens.
4. Click **Assign new iDevice**.
5. Choose the **User** (a HighLevel user, or **No User**) and the **Device**,
   then click **Assign**.

You'll see *"Status: iMessage device assigned successfully ✅"*. The first
Mac you assign is the sub-account's **Default**. In the app on the Mac,
**Linked to a workspace** turns green and **Waiting for Workspace** goes
away.

### From inside HighLevel

![Connecting and assigning a Mac from the page inside HighLevel](https://docs.mycrmsim.com/assets/hl-embed-QIa0HDq2.gif)

Sub-account admins can connect and assign a Mac without opening the
dashboard:

1. In HighLevel, open the sub-account and click the app's page in the left
   sidebar.
2. On the **Devices** tab, open **iMessage**.
3. To add a new Mac, click **Connect a new Mac**. The **Connect a Mac**
   window shows the download link and a token. Sign in to the app on the Mac
   with that token (see [Install the Mac app](https://docs.mycrmsim.com/guides/imessage-setup-install)).
   When the Mac connects, the window closes and you'll see *"… connected —
   assign it to this sub-account below"*.
4. Pick the Mac in **Assign an available Mac…**, a user in **Pick a user…**
   (or leave **No User**), and click **Assign**. You'll see **Mac assigned to this
   sub-account**.

To take a Mac off the sub-account, click **Unassign** next to it and confirm.
It stays connected to your account, but stops serving this sub-account,
and can be assigned somewhere else. If it was the
default, the oldest other Mac here becomes the default.

Team members who aren't sub-account admins see *"Ask a sub-account admin to
connect or assign a Mac."*

### Set message routing

Routing decides whether iMessage is tried first. On **Subaccount SIM**,
click the icon in the sub-account's **Message Routing** column, tick
**iMessage** in the top row, and click **Save**. Put **SMS** in a lower row
if you have an Android line, so contacts without iMessage still get your
texts. See [How message routing works](https://docs.mycrmsim.com/guides/message-routing).

Then send a test from HighLevel (send it as **SMS**: routing picks the
channel) or from **Conversations**, and reply from the test phone. In
HighLevel, the app must be the sub-account's SMS provider. See
[Set the app as the SMS provider in HighLevel](https://docs.mycrmsim.com/guides/highlevel-sms-provider)
and [Send iMessages from HighLevel](https://docs.mycrmsim.com/guides/imessage-setup-highlevel).

### Several lines on one sub-account

![One sub-account with a default Mac and a Mac per user](https://docs.mycrmsim.com/assets/several-lines-BA6cOQzd.png)

Each extra line is another Mac (or another macOS user on the same Mac, see
[Several lines on one Mac](https://docs.mycrmsim.com/guides/imessage-setup-multi-user)), with its own
Apple ID. To add one, repeat **Assign new iDevice** and pick a different
user for each Mac:

- **Default** (the selected button in the **Default** column) answers for
  everyone without a Mac of their own. Select another row to move it. To
  remove the default Mac, make another Mac the default first.
- **One Mac per user.** A message goes out from the Mac of the user who sent
  it. For HighLevel workflows, that's the user the contact is assigned to.
  No Mac for that user? The default Mac sends.
- **Replying by hand in HighLevel** sends from the logged-in user's Mac, not
  the contact's assigned user's. To reply from the right number, log in as
  that user, or set the contact's [**Send From**](https://docs.mycrmsim.com/guides/highlevel-send-from).
- **Using extra Macs for volume only?** Turn on **Spread new chats across
  lines** in the sub-account's **iMessage** column. New conversations then take
  turns across its Macs, and *"replies and same-day follow-ups keep using
  the Mac the contact already talked to"*. With it on, Macs don't need a
  user: leave **No User**.

See [Which line sends](https://docs.mycrmsim.com/guides/message-routing#which-line-sends) for the full
order, including **Prefer the assigned user's line**.

---

## Send iMessages from HighLevel

Once the Mac is assigned to the sub-account, HighLevel sends through it like
any other line. Three things decide what happens: the provider HighLevel
uses, the sub-account's Message Routing, and which workflow action you pick.

### Pick the provider in HighLevel

In the HighLevel sub-account, open **Settings › Phone System › Additional
Settings**, then its **Telephony Provider** tab (the page opens on **Number
Intelligence**), and choose the app's provider (see
[Set the app as the SMS provider](https://docs.mycrmsim.com/guides/highlevel-sms-provider)).

| Provider | What a HighLevel text does |
|---|---|
| **SMS, WhatsApp & iMessage** (recommended) | Follows the sub-account's [Message Routing](https://docs.mycrmsim.com/guides/message-routing). Put **iMessage** in Row 1 to send iMessages first, and **SMS** in a lower row for an Android line. |
| The app's **iMessage** provider | Always goes to the Mac and skips Message Routing. Use it only when the sub-account has a Mac and nothing else. |

![The Telephony Provider tab in HighLevel, listing Lead Connector and the app's two custom providers](https://docs.mycrmsim.com/assets/telephony-provider-iM3tCDZo.png)

### Send from a conversation

Open the contact in HighLevel, keep the channel on **SMS**, type and send.
The message goes out from the Mac assigned to the user who sends it (or the
default Mac).

- **The contact has iMessage:** it goes as a blue-bubble iMessage. Replies
  come back into the same HighLevel conversation.
- **The contact isn't on iMessage** (an Android phone, say): the Mac sends it
  as a text through its paired iPhone, as **SMS** or **RCS**, unless you
  switched off **Fall back to SMS** for that Mac. The iPhone must be on and
  have **Text Message Forwarding** turned on for the Mac. See
  [iMessage can go out as SMS or RCS on its own](https://docs.mycrmsim.com/guides/message-routing#imessage-can-go-out-as-sms-or-rcs-on-its-own).
- **In the dashboard's Conversations**, a message the Mac sent this way has a
  small **SMS** or **RCS** tag next to **iMessage**. Hover over it to see
  *"Sent via SMS (iMessage gateway fell back)"*. It's still a carrier text, not
  an iMessage. A message on a **Twilio** row was sent by a Twilio number
  instead, because routing reached that row.

### iMessage and Android SMS together

A common setup: Android phones send the high-volume SMS, and the Mac sends
iMessages to people on iPhones.

1. Use the **SMS, WhatsApp & iMessage** provider.
2. In Message Routing, put **iMessage** in Row 1 and **SMS** in Row 2.
3. On the Mac, switch off **Fall back to SMS** (**Devices › iMessage Devices
   › Queue Controls**). Contacts without iMessage then fail on the Mac and
   move to Row 2, so their texts go from the Android line.

With **Fall back to SMS** left on, the Mac's iPhone texts those contacts
itself and Row 2 is never used.

### Send iMessages from a workflow

| Action | What it does |
|---|---|
| HighLevel's own **Send SMS** | Follows Message Routing, so it sends an iMessage when iMessage is Row 1. **Wait for Reply** works after it. |
| The app's **Send iMessage** (under **Installed apps**) | Always iMessage, from the Mac. Takes a phone number or an Apple ID email in **To phone**. No routing fallback, and **Wait for Reply** doesn't see replies to it. |

Use HighLevel's **Send SMS** for most steps, and **Send iMessage** when one
step must go as iMessage even though another channel is first in routing. See
[Use the app in HighLevel workflows](https://docs.mycrmsim.com/guides/highlevel-workflows).

### Message statuses in HighLevel

| HighLevel shows | What it means |
|---|---|
| **Pending** | The message hasn't left the Mac yet: it's waiting for the Mac to collect it, or in the Mac's queue. HighLevel has no separate *Queued* status, so both show as **Pending**. |
| **Delivered** | The Mac sent it. HighLevel shows **Delivered** for every message the line sent, so it doesn't prove the contact's phone received it. |
| **Read** | iMessage only: the contact opened it. Shows only if the contact has read receipts on. |
| **Failed** | Not sent. The reason is shown on the message. See [Why a message failed](https://docs.mycrmsim.com/guides/error-codes#imessage). |

For the full story of one message (when it was created, routed, picked up by
the Mac and sent, and any fallback), open **Message Logs** and click **Track
this message**.

A message stuck on **Pending** usually means the Mac is offline or paused.
See [Mac offline or iMessages stuck](https://docs.mycrmsim.com/guides/mac-offline).

---

## Several lines on one Mac

Each iMessage line needs its own Apple ID, and macOS allows one Messages
account per macOS user. To run several lines on one Mac, give each Apple ID
its own macOS user and run the gateway app in each one. Each user is a
separate device on **iMessage Devices** and uses one iMessage line from your
plan.

Keep it to **four lines per Mac** at most. More Apple IDs on one machine
raise the risk that Apple flags them, and each user adds memory and CPU
load.

### Set it up

1. **Create the users.** In **System Settings › Users & Groups**, click
   **Add User** and create a standard user for each extra line. Not a guest
   user.
2. **Turn on fast user switching.** In **System Settings › Control Center**,
   set **Fast User Switching** to show in the menu bar. Always switch users
   from that menu. Logging out instead stops that user's app.
3. **Set up each user like a new Mac.** Switch to the user, sign in to
   Messages with that line's Apple ID, and pair it with its iPhone. See
   [What you need](https://docs.mycrmsim.com/guides/imessage-setup-requirements).
4. **Install the app in each user.** Get a new token from **Add Device** for
   every user (each token works once), sign in, and work through **Setup**.
   See [Install the Mac app](https://docs.mycrmsim.com/guides/imessage-setup-install).
5. **Turn on Open at login in each user**, so every app starts again after a
   restart.
6. **Assign each device** to its sub-account, or to a user on the same
   sub-account. See [Assign the Mac](https://docs.mycrmsim.com/guides/imessage-setup-assign).

Turn sleep off once for the whole Mac. See
[Keep the Mac awake](https://docs.mycrmsim.com/guides/imessage-setup-keep-awake).
**Log in automatically after a restart** logs in only one user. After a
restart, switch to each of the other users once so their apps start.

### Good to know

- **Calls work only from the user on screen.** The others keep messaging in
  the background. In **Setup**, **This profile is on screen** shows which.
- **Device Vitals** on **iMessage Devices** shows **Mac User** and **Active
  Mac User**. Different names there are normal on a shared Mac: that line's
  user is in the background.
- Name each device after its line (in the device's **Edit** window), so you
  can tell them apart in the list.

---

## Use a cloud Mac

No spare Mac? Rent one in the cloud. A hosted Mac provider keeps the
machine powered and online, and you reach its screen with a remote desktop
app. Setup is the same as on your own Mac. You just do it through the
remote window.

The line is only as reliable as the hosted Mac. Its uptime is up to the
provider, not the dashboard. Ask your provider for a Mac with macOS 12.4 or
newer that you can sign in to Messages on.

### Connect to the cloud Mac

1. Find your Mac's address and login in the provider's welcome email (often
   under **Server Details**: an IP address, a username and a password).
2. Install the remote desktop app the provider uses, for example NoMachine,
   on your own computer.
3. Add a new connection, paste the Mac's IP address as the host, and save
   it. Open the connection and log in with the username and password.

Keep these details private. Anyone with them controls the Mac.

### Install the app on it

1. On your own computer, open **Devices › iMessage Devices** and click
   **Add Device** (then **Use a Mac**, if asked).
2. In **iMessage Gateway Setup**, right-click **this link** and copy the
   link address.
3. In the remote window, open Safari on the cloud Mac, paste the link and
   download the app. Move it to **Applications** and open it.
4. Back on your computer, copy **Your iMessage Auth Token**. Paste it into
   the app's **TOKEN** field in the remote window and click **Sign In**.
5. Finish the app's **Setup** and assign the device, as on any Mac:
   [Install the Mac app](https://docs.mycrmsim.com/guides/imessage-setup-install) and
   [Assign the Mac](https://docs.mycrmsim.com/guides/imessage-setup-assign).

Sign in to Messages on the cloud Mac with your line's Apple ID first. See
[What you need](https://docs.mycrmsim.com/guides/imessage-setup-requirements).

### Test it

Send a test message from your CRM or **Conversations** and check it arrives.
Then reply from the test phone and check the reply comes back into the same
conversation. Closing the remote desktop window doesn't stop the line. The
cloud Mac keeps running. Don't log out of the Mac or quit the app.

---

## What to do next

- **Bring your contacts across**, so Messages shows your name and photo:
  [Bring your contacts to the Mac](https://docs.mycrmsim.com/guides/contacts-to-mac).
- **Turn on tapbacks, replies and effects:**
  [Enable iMessage Advanced Mode](https://docs.mycrmsim.com/guides/imessage-advanced-mode).
- **Understand which line and channel send:**
  [How message routing works](https://docs.mycrmsim.com/guides/message-routing).
- **When the Mac goes quiet:**
  [Mac offline or iMessages stuck](https://docs.mycrmsim.com/guides/mac-offline).

---

## Troubleshooting

| What you see | What to do |
|---|---|
| **Quantity Limit Reached** on **Add Device** | Every iMessage line on your plan is in use. Add lines to your plan, or delete a Mac you no longer use. |
| *"Invalid, expired or already used token"* in the app | Tokens work once, for 24 hours. Click **Add Device** again for a new one. |
| The Mac isn't on **iMessage Devices** after signing in | Wait a few seconds and refresh. Check the app shows it's signed in and the Mac is online. |
| The app shows **Waiting for Workspace** | The Mac isn't assigned yet. Assign it on **Subaccount SIM**. |
| **Full Disk Access** or **Control Messages** stays red | Use the row's button, then **Already on? Relaunch app** or **Reset & relaunch**. See [Mac offline or iMessages stuck](https://docs.mycrmsim.com/guides/mac-offline#step-5--fix-the-mac). |
| **iMessage ID** shows **Not detected** | Only newer app versions report it. The line still works. |
| The Mac goes **Inactive** overnight | It's sleeping or restarting. See [Keep the Mac awake](https://docs.mycrmsim.com/guides/imessage-setup-keep-awake). |
| Contacts see an email address as the sender | On the Mac, set **Messages › Settings › iMessage › Start new conversations from** to your phone number. |
| Messages to Android phones fail | They need SMS: turn on **Send as Text Message** on the iPhone and **Fall back to SMS** in **Queue Controls**, or put an SMS line in a lower routing row. |
| Replies from HighLevel go out from the wrong number | Manual replies send from the logged-in user's Mac. See [Several lines on one sub-account](https://docs.mycrmsim.com/guides/imessage-setup-assign). |
