Documentation

Powered by Algolia

Ember

Getting Started

  1. Install the @alan-ai/alan-sdk-web package:

    $ npm install @alan-ai/alan-button --save
  2. Install the ember-auto-import package to have ability to use packages from npm:

    $ npm install ember-auto-import --save
  3. Add the following code to the app.js file in your project:

    alanBtn({ 
        key: '07f754b3372d8f76b083b897e50a49102e956eca572e1d8b807a3e2338fdd0dc/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 Angular app with the Alan Button here.