Personal AI, On Personal Devices
Channels & Connectors
OpenJarvis has two types of integrations:
- Data connectors — read-only access to your personal data (Gmail, iMessage, Google Drive, etc.) so your agent can search and research across them
- Messaging channels — ways to talk TO your agent from your phone or other platforms (iMessage/SMS, Slack)
Messaging Channels
iMessage & SMS (via SendBlue)
What it does: Gives your agent a phone number. Text it from any phone (iPhone via iMessage, Android via SMS) and the agent responds.
Setup
- Create a SendBlue account: sendblue.com — free tier available
- Get your API credentials: Dashboard → API Keys → copy API Key ID and API Secret Key
- Note your SendBlue phone number — this is the number people text to reach your agent
- Connect in OpenJarvis:
- Desktop/Browser: Agents → your agent → Messaging tab → iMessage/SMS → enter API Key ID, API Secret Key, and phone number
- The agent will send an "ack" message and a test to verify it works
- Set up the webhook so incoming texts reach your agent:
- You need a public URL — use ngrok to tunnel to your local server:
ngrok http 9001 - Register the webhook URL with SendBlue:
curl -X PUT https://api.sendblue.co/api/account/webhooks \ -H "sb-api-key-id: YOUR_KEY" \ -H "sb-api-secret-key: YOUR_SECRET" \ -H "Content-Type: application/json" \ -d '{"webhooks": {"receive": ["https://YOUR-NGROK-URL.ngrok-free.dev/webhooks/sendblue"]}}' - You need a public URL — use ngrok to tunnel to your local server:
How it works
- Someone texts your SendBlue number → SendBlue sends a webhook to your server
- Agent replies "Message received! Working on it now..." instantly
- Agent researches your data (15-60s) → sends the response as iMessage or SMS
- iMessage (blue bubbles) for Apple devices, SMS (green) for Android — automatic
Troubleshooting
| Issue | Solution |
|---|---|
| No response after texting | Check ngrok is running and webhook URL is registered |
| "Disconnected" in Messaging tab | Click Reconnect — server may have restarted |
| ngrok URL changed | Re-register the webhook URL with SendBlue (see step 5) |
| Messages only work one-way | Free tier requires contacts to text the number first |
Slack
What it does: DM your agent in Slack and get research responses in the thread.
Setup
The fastest way is to use the App Manifest — paste this JSON to configure everything at once:
- Go to api.slack.com/apps → Create New App → From an app manifest
- Select your workspace, then paste this manifest:
{
"display_information": { "name": "OpenJarvis" },
"features": {
"app_home": {
"home_tab_enabled": true,
"messages_tab_enabled": true,
"messages_tab_read_only_enabled": false
},
"bot_user": { "display_name": "OpenJarvis", "always_online": true }
},
"oauth_config": {
"scopes": {
"bot": [
"chat:write", "im:write", "im:read", "im:history",
"users:read", "channels:read", "channels:history",
"app_mentions:read"
]
}
},
"settings": {
"event_subscriptions": { "bot_events": ["message.im"] },
"socket_mode_enabled": true
}
}
- Click Create → Install to Workspace → Allow
- Copy the Bot User OAuth Token (
xoxb-...) from OAuth & Permissions - Go to Basic Information → App-Level Tokens → Generate Token → add
connections:writescope → copy the token (xapp-...) - Connect in OpenJarvis:
- Desktop/Browser: Agents → your agent → Messaging tab → Slack → paste both tokens
- CLI: tokens are stored when you bind the channel
How it works
- You DM @OpenJarvis in Slack → Socket Mode receives the event in real-time
- Agent replies "Message received! Working on it now..." in a thread under your message
- Agent researches (15-60s) → response appears in the same thread
- If processing takes >60s: "Still working! Will reply ASAP" in the thread
- All responses use Slack formatting (bold, italic,
code, lists)
Important Notes
- Reinstall after changes: Every time you add scopes or events, reinstall the app
- App Token vs Bot Token: Bot Token (
xoxb-) for API calls, App Token (xapp-) for Socket Mode. You need both. - Don't use Event Subscriptions UI for Request URL: With Socket Mode, you don't need one. Use the App Manifest method above.
Troubleshooting
| Issue | Solution |
|---|---|
| "Sending messages to this app has been turned off" | App Home → enable Messages Tab → "Allow users to send messages" |
| Bot doesn't respond | Check Socket Mode is enabled + message.im event is subscribed + app was reinstalled |
| "missing_scope" error | Add the scope → reinstall the app |
| Bot not visible in Slack | Click "+" next to Direct Messages → search "OpenJarvis" |
| Event Subscriptions won't save | Use the App Manifest method (avoids Request URL requirement) |
Data Connectors
Gmail
What it indexes: Email messages and threads from your Gmail inbox.
Setup (App Password — recommended)
Enable 2-Factor Authentication on your Google account: Open Google Security Settings →
Generate an App Password for "Mail": Open App Passwords →
- Select "Mail" as the app
- Copy the 16-character password (e.g.
qpde kebj evhy zljc)
Connect in OpenJarvis:
- Desktop/Browser: Agents → your agent → Channels tab → Gmail → Reconnect
- CLI:
uv run jarvis connect gmail_imap - Enter your email address and the app password
Troubleshooting
| Issue | Solution |
|---|---|
| "App Passwords" page not available | Enable 2-Factor Authentication first |
| Login failed | Make sure you're using the app password, not your regular Google password |
| No emails syncing | Check that IMAP is enabled: Gmail Settings → Forwarding and POP/IMAP |
| Only getting recent emails | By default, the last 500 emails are synced. Increase with max_messages config |
Google Drive
What it indexes: Documents, Sheets, PDFs, and other files from your Drive.
Setup
Go to Google Cloud Console and create a project (or use an existing one): Create Project →
Enable the Google Drive API: Enable Drive API →
Create OAuth credentials: Open Credentials →
- Click "Create Credentials" → "OAuth 2.0 Client ID"
- Choose "Desktop app" as the application type
- Copy the Client ID and Client Secret
Add yourself as a test user (required while app is unverified): Open OAuth Consent Screen →
- Scroll to "Test users" → click "+ Add Users"
- Add your Gmail address (e.g.
[email protected])
Add the redirect URI: Open Credentials →
- Click your OAuth Client → Authorized redirect URIs
- Add:
http://localhost:8789/callback
Connect in OpenJarvis:
- Desktop/Browser: Agents → Channels tab → Google Drive → paste Client ID and Client Secret
- Your browser will open Google's consent page → grant read-only access
- You'll see "Authorization successful!" → Drive data starts syncing
Troubleshooting
| Issue | Solution |
|---|---|
| "Access blocked: app has not completed verification" | Add your email as a test user (step 4 above) |
| "Error 400: redirect_uri_mismatch" | Add http://localhost:8789/callback as an authorized redirect URI (step 5) |
| "Error 403: access_denied" | Make sure you selected "Desktop app" when creating the OAuth client |
| Connected but 0 files | Check that you granted Drive read access in the consent screen. Try reconnecting. |
| Token expired | Access tokens expire after 1 hour. Reconnect to get a new one. (Auto-refresh coming soon.) |
Google Calendar
What it indexes: Events, meetings, and calendar entries.
Setup
Same as Google Drive — use the same Google Cloud project and OAuth client.
Enable the Google Calendar API: Enable Calendar API →
Follow steps 3-6 from the Google Drive section above (same Client ID/Secret works)
Troubleshooting
Same as Google Drive. Additionally:
| Issue | Solution |
|---|---|
| Only seeing primary calendar | The connector reads all calendars you have access to |
| Missing shared calendars | Shared calendars from other users may require additional permissions |
Google Contacts
What it indexes: People, phone numbers, emails, and contact information.
Setup
Same as Google Drive — use the same Google Cloud project and OAuth client.
Enable the People API: Enable People API →
Follow steps 3-6 from the Google Drive section above
Slack
Slack serves two purposes in OpenJarvis:
- Data source — indexes channel messages, DMs, and threads so your agent can search them
- Messaging channel — lets you DM your agent directly in Slack
We recommend creating one Slack app that handles both. The App Manifest below includes all scopes needed.
Quick Setup (App Manifest — recommended)
Go to Slack App Settings →
Create New App → "From an app manifest" → select your workspace
Paste this JSON manifest (includes all scopes for data source + messaging):
{ "display_information": { "name": "OpenJarvis" }, "features": { "app_home": { "home_tab_enabled": true, "messages_tab_enabled": true, "messages_tab_read_only_enabled": false }, "bot_user": { "display_name": "OpenJarvis", "always_online": true } }, "oauth_config": { "scopes": { "bot": [ "channels:read", "channels:history", "channels:join", "groups:read", "groups:history", "im:read", "im:write", "im:history", "mpim:read", "mpim:history", "chat:write", "users:read", "app_mentions:read" ] } }, "settings": { "event_subscriptions": { "bot_events": ["message.im"] }, "socket_mode_enabled": true } }Review and click Create
Install the app: Install App → Install to Workspace → Authorize
Copy the Bot Token: Go to OAuth & Permissions → copy the Bot User OAuth Token (
xoxb-...)Create an App-Level Token (for DMs):
- Go to Basic Information → App-Level Tokens → Generate Token
- Name it "socket" → add the
connections:writescope → Generate - Copy the token (
xapp-...)
(Optional) Set the app icon:
- Go to Basic Information → Display Information
- Upload the OpenJarvis icon
Required Bot Token Scopes (reference)
| Scope | Purpose |
|---|---|
channels:read |
List public channels |
channels:history |
Read public channel messages |
channels:join |
Auto-join public channels for indexing |
groups:read |
List private channels |
groups:history |
Read private channel messages |
im:read |
List DM conversations |
im:write |
Open DM conversations |
im:history |
Read DM history + receive DM events |
mpim:read |
List group DMs |
mpim:history |
Read group DM messages |
chat:write |
Send messages and responses |
users:read |
Look up user info |
app_mentions:read |
See @mentions of the bot |
App-Level Token scope: connections:write (required for Socket Mode / DMs)
Connecting in OpenJarvis
As a data source (read channel messages):
- Desktop/Browser: Data Sources → Slack → paste the bot token (
xoxb-...) - CLI:
uv run jarvis connect slack
As a messaging channel (DM your agent):
- Desktop/Browser: Data Sources → Messaging Channels → Slack → Set Up
- Enter both the Bot Token (
xoxb-...) and App Token (xapp-...) - Or: Agents → select agent → Messaging Channels → Slack → Set Up
DM your agent:
- In Slack, find OpenJarvis under Apps (or Direct Messages)
- If you don't see it: click "+" next to Direct Messages → search "OpenJarvis"
- Send a message → the agent responds in a thread
Important Notes
- Reinstall after scope changes: Every time you add new scopes or change event subscriptions, you MUST reinstall the app.
- App-Level Token vs Bot Token: The Bot Token (
xoxb-) is for API calls. The App Token (xapp-) is for Socket Mode. You need both for DMs to work. - Channel visibility: The bot can only read channels it's been added to. Invite it with
/invite @OpenJarvisin each channel you want indexed. - Thread replies: If you reply in a thread, the bot sees it. New top-level messages also work.
Troubleshooting
| Issue | Solution |
|---|---|
| "not_allowed_token_type" | Use the Bot token (xoxb-...), not a user token (xoxp-) or session token (xoxe-) |
| "Sending messages to this app has been turned off" | Go to App Home → enable "Messages Tab" → check "Allow users to send messages from the messages tab" |
| Bot doesn't respond to DMs | Make sure Socket Mode is enabled, message.im event is subscribed, and the app was reinstalled after changes |
| "missing_scope" error | Add the missing scope in OAuth & Permissions → Reinstall the app |
| Bot not visible in Slack | Go to Install App → Reinstall to Workspace |
| No messages found (data source) | The bot can only see channels it's been added to. Invite it: /invite @OpenJarvis in the channel |
| Socket Mode connects but no events received | Verify message.im is in the manifest's bot_events, reinstall the app |
Notion
What it indexes: Pages, databases, and their content.
Setup
Create an internal integration: Open Notion Integrations →
- Click "New integration"
- Name it (e.g. "OpenJarvis")
- Select your workspace
- Copy the Internal Integration Secret (starts with
ntn_)
Share pages with your integration:
- Open any Notion page you want indexed
- Click "..." (top right) → "Connections" → find your integration → click it
- Repeat for each page or database
Connect in OpenJarvis:
- Desktop/Browser: Agents → Channels tab → Notion → paste the token
- CLI:
uv run jarvis connect notion
Troubleshooting
| Issue | Solution |
|---|---|
| 0 pages found | You must explicitly share pages with the integration (step 2). The integration can only see pages you've connected. |
| Missing database content | Share the database page itself, not just individual entries |
| Token expired | Notion integration tokens don't expire. If it stops working, regenerate at the integrations page. |
Granola
What it indexes: AI meeting notes and transcripts from the Granola app.
Setup
- Open the Granola desktop app → Settings → API
- Copy your API key (starts with
grn_) - Connect in OpenJarvis:
- Desktop/Browser: Agents → Channels tab → Granola → paste the key
- CLI:
uv run jarvis connect granola
Troubleshooting
| Issue | Solution |
|---|---|
| No API key in settings | Granola API is available on Business and Enterprise plans |
| 0 meeting notes | Check that you have meetings recorded in Granola |
Apple Notes
What it indexes: Notes from the macOS Notes app.
Setup (automatic)
Grant Full Disk Access to your terminal app:
- Open System Settings → Privacy & Security → Full Disk Access
- Enable access for Terminal, iTerm, Warp, or the OpenJarvis desktop app
Apple Notes is detected automatically when Full Disk Access is granted
OpenJarvis searches an indexed snapshot rather than querying Notes.app live. After creating notes, open Data Sources and click Re-sync on Apple Notes before searching for the new content.
Troubleshooting
| Issue | Solution |
|---|---|
| "Not connected" despite Full Disk Access | Restart your terminal app after granting access |
| Notes content is garbled | Some very old notes may have encoding issues. Most notes should be clean. |
| New notes are missing | In Data Sources, click Re-sync on Apple Notes to refresh the index. |
| Missing notes | Only notes stored locally or in iCloud are indexed. Notes in third-party accounts (Gmail, Exchange) may not appear. |
iMessage
What it indexes: Text messages from the macOS Messages app.
Setup (automatic)
Same as Apple Notes — requires Full Disk Access.
Troubleshooting
| Issue | Solution |
|---|---|
| "Not connected" | Grant Full Disk Access (see Apple Notes above) |
| Very slow sync | iMessage databases can be large (50K+ messages). First sync may take 10-30 seconds. |
| Missing recent messages | Messages sync from the local database. If Messages.app hasn't synced from iCloud yet, recent messages may be missing. |
Outlook / Microsoft 365
What it indexes: Email messages via IMAP.
Setup
Enable 2-Factor Authentication on your Microsoft account: Open Microsoft Security →
Generate an App Password:
- Go to Security → Advanced security options → App passwords
- Create a new app password
Connect in OpenJarvis:
- Desktop/Browser: Agents → Channels tab → Outlook → enter email + app password
- CLI:
uv run jarvis connect outlook
Troubleshooting
| Issue | Solution |
|---|---|
| Login failed | Use the app password, not your regular Microsoft password |
| "Authentication failed" | Some Microsoft 365 organizations disable IMAP. Check with your IT admin. |
| Only getting Inbox | Currently only the Inbox folder is synced |
Obsidian
What it indexes: Markdown files from your Obsidian vault.
Setup
- Find your Obsidian vault folder (the folder containing the
.obsidiandirectory) - Connect in OpenJarvis:
- Desktop/Browser: Agents → Channels tab → Obsidian → paste the vault path
- CLI:
uv run jarvis connect obsidian --path /path/to/vault
Troubleshooting
| Issue | Solution |
|---|---|
| "Not connected" | Double-check the path exists and contains a .obsidian folder |
| Missing files | Only .md, .markdown, and .txt files are indexed. Binary files and images are skipped. |
| Slow sync for large vaults | Vaults with 1000+ files may take a minute to sync |
Dropbox
What it indexes: Files and documents from your Dropbox.
Setup
Create a Dropbox app: Open Dropbox App Console →
- Choose "Scoped access" → "Full Dropbox"
Set permissions:
- Under Permissions tab, enable
files.metadata.readandfiles.content.read
- Under Permissions tab, enable
Generate an access token:
- Go to Settings tab → "Generated access token" → Generate
Connect in OpenJarvis:
- Desktop/Browser: Agents → Channels tab → Dropbox → paste the token
- CLI:
uv run jarvis connect dropbox
Troubleshooting
| Issue | Solution |
|---|---|
| "Invalid access token" | Dropbox short-lived tokens expire after 4 hours. Generate a new one. |
| Missing files | Check that you enabled the correct permissions (step 2) |
General Troubleshooting
All connectors
| Issue | Solution |
|---|---|
| "Connected — no data synced yet" | The connector authenticated but hasn't synced. Try running uv run jarvis deep-research-setup --skip-chat to trigger a sync. |
| Data seems stale | Connectors sync on demand. Run the setup command or click "Reconnect" to re-sync. |
| Want to reset a connector | Click "Reconnect" in the Channels tab, or delete the credential file at ~/.openjarvis/connectors/{connector}.json |
Where credentials are stored
All credentials are saved locally at ~/.openjarvis/connectors/ with file permissions 0600 (owner-only read/write). No credentials are sent to any server — everything stays on your device.
~/.openjarvis/connectors/
├── gmail_imap.json # Gmail email + app password
├── gdrive.json # Google Drive OAuth tokens
├── gcalendar.json # Google Calendar OAuth tokens
├── gcontacts.json # Google Contacts OAuth tokens
├── slack.json # Slack bot token
├── notion.json # Notion integration token
├── granola.json # Granola API key
├── outlook.json # Outlook email + app password
└── dropbox.json # Dropbox access token