---
title: "Use Node-RED with Edge MC"
slug: "use-node-red-with-edge-mc"
tags: ["Edge MC", "Edge", "Kado Portal", "Kado"]
updated: 2024-03-25T19:50:41Z
published: 2024-03-25T19:50:41Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://support.tulip.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Use Node-RED with Edge MC

## Using Node-RED with Edge MC

*Instructions on how to get started with Node-RED on an Edge MC* *See [here](https://support.tulip.co/r230/docs/edge-devices-and-flowfuse) for using FlowFuse and Node-Red on an Edge MC*

[Node-RED](https://nodered.org/) is a visual, flow-based programming tool to connect hardware with online services and available API endpoints.

Node RED uses the concept of nodes as the basic building block. Nodes are triggered by events or messages, will then process that information, and may generate output. Nodes can be connected and organized into flows.

### In this article you will...

- Learn how to enable Node-RED for your Edge MC

## Prerequisites

- Before setting up Node RED with your Edge MC, make sure you've registered your device to your instance. For instructions on registering your Edge MC, check out **[this article](https://support.tulip.co/docs/setting-up-an-edge-mc)**.
- You will also need to configure the Machine Attribute API on your instance per **[this article](https://support.tulip.co/docs/how-to-use-the-machine-attributes-api)**.

## Enabling Node-RED on your Edge MC

Note: If you're running an older Edge MC software, you may need to perform a Factory Reset before continuing. Click **[here](https://support.tulip.co/docs/reset-edge-mc-to-factory-settings)** to learn how to reset your device.

To enable Node-RED for your device, you must go to your Edge MC portal, which can be found at your device's IP address.

1. Click on the tab **Shop Floor** > **Edge Devices**.
2. Find your Edge MC device, and access its portal navigating to it's IP address.

![](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/Using%20Node-RED%20with%20Edge%20MC_299187549.png)

1. Login to your Edge MC Device Portal.
2. Enable Node-RED.

![](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/Using%20Node-RED%20with%20Edge%20MC_299188343.png)

1. Click **Node-RED Editor**.
2. Enter the following credentials in the Node-RED login screen:

![](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/Using%20Node-RED%20with%20Edge%20MC_299188858.png)

- Username: admin
- Password: Your Edge MC password

You've officially connected your Edge MC to Node-RED!

## Authenticating your Tulip Machine API Node

*Note: This step is only necessary on OS43.x or earlier. As of OS44, the node automatically authenticates to your Tulip account.*

1. Drag and drop a Tulip Machine API Node into the editor.

![](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/Using%20Node-RED%20with%20Edge%20MC_301902746.png)

1. Double click on the node to open it's settings panel:

![](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/Using%20Node-RED%20with%20Edge%20MC_301902544.png)

You will need to add your **Tulip API authentication**, and your **Device** info.

### Tulip API Authentication

- Factory URL: Your instance's URL (E.g. acme.tulip.co)
- API Key: The API Key from the Machine API that you set up
- API Secret: The API Secret from the Machine API that you set up

![](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/Using%20Node-RED%20with%20Edge%20MC_301903319.png)

### Device Info

- Device Info: Copy and paste the **Device Info** from your Machine:

![](https://cdn.document360.io/7c6ff534-cad3-4fc8-9583-912c4016362f/Images/Documentation/Using%20Node-RED%20with%20Edge%20MC_301903237.png) Your **tulip-machine-api** node is now authenticated!

Please reach out to [node-red@tulip.co](mailto:node-red@tulip.co) with any questions.

## Further Reading

- [Creating a Counter using Node-RED](https://support.tulip.co/docs/creating-a-counter-using-node-red)

**Node-RED**

**Node-RED**is an open-source flow-based logic language that runs natively on **Edge IO**and **Edge MC.**The Node-RED community has developed 3500+ libraries to interface with just about anything!

**Edge IO**

**Edge MC** is a Tulip-developed **Edge Device**. run **Node-RED**flows on dedicated hardware with built-in security and stability.

**Edge Mc**can also act as a **Connector Host**or OPC-UA Broker

**Edge Devices**

**Edge Devices** are any hardware intended to connect physical things to the cloud. This can include entirely mechanical devices, older machines without network functionality, PLCs, and more.

Tulip sells the **Edge IO** and **Edge MC** that interface directly into **Triggers** in a breeze, but Tulip can also support other Edge Devices.

**Device Portal**

The **Device Portal**is the home where you can configure **Light Kits** and****Edge Drivers, see **Edge Device**network status, and more.
