How to publish your bot
Is your bot ready to go live and start talking to your users? Great, on this page we'll tell you how to push your bot live and make changes without breaking it.
When you're building your bot, you do so in the DRAFT version of that bot. When you surf to app.chatlayer.ai, you always start building in the DRAFT environment.
The DRAFT version is the one you use to build your bot. It's where you can make changes to the bot, test out flows, and work on the NLP. Once you're happy with your bot and want to push it live, you need to publish a LIVE version of your bot.
- When ready, click on the 'Publish' tab in the left side column. If you never published your bot before, you should see the following screen:

- Now click 'Publish' to publish your bot:

Publishing your bot
You can add some notes to each new bot version keep track of the changes you made in that specific version. This is especially handy when multiple people are working on the same bot.
Depending on the size of your bot, publishing could take a while. Relax, your bot is on its way!
Once you published your bot, you will see the following screen:

When you click on 'Open live mode', it will take you to the LIVE version of your bot. This version of your bot is the one users will interact with. Once you are in the LIVE version, you will see a red banner on top to remind you that you are working in the LIVE version:

We recommend not changing any data or configurations directly in your LIVE environment as this can break the bot that your customers are actively using.
Take into account that:
- The NLP needs to be trained before publishing it
- You cannot publish just the NLP if no NLP changes have been made since the last publish
- You cannot publish just the NLP if intents have been removed from your DRAFT version since the last publish. This is to avoid showing flows that are linked to intents that no longer exist. That means that removing intents from the LIVE version is only possible through 'Publish full bot'. Adding new intents to LIVE with 'Publish NLP Only' on the other hand, is possible.
Different NLP models in different environments will never be 100% identical. There are random factors inherent to this kind of machine learning that create different results, even with the same data. These differences are usually small, but in some cases where intents are very similar, the differences can be more apparent and lead to significant differences in confidence or entirely different classifications.
Once your bot is live and users are talking to it, you can keep making changes to your bot in the DRAFT version. Once your changes are final, you can publish a new LIVE version of your bot. This will overwrite the existing version of your LIVE bot.
Last modified 6mo ago