Publish your integration on Botpress Hub
When you’re ready to share your integration, you can publish it on Botpress Hub. This will make your integration publicly available to other Botpress users.
Publish your integration
Make your integration public
- From the Dashboard, navigate to integration’s page.
- Select Make Public:
- Accept the Hub terms and conditions.
Verify your integration
After making your bot public, you need to send it to Botpress for verification and approval.
Visual learner? Check out our YouTube guide on verifying your integration.
- Update your profile on Botpress.
- Update your integration’s display information.
- Ensure your integration asks users for any configuration parameters.
- Prepare an example bot that uses your integration.
- Send us your bot for approval.
Your workspace profile on Botpress Hub
When a user installs your app, your workspace information will be viewable by the user. Please ensure:
- Your Workspace has a url handle that represents you.
- You have a way for users to contact you, like an email or a website.
- Introduce yourself in the Workspace description (optional). This is the place for self-promotion.
- Add an icon to your Workspace that represents you (optional).
We suggest you create a Workspace specifically for publishing integrations, as this will make it easier to add collaborators to your workspace, and keep your production and dev environments separate.
Your integration’s public information
Do not include “Botpress” in your integration’s title or use the Botpress logo in your icon. Also, self-promotion is not allowed in the Hub.
Now we need to ensure the integration has all the assets and information it needs to be displayed on the Hub.
Your integration’s definition file integration.definition.ts
file should contain:
- title: The display title of your integration for the hub.
- description: A succinct description of what your integration does.
- icon: The path to your svg icon usually
icon.svg
. - readme: The path to your integration’s readme usually
hub.md
.
Make sure to have an icon and a readme in the root of your integration folder:
- icon.svg: Use a pertinent icon related to the problem you are solving.
- hub.md: It should contain an explanation of what the integration is, how to configure it, and how to use it. Please also add a link to git repo if your integration is open source, this drastically increase your chances of getting approved.
Your integration’s logic
Finally, we need to ensure your integration is robust and user-friendly.
- If your integration requires parameters to be configured: it should validate the parameters in the register method, and throw a
RuntimeError
if there is an issue.
This RuntimeError
will be shown to the user in the Botpress Studio when they try to add your integration to their bot and there is an issue.
Submitting your integration for verification
When you’re done with above, we’d like to test your integration to ensure it works as expected, and that everything is in order. Whenever you’re ready , just click the Request Verification
button on the banner.
To speed up the process, you can do the following proactively
- In your workspace, create a demonstration bot and configure your integration for it. We’ll use this to try out the integration.
- Add
[email protected]
to your workspace with Admin privileges.
Was this page helpful?