# Running Substation ES REST-Recipe Sample

This section explains how to run the Substation ES recipe REST samples for ActiveMatrix BusinessWorks.

## Procedure

1. Select run bwapplication.
2. When processes are up and running, do the following:
   1. On the console for the bw engine, click on area and then hit enter.
   2. A prompt should appear “<>@BWEclipseAppNode>”.
   3. Type "lrestdoc" and hit enter. BW runtime will display the “Discovery Url”
   4. Open this URL into a browser (use chrome or firefox).
3. Click REST-RECIPE.
4. Click Get.
5. Enter values in the Data and CorrelationId fields. Then, click Try it out!.

## Result

This will initiate a HTTP-Rest get request to the BW process that will interface with Substation ES and return the response.
Copyright © TIBCO Software Inc. All rights reserved.