The easiest way to get started is to install via NPM.
We recommend you start by wrapping your React document with the Motor parent component. This handles two things:
- Connection to the Qlik Engine (you can pass configuration or the engine object directly)
You can then import the desired React component from the package and you're good to go. Check out the full list of props and theming options for each component in these docs.
The connection example below is pointing to Qlik's demo site. All examples in these docs use dimensions from this application
If you are connecting to a Qlik cloud SAAS instance, your configuration will look slightly different. We need to set the qcs entry to true and also add the web integration id, generated in your Qlik site. See below for an example:
For more information on how to generate your first web integration id in Qlik SAAS, head to the Qlik docs.