Use Access to Read from a Topic
5 min
You can use Flows to read a topic from a tag through the local message broker using an Access Subscribe node.
Before you Begin
Make sure you create an Access API account. See Create an API Account and Manage API Accounts for more information.
Step 1: Add a Device
Follow the steps to Connect a Device and configure the following parameters:
- Device Type: Simulator
- Driver Name: Generator
- Enable Alias Topics: Select the checkbox.
Step 2: Add Tags
After connecting the device, add the following tag. See Add Tags to learn more.
Tag 1
- Name: Select S - Random value generator.
- Value Type: Select int64.
- Polling Interval: Enter 5.
- Tag Name: Enter tag 1.
After the tag is created, click the Copy icon for the topic name for the tag. You will refer to this later.

The copy icon for the tag
Step 3: Create Access Flow
To read a topic from a tag using Access:
- In Litmus Edge, navigate to the Flows Manager and create a new flow. See Create a Flow to learn more.
- In Litmus Edge, navigate to System > Tokens.
- From the Edit topics dialog box, do the following:
- Paste the topic name from Step 2 in the Read Topics field, and click Add Read Topic. The topic name appears below the Topic Name field.
- Return to the Flows browser tab and double-click the Access Subscribe node. The Edit access-subscribe node dialog box appears.
- Topic Name: Paste the topic name from Step 2. If you paste a topic from the Tags pane that has not been added to the Access Read Topic field, you will get an error.
- Return to the System > Tokens browser tab and do the following:
- Click the Action menu for the API account and select View API Key.
- Return to the Add new Access Connect config node dialog box in the Flows browser tab and do the following:
- API Key: Paste the API key you copied.








