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

# Add SmartAlex to Claude Code

> Claude Code can use SmartAlex in a terminal. With the plugin it also gets the guides for jobs that change your code, such as adding the voice widget to your website or wiring call events into your...

Claude Code can use SmartAlex in a terminal. With the plugin it also gets the
guides for jobs that change your code, such as adding the voice widget to your
website or wiring call events into your backend with a webhook.

Pick one of three routes. Each ends with one press of **Approve** on our own
SmartAlex page. No API key is stored in any file.

| Route | Best for | What you get |
| - | - | - |
| A. One command | Most people | The plugin, installed and signed in by Claude Code itself |
| B. Plugin commands | You want to run each step yourself | The plugin |
| C. Connection only | You only want the tools, not the guides | The SmartAlex tools |

If you already added SmartAlex to your Claude account on claude.ai and you sign in
to Claude Code with that same Claude account, it may already be there. Run `/mcp`
and look for SmartAlex before you add it again.

## Route A. One command

Paste this into your terminal:

```bash theme={null}
claude "Set up the SmartAlex plugin by following the steps in https://github.com/The-RCS-Group/smartalex-plugin"
```

Claude Code starts, reads the setup steps from the plugin repository, installs the
plugin and opens the SmartAlex sign-in in your browser. Sign in if it asks and click
**Approve**. Claude Code then checks the connection itself and tells you how many
contacts, campaigns and calls you have.

Already inside Claude Code? Paste just the sentence:

```
Set up the SmartAlex plugin by following the steps in https://github.com/The-RCS-Group/smartalex-plugin
```

## Route B. Plugin commands

In your terminal:

```bash theme={null}
claude plugin marketplace add The-RCS-Group/smartalex-plugin
```

```bash theme={null}
claude plugin install smartalex@smartalex-plugins
```

Or inside a Claude Code session:

```
/plugin marketplace add The-RCS-Group/smartalex-plugin
/plugin install smartalex@smartalex-plugins
```

Then sign in: type `/mcp`, pick SmartAlex and choose **Authenticate**. Your browser
opens the SmartAlex page. Click **Approve**.

Some Claude Code versions only load a new plugin after a restart. If SmartAlex is
not in `/mcp`, quit Claude Code and start it again.

## Route C. Connection only

```bash theme={null}
claude mcp add --transport http smartalex https://mcp.getsmartalex.com
```

Add `--scope user` to have SmartAlex in every project on this computer, not just the
folder you are in. Then type `/mcp`, pick SmartAlex and choose **Authenticate**.

## Check it works

Ask Claude Code:

```
How many contacts, campaigns and calls do I have in SmartAlex?
```

Your own numbers back means it works.

## What you see when you sign in

* **"It will send you back to an app on this device."** That is right for Claude
  Code: the sign-in returns to Claude Code on your computer.
* **"SmartAlex has not verified this app."** Claude Code registers itself with a
  plain client name, so our page cannot match it to a company. Approve only if you
  started the sign-in yourself, a moment ago.
* **"Approving as"** shows the SmartAlex account the connection will use. Wrong
  account? Click **Switch account** before you approve, because an approval cannot
  move to another account afterwards.

## Remove it

* Plugin: `/plugin uninstall smartalex@smartalex-plugins`
* Connection only: `claude mcp remove smartalex`

Removing it from Claude Code does not end the sign-in on our side. To do that too,
see [Check it works, and remove it](https://docs.getsmartalex.com/mcp/check-and-disconnect.md).

## If it does not work

| What you see | What to do |
| - | - |
| "This sign-in link no longer works" | A sign-in link works once, for 10 minutes, and only for the account that opened it. In Claude Code, type `/mcp`, pick SmartAlex and choose **Authenticate** for a new one. |
| SmartAlex is not in `/mcp` after installing the plugin | Restart Claude Code. |
| `/mcp` shows SmartAlex as needing sign-in | Choose **Authenticate** and approve again. |
| It answers about the wrong workspace | See [Troubleshooting](https://docs.getsmartalex.com/mcp/troubleshooting.md#it-answers-about-the-wrong-workspace). |


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