A Mastra-based AI assistant for sales insights and CRM management.
- Node.js >= 20.9.0
- npm or yarn
npm installCopy .env.example to .env and fill in your API keys:
cp .env.example .env- Go to Google AI Studio
- Create a new API key
- Add it to your
.envfile asGOOGLE_GENERATIVE_AI_API_KEY
- Go to https://api.slack.com/apps
- Click "Create New App" → "From scratch"
- Name it "vibeb2b" and select your workspace
In your app settings, go to OAuth & Permissions:
Required Scopes:
chat:write- Send messages to channels
Optional Scopes (for public channels):
chat:write.public- Send messages to public channels
- Click Install to Workspace
- Copy the Bot User OAuth Token (starts with
xoxb-) - Get your channel ID:
- Right-click channel → Copy link
- ID is the last part (e.g.,
C1234567890)
Add to your .env file:
SLACK_BOT_TOKEN=xoxb-your-bot-token-here
SLACK_CHANNEL_ID=C1234567890
SLACK_SIGNING_SECRET=your-signing-secret-hereInvite the bot to your desired channel: @vibeb2b
- Go to Attio and sign in to your account
- Navigate to Settings → API Tokens
- Click Create API Token
- Give it a name (e.g., "VibeB2B Integration")
- Copy the generated token
Add to your .env file:
ATTIO_API_TOKEN=your-attio-api-token-hereThe AI agents can now:
- Read people data from Attio CRM
- Add notes to client records
- Update CRM information based on insights
For an interactive experience managing the Mastra server:
npm run electron-devThis launches the VibeB2B GUI with controls to:
- Start/stop the Mastra AI server
- Monitor server health and status
- View real-time logs
- Manage environment variables
Run individual services:
# Mastra AI development server only
npm run dev
# GUI application only
npm run electron-devnpm run build
npm start