Why Connect Strapi?
Content Search
Chatbot can search and retrieve Strapi content
Flexible Content Types
Works with custom content types and collections
API Token Auth
Secure authentication with API tokens
Prerequisites
- Strapi 4.x or 5.x project
- Admin access to your Strapi dashboard
- API Token generated from your Strapi admin
- Content API permissions configured
Setup Steps
Generate API Token
Create an API Token in your Strapi admin:
- Log in to your Strapi admin dashboard
- Go to Settings → Global Settings → API Tokens
- Click Create new API Token
- Enter a name (e.g., “BubblaV Integration”)
- Set token duration (recommended: Unlimited or long duration)
- Set token type to Read-only or Full access
- Click Save
- Copy the generated API Token (shown only once)
Configure Content Permissions
Ensure your API Token has access to the content types you want to sync:
- Go to Settings → Users & Permissions → Roles → Public
- Or create a dedicated role for the integration
- Enable find and findOne permissions for desired content types
Available Tools After Connection
| Tool | What It Does | Example Query |
|---|---|---|
strapi_search_content | Search Strapi content types | ”Find articles about pricing” |
Test Your Integration
Try these queries on your website:- “What do you have about [topic]?”
- “Show me articles about [subject]”
- “Find content related to [keyword]“
Troubleshooting
Authentication fails
Authentication fails
- Verify your API Token is correct
- Check that the token hasn’t expired
- Ensure the token type is set correctly (Read-only or Full access)
- Make sure you’re including the full token without spaces
Connection fails
Connection fails
- Verify your API URL is correct and accessible
- Check that Strapi is running and the API is available
- Ensure your site is not blocking API requests
- Try accessing
/api/articles(or another endpoint) to test API availability
Permission errors
Permission errors
- Strapi uses role-based permissions for API access
- By default, the Public role has limited access
- You may need to create a dedicated role with proper permissions
- Ensure the API Token is associated with a role that has read permissions
Custom content types
Custom content types
- The integration works with any Strapi content type
- Custom fields and components are supported
- Ensure your content types have API enabled in their settings
- Check that the content schema is properly configured
Security: We use Strapi API Tokens for authentication. These tokens can be revoked or regenerated at any time from your Strapi admin without affecting your application.
