Deploy

There are always two versions of your chatbot. First, there is the version that you are working on in your Dialog Editor. This version of the chatbot is called the development version. You design and test your conversations here until you are satisfied that you have the chatbot that you want.

Once you are done creating the chatbot that you want, you need to make it available to the public. We call this deploying your chatbot. This means that a second version of your chatbot is created. We will call this the deployed version. 

On the Deploy page, you can implement a chatbot widget on your website. Select a chatbot from the drop-down menu to see what the intents, entities and examples are connected to this chatbot. 

Click on Deploy. This will generate a script:  

You only need a small script to implement the chatbot on your website. This script will always load the latest deployed version of your chat widget and chatbot.

You can embed a JS snippet to load our launcher, and the launcher can communicate out to Spotler AIgent

Before deploying your chatbot

Before you can deploy your chatbot, there are always two things you need to do:

1. Train your chatbot. This is easy, just click the Train button.
image1.png

2. Validate the dialogs. Your chatbot cannot be deployed when the dialogs contain errors.

How to validate chatbot dialogs

When you get this message, it means that you dialogs contain errors which prevent your bot from deploying.

image2.png

To fix these, go to your chatbot dialog workspace, and look for turns with a red triangle warning symbol.

image3.png

When you hover over the warning symbol, you'll see a short problem description that helps you finding the cause.

Note: you can only deploy your chatbot when every warning has been solved.

Things to check before deploying

  • Does every user turn have a corresponding bot turn?
  • Do Question turns have corresponding user turns?
  • Does every button have a follow up message or flow?
  • Did you accidentally loop two turns?

Deploying your chatbot 

In the left-hand side menu, go to Deploy. In this overview you can see all changes that you made since the last deployment.

image2.png

Deploy the chatbot

To deploy the chatbot, you can simply press the green DEPLOY button. When the chatbot is done deploying, you will get this notification:

If not, did you get this error?

image4.png

Don't worry! Your chatbot hasn't been trained since your last changes. Train your chatbot first. After that, you will be able to deploy your chatbot.