This guide covers getting up and running with BotTalk.

After reading this guide, you will know:

  • How to create scenarios of your future Alexa Skills and Google Actions.
  • How to use predefined templates to kickstart development process of your own conversational logic.
  • How to deploy (publish) the scenario you created on Amazon Alexa Development Portal / Google’s Dialogflow.
  • How to test your scenario in Alexa Test Console / Dialogflow Simulator.
  • How to test your scenario on physical devices - Amazon Echo and Google Home.
  • How to send the test version of your Alexa Skill / Google Action to your first beta-testers.

Guide Assumptions

This guide is designed for beginners who want to get started with building their own voice user interfaces. It does not assume that you have any prior experience with creating Alexa Skills or Google Actions.

What is BotTalk?

BotTalk is an award-winning platform for creating voice user interfaces and shipping them both as Alexa Skills and Google Actions. It is designed to make writing voice user interfaces easier by providing a simple language that is readable by humans (and not only ninja developers).

Creating a New Scenario

After you create your BotTalk account you’ll be redirected to the main screen. There you will find all your scenarios. If you’re using BotTalk for the first time this screen will be empty for you. But not for long. Go ahead and click on the Create new scenario button.

5D643F6C-A773-46C3-8A34-3A927099ADB0

You’ll see the three-step wizard that will help you create your first scenario.

In the basic settings step you’ll be asked to give your skill a name. This name will automatically be an invocation name - or simply put - the command that is used to call your skill / google action after the user says: “Alexa” or “Hey Google”. Let’s call our scenario Dog Facts Tutorial.

In the same screen you need to choose a language for your Skill / Google Action. At the moment Alexa is supported in 5 countries: so you could choose English(US), English(UK ) or German, France or Spanish as your target language:

A326676C-CA81-461B-9CDD-EB26BC400A86

Choosing a Template

In the templates step you can choose a template for your skill. Those templates are based on the real skills we created with BotTalk and published on Amazon: Dog Facts Skill, Coin Cap Skill

A89550F9-FEA7-48B2-A075-45A3D9C22318

For the purpose of this tutorial we’ll choose a simple Dog Facts scenario. Our scenario will randomly read one fact about dogs at a time. Simple as that. Nevertheless it is a perfect candidate for the MVP: it is useful enough to play around and deploy to Amazon and Google as fast as possible.

All that’s left to do now is to check the details of the scenario we’re about to create and click the Finish creation button:

95ADBB80-D0D4-47B5-A94D-DBB5F68A7AB2

After this you are all set up for launching your brand new scenario in the BotTalk editor:

7FED65E6-9FFB-434E-9808-9B0DD7891C79

Deploy to Amazon Alexa

This is how your scenario looks like in the editor:

A634DD90-3E5A-4894-A4D1-EE84918B2614

In this guide we will not be looking at the details of the scenario implementation. But if you feel curios - this template has everything you need to kickstart your Amazon Skill or Google Action: predefined logic, third-party API calls, custom intents. Interested? We have developed a comprehensive guide just for you!

Go to the Deploy tab in the top of the editor and you will see two options. You can deploy, or publish, your scenario as Amazon Alexa Skill or as Google Assistant Action:

9855A589-9DB1-4A6B-AC34-0D6E16F2FE36

Of course you can do both as well, but we will start with Amazon Alexa first.

In order for you to be able to publish the Skills for Alexa you’re required to become a registered Amazon Developer: Amazon Developer Registration. This process is free of charge - and takes only 3 minutes to complete. Please note, that BotTalk will not be able to deploy your skill if you don’t have Amazon Developer Account.

After you created your Amazon Developer Account head back to your scenario on BotTalk, go to the Deploy section and click on the Connect to Amazon button.

You will be redirected to the Amazon authorization page, where you can log in with your Amazon Developer Account:

1F6DD767-866A-4E15-81A9-9164AF93B994

You will now be asked to authorize BotTalk application. This is required in order for BotTalk to publish and update the Skills you created. BotTalk DOES NOT store your Amazon email / password!!!

After you authorize BotTalk, you’ll be redirected to the dashboard. Where you need to choose the scenario you created once again (sorry for this inconvenience, but there were no other way to solve oath process of Amazon):

E3E77B47-393D-41A3-B59D-2CAD1F0DE71A

After choosing the scenario and going to Deploy section once again, you will see the button that used to be called Connect to Amazon now has changed to Deploy:

17480301-9FF4-4D21-8156-E72803B39AB9

Go ahead and click on that button to start the deployment process:

2C080422-BEBC-481B-952B-8BCE843CD55B

It takes couple of minutes for the deployment to build your skill. After it’s done you will see the confirmation: Successfully deployed to Alexa:

7321B5F6-097F-460D-B551-4BB565F4BE12

Testing Skill on Amazon Alexa

To test that the deployment worked, head over to the Amazon Developer Services and sign in as Amazon Developer.

After this choose Amazon Alexa from the dashboard (left top corner):

0D124C79-56C8-44AA-A3B5-32D25A42A476

And then head to Your Alexa Consoles menu (right top corner). Click on the Skills section:

1BAAF2E9-B37A-4864-AE57-A06EE124050F

You will see the skill you’ve just deployed from BotTalk displayed in the list as the first item:

AD5084B5-F637-496E-9175-A0506EEEA19D

To test the skill, click on the Edit link in the ACTIONS section. You will see the following screen:

92F3BDCD-620A-441E-A7C3-D3945E63CBC8

From here head to the Test tab at the top of the screen. The Test Console will open:

2ACF64A8-B9BD-4ED6-9381-3C205DD017E9

There you can start your newly created skill either by typing in the input field, or by clicking on the microphone icon and saying: open dog facts tutorial. (Please not that if named your scenario differently - you would need to choose that name instead):

D10EB5A2-300A-4C41-83DB-FD767A3AD4F3

HEY!!! You’ve just written, deployed and tested your first Amazon Alexa Skill! Congratulations!

Now go ahead and play a bit with the Skill. Answer the yes/no questions. Try asking for help etc:

3B6F15DA-186F-464A-94C2-AFB144CDD21B

Want to see something cool? Let’s change something in BotTalk and see how those changes are immediately seen in the Alexa Test Console.

Head back to BotTalk, open the scenario, scroll to the help step:

EA1F506C-6008-446D-B542-CD93FCAA1116

Edit the text inside of the single quotes. Don’t forget to close the quotes. We’ll change the help text
from:
'I am here to help! You can ask for next fact or exit anytime. Would you like to hear next fact?'
to:
'Here is my own help text! Can I help you? Do you want to hear the text dog fact?'

82FC337C-4CE7-496F-A341-AF3FD46F64A8

Click the Save button and wait for the little confirmation at the top of the editor:

5471FE85-4B7D-4672-93C1-445FEF5723A2

Now head back to Alexa Test Console, close the Skill by typing in close. This step is important - the opened skill can’t see the changes you have just made in BotTalk:

03D9228D-ADB2-4905-AA5F-078588082066

Open the skill once again by typing/saying open dog facts tutorial and then help to see if the changes you have made to the help section in the BotTalk scenario are working:

EEF0422A-2B04-43E4-8360-C280231C7243

YAY!!! That’s how easy it is to change what Alexa is saying by editing the sendText action in BotTalk!

Deploy to Google Assistant (via Dialogflow)

To deploy your scenario from BotTalk to Google Assistant you need to create an account on Dialogflow. Dialogflow is owned by Google and is essentially the counterpart of Amazon Alexa Console.

You can either register an account here or log in with your existing Google account:

62C83530-8819-408E-A850-D1CC936AF44F

After you create an account, your Dialogflow dashboard will look something like that:

DA393217-826B-4BD6-A97A-3C9F59C13949

Go ahead and Create Agent by clicking the link the top left of the menu. You will then need to provide AgentName that should not contain any whitespaces and choose the basic settings, like language and location. Please choose the same language you’ve chosen in BotTalk when you created your scenario, in our case it will be English:

A024D9CA-2A86-4607-861C-9C721C40DDAD

Click Create and wait for the Agent to be created. It could take couple of minutes:

11C7A9ED-04CC-4776-B6DE-C32F6D8FEA7A

After it’s done you’ll see the following screen:

67C7FFD0-2D3A-4EA6-9F81-2B686FC53936

Now head back to BotTalk, choose you scenario and click on the Deploy tab. From there click on the red button Download export file from the Google Assistant section:

33B992FD-6946-439D-8D39-180774064E7D

Save the zip file on your computer and go back to Dialogflow. There click the settings icon next to the Agent name (marked with the red arrow on the screenshot):

Screen-Shot-2018-07-11-at-5.43.32-PM

In the Settings go to the Export and Import tab and click on the Restore from Zip button:

C6DE8DFC-0349-4E44-8438-F0AB64D88DE9

In the popup window choose the file you’ve just downloaded from BotTalk:

AD56CBC9-CE60-4F43-A4E5-21309BC8E083

Type in RESTORE in the text field and click RESTORE button:

7A80FA0C-2709-40DF-8E9C-3A5B5589C58C

You’ll get a green notification in the bottom right corner of the screen:

6978EAA0-56CA-434F-B290-3D0D4D30EE56

You can now close the popup window. You’ve successfully deployed your scenario to Dialogflow!

Testing Google Action on Dialogflow

In order to test your freshly created Google Action head to the Integrations section of the menu:

40832675-85E6-45E7-A1E7-4A314CBE2789

Click on the Integration Settings link and the popup window will appear:

BE195098-B8D1-4586-A39D-E0A65EB2AD85

From there click on the TEST button at the bottom of the window. NOTE: If after the click a new browser tab is opened and instantly closed, you would need to close that popup window and click on the Integration Settings link once again. It’s a known Dialogflow bug =(

This is how the Simulator of Google Actions looks like:

0AFB1A47-6C08-48ED-8159-CB51741182D5

You can just go ahead and click enter in the input field. That will launch the test version of your Google Action:

73A3C3C3-4C1F-4F8A-9386-DEA54C588CCA

HEY!!! It’s working! Let’s check if it’s really the same scenario we’ve just tested on Amazon Alexa by trying out different answers:

6553592B-8661-4F4B-8D85-E4CCD563A3C3

Everything is working! Congratulations, you’ve just created your first Google Action!

Now that was easy, wasn’t it? Are you proud of yourself? Do you want to show it to your friend and colleagues? You will learn how to do that in the next section!

Testing your Alexa Skill on Amazon Echo Device

If the Amazon Developer Account is the same account your Amazon Echo is configured with - your skill will be available on your device directly after the deployment. Just try it out by saying /“Alexa, open Dog Facts Tutorial”/

If you want to test your skill on the other device, or send this skill for testing purposes to your friends and colleagues you need to invite them (or yourself) to be beta-testers.

Before you can invite others to test your skill, you need to complete couple of things in the Amazon Alexa Console. Head to Amazon Developer Sign In and click Edit link in the ACTIONS section next to your Skill name:

7BE68F23-8B3C-4EBB-9BB5-DF74C88CAAE3

From there go to Distribution tab. You would need to upload two icons: a small one 108x108 pixel and a large one 512x512 pixel. For your convince we’ve created those icons for you to use: Small Skill Icon, Large Skill Icon. Just upload it here:

2EF59074-E872-407A-A62A-65825E68EF42

And click on Save and continue button. In the next section choose the following answers:

78A3B144-E0B8-429A-B339-87C703EF238E

And once again click on Save and continue.

In the Availability section you will have a rectangular section call Beta Test:

141921FA-EE40-42F1-A709-EFD583C6CE33

Click on the error to open this section. Enter the tester email addresses in the field:

5724D48C-C478-4F2C-A964-CEF4FD56C62B

Click on the Add button and then the Enable beta testing button will be highlighted as active:

E4A91382-5D91-452E-9CEC-3AF490963974

Click on the Enable beta testing button. Now the betat testing has been activated and an invitation has been sent to the tester email address:

EAE1246E-6CBA-4C32-B8FC-B7B1A4650E01

That is it. Your beta testers will receive an email with the instructions on how to enable your Skill on their devices!

Testing your Google Action on Google Home Device / Google Assistant App

It is basically the same process that we’ve just went though with Amazon, but it’s done on Dialogflow.

In order for you to invite beta testers (or yourself) to install the Google Action on their devices you need to log in to Dialogflow Console.

From your dashboard you need to go to Integrations section:

06BF72CA-209D-4FB0-9E61-4AF5FF8B2DFE

Click on Integration settings. And in the popup window click on the Test button:

96C89AC5-6CAD-4A6B-A3D2-7F7930D57FD9

The next screen will be shown in the separate tab. Go to the Release section there:

33BB0612-EE39-480A-A321-8D6C35081774

And Click on the arrow next to Beta card. There you can open the following dialog by clicking on the Manage Beta Testers:

BAD15845-7911-4F8F-B3EE-02FF2E74D132

Add email addresses of your testers, click on the plus button and then on the Save button in the top right of the screen.

That’s it! Your users will receive an email from Google with the instructions on how to enable the Action on their devices.

Buring to Build Your Own Alexa Skill / Google Action?

We have just created a scenario on BotTalk and been able to deploy it both as Amazon Alexa Skill and Google Action!

Go ahead and launch your own Alexa Skill / Google Action NOW!

Do you want to learn more?

  • Please check out our YouTube Channel for more video tutorials.
  • In our Medium Posts you will learn how to create a custom scenario from scratch.
  • And on our Slack Channel if you can ask the community for help - or just share the Skill / Action you’ve created!