# Installation

## General

This document provides guidance on installing and configuring the **OPC UA Component**.

{% hint style="warning" %}
The OPC UA Component only works with Flow Mobile Clients (iOS/Android).
{% endhint %}

## Pre-Requisites <a href="#pre-requisites" id="pre-requisites"></a>

### System and Version

| System                           | Version                                                                                |
| -------------------------------- | -------------------------------------------------------------------------------------- |
| IFS Applications                 | 10                                                                                     |
| Novacura Flow Server             | 6.14                                                                                   |
| Novacura Flow Studio             | 6.14                                                                                   |
| Novacura Mobile Client (Android) | [Google Play Store](https://play.google.com/store/apps/details?id=se.novacura.flow.ng) |
| Novacura Mobile Client (iOS)     | [Apple App Store](https://apps.apple.com/us/app/novacura-flow/id1518800827)            |
| Connectors                       | Database, REST Service, OPC UA Client                                                  |

### Flow Connectors

#### IFS Connector

If you do not have a connector set up, you can see an example [here](https://docs.novacura.com/extensibility-and-integration/products/studio/connectors/database/ifs-apps-10/how-to-guides/configuration).

#### OPC UA Client Connector

You need a functioning connection to an OPC UA server using the OPC UA Client connector. If you do not have a connector set up, you can see an example [here](https://docs.novacura.com/extensibility-and-integration/products/studio/connectors/opc-ua-client/how-to-guides/configure-opc-ua-client-connector).

#### REST Connector - QuickChart

QuickChart is an open-source chart image API for generating chart images, PDFs, and QR Codes.

A REST Connector Project must be set up to utilize QuickChart.

Create a new REST Service Connector named "Quick Chart" and import the configuration file "QuickChart API.ncrcp." For more information see [Import a REST Configuration](https://docs.novacura.com/extensibility-and-integration/products/studio/connectors/rest-connector/how-to-guides/import-a-rest-configuration).

* Enter a Base Address of **<https://quickchart.io>**

Review [QuickChart's Documentation](https://quickchart.io/documentation/) for additional information on how to utilize this service.

<div align="left"><img src="https://3218748546-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MiW42YxFsGXIDjQJKNR%2Fuploads%2FZswNzoPz2IXl6xNJWz5z%2FQuickChart.png?alt=media&#x26;token=d0430c15-27f7-441b-95f3-bd8feeb1c6e3" alt=""></div>

### Flow Properties

Before installing the workflows, it is required to create **Global** Flow Properties within Novacura Flow Studio.

#### Flow Text Properties

<table data-header-hidden><thead><tr><th>Flow Property</th><th width="249.33333333333331">Example Value</th><th>Description</th></tr></thead><tbody><tr><td><strong>Flow Property</strong></td><td><strong>Example Value</strong></td><td><strong>Description</strong></td></tr><tr><td>AppOwner</td><td>ifsapp</td><td>IFS environment application owner (Schema).</td></tr></tbody></table>

## Installation Steps

{% hint style="warning" %}
Make sure that you have created all connectors and Flow properties before importing the workflows.
{% endhint %}

### 1. Import Workflows

Import workflows in the file "OPC UA Component".

For additional details see [Import Workflows](https://docs.novacura.com/extensibility-and-integration/products/studio/applications/workflow/how-to-guides/import-workflows).

### 2. Setting Menu Roles

Together with the imported workflows, there will also be a menu. Connect the menu to your roles to make them available for users.

For details see [Setting Menu Roles](https://docs.novacura.com/extensibility-and-integration/products/studio/applications/workflow/how-to-guides/setting-menu-roles)

### 3. Publishing Workflows

Within the Server Contents Window right-click on the OPC UA folder and select “Publish”. This process can take a few minutes but once complete, a Publish Successful message will be displayed.

If you receive any errors during the publication of the workflow. Please review the error detail and consult your support contact with the relevant information.

For details see [Publishing Workflows](https://docs.novacura.com/extensibility-and-integration/products/studio/applications/workflow/how-to-guides/publishing-workflows)
