Workshop 6: Apps & Integrations
Duration: 45 minutes | Level: Intermediate | Prerequisites: Workshops 1-3
What Youβll Master
Extend your expertβs capabilities by connecting it to the tools and services your business uses.1
Understanding Apps
Learn how apps expand your expertβs capabilities
2
MCP Marketplace
Browse and install Model Context Protocol tools
3
API Connections
Connect to REST APIs and webhooks
4
Authentication
Configure OAuth, API keys, and credentials
5
Custom Tools
Build your own integrations
How Apps Work
Apps extend your expert with new capabilities:App Categories
Productivity
- Google Workspace
- Microsoft 365
- Notion
- Slack
- Trello
Data & Analytics
- Databases
- Spreadsheets
- BI tools
- Analytics
- CRMs
Development
- GitHub
- GitLab
- Jira
- Linear
- APIs
Communication
- Email (Gmail, Outlook)
- SMS/WhatsApp
- Discord
- Teams
Search & Research
- Web search
- Tavily
- Wolfram Alpha
- Wikipedia
Custom
- REST APIs
- Webhooks
- MCP tools
- OpenAPI specs
Browsing the App Marketplace
Navigate to Apps
- Click Apps in the sidebar
- Browse categories or search
- Click an app to view details

App Information
Each app shows:- Description: What the app does
- Required Auth: How to connect
- Available Actions: What your expert can do
- Pricing: Free or premium
Installing Apps
Step-by-Step Installation
1
Find the App
Search or browse for the app you need
2
Click Install
Open the app details and click βInstallβ
3
Configure Auth
Connect your account or add API keys
4
Set Permissions
Choose what actions are allowed
5
Assign to Expert
Enable the app for specific experts
π― Exercise: Install Web Search
Letβs add web search to your TechSupport AI:1
Find Tavily Search
In the Apps marketplace, search for βTavilyβ
2
Install
Click Install and configure your API key
3
Enable for Expert
Add Tavily to your TechSupport AI
4
Test
Ask: βSearch for the latest smart home trends in 2024β
MCP Marketplace
What is MCP?
Model Context Protocol (MCP) is a standard for connecting AI models to external tools:Browsing MCP Tools
Navigate to Apps β MCP Marketplace:GitHub MCP
- Search code and issues
- Create/update issues
- Manage pull requests
- Repository actions
Database MCP
- Query SQL databases
- Read/write data
- Schema inspection
- Transaction support
Filesystem MCP
- Read/write files
- Directory operations
- File search
- Watch for changes
Slack MCP
- Send messages
- Read channels
- Manage threads
- Search history
Installing MCP Tools
1
Select Tool
Choose an MCP tool from the marketplace
2
Configure Connection
Add the MCP server URL or let B-Bot host it
3
Authenticate
Provide necessary credentials
4
Test Connection
Verify the tool works correctly
Authentication Methods
Types of Authentication
| Method | Use Case | Security Level |
|---|---|---|
| API Key | Simple APIs | ββ |
| OAuth 2.0 | Google, Microsoft, etc. | ββββ |
| Bearer Token | APIs with tokens | βββ |
| Basic Auth | Legacy systems | β |
| Custom Headers | Special requirements | βββ |
Provider Keys
Manage your API keys in Settings β Provider Keys:
π― Exercise: Add Provider Keys
1
Navigate to Settings
Go to Settings β Provider Keys
2
Add OpenAI Key
If you have your own, add your OpenAI API key
3
Add Tavily Key
Add your Tavily API key for web search
4
Verify
Test that your expert can use these keys
Building Custom Integrations
OpenAPI/Swagger Integration
Connect any API that has an OpenAPI specification:1
Find OpenAPI Spec
Get the APIβs OpenAPI/Swagger JSON file
2
Import in B-Bot
Go to Apps β Custom β Import OpenAPI
3
Configure Auth
Set up authentication method
4
Select Endpoints
Choose which endpoints to expose
Custom Tool Example
Create a custom tool for your internal API:Tool Configuration Best Practices
Organizing Tools by Expert
| Expert Type | Recommended Tools |
|---|---|
| Customer Support | CRM, Knowledge Base, Ticketing |
| Sales Assistant | CRM, Calendar, Email, Analytics |
| Developer Helper | GitHub, Jira, Documentation, Search |
| Content Creator | Google Drive, Design tools, Social |
| Data Analyst | Database, Spreadsheets, Visualization |
Tool Permissions
Configure granular permissions:Read-Only
Expert can only retrieve information
Read-Write
Expert can create and modify data
Limited Scope
Restrict to specific resources
Approval Required
Actions need human approval
Integration Examples
Example 1: Customer Support Expert
Example 2: Developer Assistant
Troubleshooting Integrations
Authentication Errors
Authentication Errors
Common causes:
- Expired API key or token
- Incorrect credentials
- Missing permissions/scopes
Rate Limiting
Rate Limiting
Common causes:
- Too many requests
- API quotas exceeded
Tool Not Responding
Tool Not Responding
Common causes:
- Network issues
- API service down
- Incorrect endpoint URL
π― Challenge: Full Integration Setup
Set up a complete integrated expert:1
Choose Use Case
Pick a real scenario (support, sales, dev, etc.)
2
Install 3+ Apps
Add at least 3 relevant integrations
3
Configure Permissions
Set appropriate access levels
4
Test Workflows
Try multi-step tasks using multiple tools
5
Document
Note which tools work well together
Key Takeaways
Extend Capabilities
Apps transform your expert from a chatbot to a powerful assistant
MCP Standard
MCP provides a unified way to connect tools
Security First
Always configure appropriate permissions and authentication
Right Tools
Choose tools that match your expertβs purpose