Getting Started

Before you Begin

  • The CLI tool connects automatically to Qlik Sense SASS, if you are creating for QS Enterprise, see here for the changes that you need to make, once your template is generated.
  • 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

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

Create

To create your mashup run
1
$ motor create
Copied!
This will give you several prompts in order to customise your mashup and connect it to your Qlik Sense instance.
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
23
Copied!
This will create your selected mashup template 🎉. See the next section to learn about your created code.
Finding errors in your created code? Check out the below which could help!
Last modified 4mo ago