Showcase

Getting Started#

Before you Begin#

The CLI tool connects automatically to Qlik Sense SASS, if you are creating for QS Enterprise, you will need to make a few changes to connect to your site.

You will need to also generate a Web Integration ID for connection to Qlik SASS. You can read about this here.

Prerequisites#

You’ll need to have Node >= 10.16 and npm >= 5.6 on your machine.

Install#

js
1
$ npm i -g @motor-js/cli

Create#

To create your mashup run

js
1
$ motor create

This will give you several prompts in order to customise your mashup and connect it to your Qlik Sense instance.

js
1
$ motor create
2
3
What name do you want to give your app (should be in kebab case format: `your-app-name`)? my-mashup
4
5
Please select your React framework
6
> create-react-app
7
8
Please select your Motor template
9
> Solar
10
11
Please select your Qlik deployment type
12
> Qlik Sense SASS
13
14
Please enter your tenant name (e.g. motor.eu.qlikcloud.com): .....
15
16
Please enter your application id: .....
17
18
Please enter your web integration id: ....
19
20
$ cd my-mashup
21
$ yarn install
22
$ yarn start
This will create your selected mashup template 🎉.

Finding errors in your created code? Check out the next section which could help!

Getting Started