# Omnivore

Supported POS Software:  https://www.olo.com/omnivoreapi

# Omnivore Customer Setup

[Omnivore Installation Process.pdf](https://wiki.bartrack.beer/attachments/1)

# Omnivore BarTrack Setup

1\. Visit the [Omnivore Control Panel Login](https://panel.omnivore.io/login) in a web browser and input the `technology@bartrack.beer` credentials to access the Control Panel

[![image-1648692704925.png](https://wiki.bartrack.beer/uploads/images/gallery/2022-03/scaled-1680-/image-1648692704925.png)](https://wiki.bartrack.beer/uploads/images/gallery/2022-03/image-1648692704925.png)

<div align="center" class="align-left" id="bkmrk--0">  
</div><div align="center" class="align-left" id="bkmrk--1"></div><div class="cl-preview-section align-left" id="bkmrk--2"></div><div class="cl-preview-section align-left" id="bkmrk--3">- - - - - -

</div>2\. Locate the `Locations` tab on the top center of the webpage menu - this will provide you a list of all of the customers that are currently integrated with BarTrack through Omnivore

[![image-1648692750419.png](https://wiki.bartrack.beer/uploads/images/gallery/2022-03/scaled-1680-/image-1648692750419.png)](https://wiki.bartrack.beer/uploads/images/gallery/2022-03/image-1648692750419.png)

<div class="cl-preview-section" id="bkmrk--5"><div align="center" class="align-left">  
</div></div><div class="cl-preview-section align-left" id="bkmrk--6">  
</div><div class="cl-preview-section align-left" id="bkmrk--7">  
</div><div class="cl-preview-section align-left" id="bkmrk--8">- - - - - -

</div>3\. Utilize the search box on the top right side of the screen to quickly locate customers - in this example we are looking for `The Branch`, which can be seen below -

[![image-1648692796344.png](https://wiki.bartrack.beer/uploads/images/gallery/2022-03/scaled-1680-/image-1648692796344.png)](https://wiki.bartrack.beer/uploads/images/gallery/2022-03/image-1648692796344.png)

<div class="cl-preview-section align-left" id="bkmrk--10">  
</div><div class="cl-preview-section align-left" id="bkmrk--11"></div><div class="cl-preview-section align-left" id="bkmrk--12">- - - - - -

</div>4\. Once this has been identified, you will want to click on that customer and cross-reference the address displayed here with what we have captured in the database to ensure that we are referencing the correct location. Once you have confirmed that the location is valid, you will need to copy the `Location ID`. In the example where we are utilizing *The Branch*, the Location ID is `i6EzBB4T`, as seen below -

[![image-1648692838405.png](https://wiki.bartrack.beer/uploads/images/gallery/2022-03/scaled-1680-/image-1648692838405.png)](https://wiki.bartrack.beer/uploads/images/gallery/2022-03/image-1648692838405.png)

While here, it is useful to also reference the **Status** and **Ping Latency** in order to determine if there are any issues. As long as the status indicates they are Online and the ping latency does not have any yellow or red periods you are good to proceed.

<div class="cl-preview-section align-left" id="bkmrk--14">- - - - - -

</div>5\. The next step is updating the **establishments** table of the database to reflect the necessary information for the integration. The primary things that you’ll need to know are as follows:

<div class="cl-preview-section align-left" id="bkmrk-establishment-id-doe">- Establishment ID
- Does the customer utilize modifiers?
- Establishment Timezone
- Date Activated
- Location ID from Omnivore Control Panel

</div>Once you have collected all of the necessary information you can proceed with executing the SQL query below, this will prompt you to enter several variables which encompass the information you captured above.

**SQL Query -**

```SQL
UPDATE <br></br>    establishments<br></br>SET <br></br>    integration_id = 1, <br></br>    day_week_begins = 2, <br></br>    default_pour_cost_pct = 20, <br></br>    pos_hour_integration_done = 5, <br></br>    pos_modifiers = ${pos_modifier_flag}$, <br></br>    rpts_daily_deliver = true, <br></br>    rpts_daily_hour = 9, <br></br>    rpts_weekly_deliver = true, <br></br>    rpts_weekly_hour = 9, <br></br>    rpts_monthly_deliver = true, <br></br>    rpts_monthly_hour = 9, <br></br>    rpts_combine_comps_voids = false, <br></br>    rpts_rotation = '03:00:00', <br></br>    time_zone = ${timezone}$, <br></br>    rpts_valid_from = ${date_activated}$, <br></br>    pos_cloud_based = true, <br></br>    pos_properties = '{"processed_locations_ids": ["${location_id}$"]}'<br></br>WHERE <br></br>    id = ${establishment_id}$;<br></br>
```

**Example Data for Variables -**

```
Name                     Value          <br></br>------------------------ -------------- <br></br>pos_modifier_flag        true           <br></br>timezone                 'US/Eastern'   <br></br>date_activated           '2021-08-01'   <br></br>location_id              i6EzBB4T      <br></br>establishment_id         164              <br></br><br></br>
```

<div class="cl-preview-section align-left" id="bkmrk--16">- - - - - -

</div>6\. After the establishment has been configured in the database, you can proceed to SSH to the POS server to complete the final portion of the configuration. Once you have accessed the server, navigate to the `~/bartrack-pos/integrations/cli` directory

[![image-1648692949382.png](https://wiki.bartrack.beer/uploads/images/gallery/2022-03/scaled-1680-/image-1648692949382.png)](https://wiki.bartrack.beer/uploads/images/gallery/2022-03/image-1648692949382.png)

<div class="cl-preview-section align-left" id="bkmrk--18"><div align="center">  
</div></div><div class="cl-preview-section align-left" id="bkmrk--19">  
</div><div class="cl-preview-section align-left" id="bkmrk--20">  
</div><div class="cl-preview-section align-left" id="bkmrk--21">- - - - - -

</div>7\. Once you are in the `~/bartrack-pos/integrations/cli` directory, edit the `settings.json` file and locate the section that contains the **Omnivore** integrations

[![image-1648693156488.png](https://wiki.bartrack.beer/uploads/images/gallery/2022-03/scaled-1680-/image-1648693156488.png)](https://wiki.bartrack.beer/uploads/images/gallery/2022-03/image-1648693156488.png)

<div class="cl-preview-section align-left" id="bkmrk--23">  
</div><div class="cl-preview-section align-left" id="bkmrk--24">  
</div>Once you have found the section, you will need to insert a record in the chronological position based on the establishment ID. Modify the record below to reflect the correct establishment ID and then insert it into the configuration file. Once the changes have been finalized, save your changes.

```JSON
"164": {<br></br>	"apiKey": "8ca36fdcd28948f892faccd1690f6484"<br></br>}
```

Once you have inserted the record into the configuration file, it should look similar to the example below -

[![image-1648693185323.png](https://wiki.bartrack.beer/uploads/images/gallery/2022-03/scaled-1680-/image-1648693185323.png)](https://wiki.bartrack.beer/uploads/images/gallery/2022-03/image-1648693185323.png)

<div class="cl-preview-section align-left" id="bkmrk--26"><div align="center">  
</div></div><div class="cl-preview-section align-left" id="bkmrk--27">  
</div><div class="cl-preview-section align-left" id="bkmrk--28">  
</div><div class="cl-preview-section align-left" id="bkmrk--29">- - - - - -

</div>8\. Now that the establishment has been correctly configured you are able to pull the POS data for the customer, you will need to pull the data from the **Activation Date** onwards.

# Omnivore Micros Symphony

##### **Required Info**

- **Simphony version**
- **Is it hosted?**
- **Name of the Property to be integrated**
- **Number of Revenue Centers to be integrated, and their names**

*If your Simphony version is 2.x or if your Enterprise is on-premise, please skip this section and move to the next.* To proceed with our integration into your Simphony system, we request login information for EMC. If you are using a hosted version of Simphony, could you help us get a read-only user set up with permission to view settings from the enterprise level? In order to log in we will need:

- **Server URL**
- **User Name**
- **Company**
- **Password**

We also require Transaction Services. Please use the following information to reach out to Oracle or your re-seller to request they install, configure, and test Transaction Services for your system if you haven't already:

- License: Guest Facing Transaction Services
- Configuration: Add a POSAPI Client
- CAL: Add the Transaction Services role to a host workstation and allow CAL to install the required files
- Testing: Use TSDemoClient to confirm Transaction Services is functioning correctly
- **Results: Reply to Omnivore Support with the Employee ID and RVC number (#) used for testing**

# Omnivore Supported POS

- NCR Aloha
- PAR Brink
- Dinerware
- Micros Simphony
- Micros 3700
- POSitouch
- Squirrel Systems
- XPIENT
- Lavu (Read Only)
- Maitre'D (Read Only)
- NCR Cloud Connect (Read Only)
- Toast (Read Only)

