Skip to content
Get Started
Getting Started

Introduction

Getting Started with Sendblue | iMessage for Business

This guide will help you get started with Sendblue and understand the basics of how to use the platform. If you just want to start sending messages right away, jump to the Quickstart.

The fastest way to get started is with the Sendblue CLI:

Terminal window
npm install -g @sendblue/cli
sendblue setup

The CLI will walk you through creating an account, assigning you a Sendblue number, and verifying your first contact.

You can also create an account without email by verifying the user’s primary phone. The CLI shows a one-time phrase and waits for that phone to text the phrase to the shared Sendblue number:

Terminal window
sendblue setup --phone +15551234567 --company my-agent

Phone-created accounts use the verified phone as the login identity. Sendblue stores an internal account email in the form [email protected] for future agent email support.

If an AI coding agent is helping, it can use the CLI directly. For the lowest-friction flow, ask for the user’s primary phone number and the account name, then run the phone setup command above. If they prefer email verification, ask for the email address they want on the account and the phone number they want to text, then run:

Terminal window
npx -y @sendblue/cli setup --email [email protected]
# The user checks email and provides the 8-digit verification code.
npx -y @sendblue/cli setup --email [email protected] --code 12345678 --company my-agent --contact +15551234567

The free account requires no credit card. iMessage traffic uses Apple’s end-to-end encryption, and Sendblue is SOC 2 Type II certified. Before sending a test message, make sure the recipient is comfortable using iMessage/SMS for the prototype.

Terminal window
sendblue show-keys

These are the same credentials shown in the dashboard. Use them as SB-API-KEY-ID and SB-API-SECRET-KEY headers in API requests.

If you already have Sendblue API credentials:

Terminal window
sendblue login

If the account has a verified primary phone, you can also log in without email:

Terminal window
sendblue login --phone +15551234567

For enterprise use cases, please reach out to sales.

Here are two open-source projects built on Sendblue:

TextMe turns your Mac into a personal Claude AI you can text from anywhere. Send messages, voice notes, or images — Claude responds directly to your phone via iMessage.

1. Install requirements:

Terminal window
npm install -g @sendblue/cli
npm install -g @anthropic-ai/claude-code

2. Get your Sendblue credentials:

Terminal window
sendblue setup
sendblue show-keys

3. Install:

Terminal window
git clone https://github.com/njerschow/textme.git
cd textme/daemon && npm install && npm run build

4. Configure — create ~/.config/claude-imessage/config.json:

Terminal window
mkdir -p ~/.config/claude-imessage
{
"sendblue": {
"apiKey": "YOUR_API_KEY",
"apiSecret": "YOUR_API_SECRET",
"phoneNumber": "+1SENDBLUE_NUMBER"
},
"whitelist": ["+1YOUR_PHONE"]
}

5. Run (from inside textme/daemon/):

Terminal window
npm start

Text your Sendblue number and Claude will respond.

openclaw-sendblue is a plugin for openclaw that adds iMessage and SMS as a communication channel, so you can interact with your AI agent over text.

1. Get your Sendblue credentials:

Terminal window
npm install -g @sendblue/cli
sendblue setup
sendblue show-keys

2. Install the plugin:

Terminal window
git clone https://github.com/njerschow/openclaw-sendblue ~/.openclaw/extensions/sendblue
cd ~/.openclaw/extensions/sendblue && npm install && npm run build

3. Configure — add this to ~/.openclaw/openclaw.json:

{
"plugins": {
"entries": {
"sendblue": {
"enabled": true,
"config": {
"apiKey": "YOUR_API_KEY",
"apiSecret": "YOUR_API_SECRET",
"phoneNumber": "+15551234567",
"allowFrom": ["+15559876543"]
}
}
}
}
}

4. Restart and test:

Terminal window
openclaw gateway restart

Text the Sendblue number from your phone — openclaw will respond.

Both projects are MIT licensed.