Powered by Algolia


Getting Started

  1. Install the @alan-ai/alan-sdk-web package and import the alanBtn into your main.js file:

    $ @alan-ai/alan-sdk-web --save
    import alanBtn from "@alan-ai/alan-sdk-web";

    Or just add the alan_lib.js library to your index.html page via script tag:

    <script type="text/javascript" src=""></script>
  2. Add the following code to the main.js file in your project:

        key: 'e3018cc76639126f974f1bf6b6929c1b2e956eca572e1d8b807a3e2338fdd0dc/stage'

    The alan-key is given here just for example, use the key from your Alan Studio project in real life.

    See an example of the Vue app with the Alan Button here.