https://discord.gg/botpress logo
Bot creation from API
# 🤝help
f
Hello ! I want to create bots using only the API from a custom UI with only few customizable properties such as image, color, name, instructions and want to be able to add some knowledge files. I have difficulties to understand what properties I need to pass to have all the basic useful functionnalities. Is there a way to attach a standard "template" to the API or SDK create endpoint to avoid recreating manually all the basic already built-in features that are present when creating a bot from Botpress Studio ? Do you have a basic standard configuration you can share with me ? Many thanks in advance for your help 🙏
e
Hello there, How are you doing?
I can help DM me.
f
I can help you create a reusable API template so you only pass name, color, image, instructions, and knowledge files while keeping all default Studio features. Are you looking to spin up multiple bots programmatically or just need one standard config? @freezing-airport-56398
c
Hello! You don't need to rebuild everything when using the API. The easiest way is to create a default template with the basic setting and then only change the fields you need. That way you don't have to redo all the built-in features each time.
f
Thanks for your answers, ! Good to hear, it's possible 😀 but then why isn't it something more obvious and provided by botpress ? Do you have such templates ? I have the feeling that just creating a bot through Studio and copy pasting its configuration is not enough, there must be some steps that are not explained in the doc
m
Hmm! are you free to exchange ideas over a call?