Prerequisites
Before creating your first agent, ensure you have:- Admin access to your Bloom organization
- API credentials for the services you want to integrate
- Basic understanding of HTTP APIs
Step 1: Create an Integration
1
Navigate to Integrations
Go to the Integrations tab in your Bloom dashboard
2
Add Service
Click “Add Integration” and select your desired service (e.g., OpenAI, GitHub, Serper)
3
Configure Credentials
Enter your API key and any required configuration for the service
4
Test Connection
Use the test button to verify your integration is working correctly
Step 2: Define Scopes
Scopes control what your agent can access. Create granular permissions:1
Go to Scopes Tab
Navigate to the Scopes section in your dashboard
2
Create New Scope
Click “Create Scope” and give it a descriptive name
3
Configure Permissions
Set up the allowed HTTP methods and API paths:
4
Save Scope
Review and save your scope configuration
Step 3: Create Your Agent
1
Navigate to Agents
Go to the Agents tab in your dashboard
2
Add New Agent
Click “Create Agent” and provide:
- Name: Descriptive name for your agent
- Description: What this agent does
3
Assign Scopes
Select the scopes you created in Step 2
4
Generate Agent ID
Copy your agent ID - you’ll need this for implementation
Step 4: Implement in Code
Choose your integration method:- Direct API
- MCP Server
Verification
Test that everything is working:- Check Agent Status: Verify your agent appears in the dashboard
- Test API Call: Make a simple request through the proxy
- Review Logs: Check the activity logs in your dashboard
- Validate Scopes: Ensure your agent can only access permitted endpoints
If you encounter authentication errors, double-check your environment variables and scope assignments.
Common Issues
403 Forbidden Error
403 Forbidden Error
Your agent likely doesn’t have the required scopes. Check:
- Agent has the correct scopes assigned
- Scope includes the HTTP method you’re using
- Scope includes the exact API path
Invalid Agent ID
Invalid Agent ID
Verify:
- BLOOM_AGENT_ID environment variable is set correctly
- Agent ID exists in your dashboard
- Agent hasn’t been deleted or deactivated
Integration Not Found
Integration Not Found
Ensure:
- Integration exists and is properly configured
- Service name in URL matches integration name
- API credentials are valid and have necessary permissions