@alan-ai/cordova-plugin-alan-voice

Alan Voice Cordova plugin

Usage no npm install needed!

<script type="module">
  import alanAiCordovaPluginAlanVoice from 'https://cdn.skypack.dev/@alan-ai/cordova-plugin-alan-voice';
</script>

README

Alan SDK Cordova component

Alan PlatformAlan StudioDocsFAQBlogTwitter

Add a voice assistant to your application. With no or minimal changes to the existing UI.

How to start:

  1. Run npm i @alan-ai/cordova-plugin-alan-voice

  2. Add the Alan button view to a template.

<alan-button id="alanBtnEl"
             #alanBtnEl
             alan-key="<YOUR_PROJECT_ID_FROM_ALAN_STUDIO>"></alan-button>
  1. Import the Alan button to your *.ts file and make a View Child.
import "@alan-ai/alan-button";

@ViewChild('alanBtnEl') alanBtnComponent: ElementRef<HTMLAlanButtonElement>;
  1. You are now ready to interact with Alan!

Have questions?

If you have any questions or if something is missing in the documentation, please contact us, or tweet us @alanvoiceai. We love hearing from you!)