# Connect to Ignition

Ignition is a cutting-edge industrial automation software platform developed by Inductive Automation, offering a versatile and user-friendly solution for creating and managing a wide array of industrial applications. With its open architecture, real-time monitoring capabilities, and seamless support for various industrial protocols, Ignition empowers businesses to optimize processes and increase efficiency.

To further enhance the capabilities of Ignition, the Neuron SparkPlugB plugin provides an effortless way to connect and integrate with the platform.

## Install Ignition

1. Download the Ignition installation package from the Ignition website and install it according to the official documentation.

2. Download the Designer Launcher installation package from the Ignition website and install it according to the official documentation.

3. Download the third-party module `MQTT-Engine-signed.modl` from the Ignition official website. Login to the Ignition web administration page, go to the **Config** -> **Modules** page, click **Install or Upgrade a Module...** and install `MQTT-Engine-signed`.
![ignition1](./assets/ignition1.jpg)

4. Start an EMQX broker instance locally with the start command: `./bin/emqx start`

5. Open **Config** -> **MQTT ENGINE/Setting** -> **Servers** -> **Setting**, click **Create new MQTT Server Setting...** Create a connection with **Name** as EMQX, **URL** set to `tcp://localhost:1883`. Click **Save Changes** to save the settings. 

## Configure Neuron

### Southbound Device

This section assumes that the southbound OCP UA plugin has been installed, the group and point configurations are complete, and communication with Neuron functions normally. For details on the installation and configuration of the OCP UA plugin, refer to the [OCP UA section](../../south-devices/opc-ua/overview.md).

### Northbound Application

1. Add a Sparkplug B application to the Neuron **Northbound Apps**.

2. Fill in the **Client ID**, **Group ID**, **Node ID**, **Server Address**, and **Server Port** in **Application Configuration**, click **Submit** and start the connection.
  ![ignition2](./assets/ignition2_en.jpg)

  

3. Add the **Southbound devices** and **Groups** to the **group** list that you want to subscribe to.
![ignition3](./assets/ignition3_en.jpg)

## View Data Forwarding

1. Open the Desiger Launcher desktop icon and click **Add Designer** to add the installed Ignition server URL.

2. After connecting to the Ignition server, open **samplequickstart**.

3. Find **Tag Browser** in the software interface and select **MQTT Engine**, expand **Edge Nodes\Factory1\Neuron1\opcua-kepserver\test** to see the instantly uploaded measurement point data.
![ignition4](./assets/ignition4.jpg)

### Device Data Writing
Modify the corresponding tag value in the **value** column and press Enter. In the pop-up dialog box, select **Write Once** to change the corresponding value in the device.
![ignition-write1](./assets/ingnition_write1.jpg)
![ignition-write2](./assets/ingnition_write2.jpg)