Adding Voice assistant to an e-commerce app built using Kotlin

How does Alan Work?

Creating a project in Alan Studio

Steps to Integrate Alan with Android

  1. Open an existing Android project or create a new project from Android studio. To use Alan SDK we need to add its dependency in build.gradle (module-level)file as shown below and sync our project.

Sending commands from Alan to Android

Using slots to store item names from user’s utterances

Adding items to the cart using Alan

Conclusion

  • Navigate to different tabs
  • Add items to favorites
  • Add items to cart with the quantity

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store