Skip to content

Integration Chatbot with CMS Studio Tutorial


CMS Studio allows you to build a dashboard for your chatbot. This dashboard lets your clients to add, edit, or remove certain contents of your bot.

Previously, from Bot studio tutorial we have learned how to create a Pizza Bot. So, in this tutorial we will learn how to set up a dashboard where your clients can edit bot response for “confirmPizza” and “Fallback” state.

Before we begin, you need to read CMS Studio docs to learn the basic concepts of CMS Studio.

Set up CMS Studio

We assume at this stage you already deployed your bot. If you haven’t, you can learn how to on Bot studio tutorial.

Create Environment

Click on Create Environment.


Environment URL will be used as a web address where your client can access the dashboard. For demo purpose, we will name it “my-cms”


Click on Create to submit data. Successfully created environment will be seen as follow


Create CMS Pages and Forms

Go to CMS menu and select Pages. This menu is a place for you to arrange pages, forms and elements.


Click “+” button to start a new page. In this use case, we will create a page named “Text Response” with label “textResponse”. Click Create then enter the page.


There is a breadcrumb on top left to indicate which page you are in. Click on “+” button to create a form


Fill in the fields as follows


Then, click on “Order Pizza” form you’ve just created


Introduction to Text Box Element

For the first use case, we will use Text Box elements to change bot response in confirmPizza State.

Click on Text Box element in left sidebar to add it to your form.


Added element is shown as above. Our next step is to fill in label and ID, and default value.

  • Label is a title for the element, so try to use any word that is easy to understand.
  • ID is used to define the element in bot. Every element’s ID is unique, and will be used as a code later on.
  • Default value is the value you want to put on the bot, for example the copywriting.

Add Asking Confirmation Text to Form

Fill in text box element as follow


Add Fallback Text to Form

Fill in text box element as follow


Then, click on Save button to save the structure.

Publish CMS

After you saved your CMS structure, go to Pages. Afterwards, click Publish.


Publish is a term that similar with commit in Git. You must publish your saved CMS before you create a deployment. Further explanation can be seen on Deployment Guide

Invite User to CMS Client

You can only invite Kata Platform users to Kata Dashboard. So make sure your client already has registered account on Kata Platform before you invite them. In the future update, we will support inviting non-Kata Platform users.

Click on Users menu under CMS Studio


Then, click on Add User button


Next, Add User drawer will show


Fill in e-mail and choose Development environment . Then click Add to send an invitation to that user’s email.


Integrate Elements to Bot

There are 3 things that we have defined on CMS, which are:

  • Page_label in Page (ex: textResponse)
  • Form_label in Form (ex: orderPizza)
  • ID in Element. (ex: askingConfirmation)

This information will be used in Bot Studio to sync a value from your dashboard. To do that, we have to enter a code with this format on the action we want to sync:


Change Value in confirmPizza State

In this case, this is what we will put on confirmPizza action on Bot Studio.


To update the action, you have to go back to Bot Studio and click on confirmPizza state.


Then, click on confirmPizza state. Replace the original text which is this:

Do you want to order $(

with this code:



Click Update Action to update your action. Then click on Update to update state.

Change Value in Fallback State

Click on init state in fallback flow.


Click on init state to update the action’s value. Fill in the value as follows



Click Update Action to update your action. Then click on Update to update state.

Publish Your Bot

Afterward, publish your bot by clicking Publish.

Deploy CMS & Bot Revision

Go to Deploy menu to deploy the newest version of your bot. Click on New Deployment, choose any deployment version and fill in change log. Then, click on Submit.


Then, go to Environment to change deployment. Click on more button to update.


Next, click Update. Update environment drawer will appear.


Choose latest deployment then click Update. Changes will be shown as follow


Customize Content in CMS Client

Your invited user will receive an email containing the dashboard’s URL or you can give them direct URL yourselves.

Enter CMS using E-mail

If you get an e-mail, click on Accept Invitation then you will be redirected to login page

Click on link for CMS client such as For this tutorial, we will access

The front page of Kata Dashboard looks like this


Click on Login after you filled in username/e-mail and password.


Edit Content in CMS Client

Click on available form which is “Order Pizza”


Fill in those elements with sentences that you want. For example:

Asking confirmation: You're almost done. Do you want to order $(
Fallback: Hmm, I don't understand that. How about we talk other things?

Click on Save icon to save in each element.

Show Changes in LINE

After you changed your deployment in environment, you can test directly in your bot’s LINE account.

Testing for confirmation:


Testing for fallback:


Contributing to the Documentation

Is something missing/incorrect? Please let us know by contacting If you know how to fix it straight away, don’t hesitate to create a pull request on this documentation’s GitHub repository.