# Arena to Cofactr

## Getting started

Follow the instructions below to automatically sync data from [arena](https://docs.violetlabs.com/apps/a/arena "mention") to [cofactr](https://docs.violetlabs.com/apps/c/cofactr "mention"):

{% stepper %}
{% step %}

### Create an <img src="https://2091741164-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvrraExym8pNEUvBDoima%2Fuploads%2Fv5CS755cKfDfwmztijnt%2Farena.png?alt=media&#x26;token=5f285858-289a-4d7c-9100-f1b4b3bf9e8c" alt="" data-size="line"> Arena integration

First, create an Arena integration following the instructions [here](https://docs.violetlabs.com/apps/a/arena). Configure your data fetch, specifying:

* The types of data you want to fetch (`parts`, `files`, `change orders`, etc).
* Fetch frequency, for example every 1 hour, 10 minutes, etc.
  {% endstep %}

{% step %}

### Create a <img src="https://2091741164-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvrraExym8pNEUvBDoima%2Fuploads%2FeBbOK3l5R3853HsDmFdW%2Fcofactr.png?alt=media&#x26;token=2d5388cb-b82c-4eaa-ac80-c3b6b629fceb" alt="" data-size="line">Cofactr integration

Next, set up an Cofactr integration, following the instructions [here](https://docs.violetlabs.com/apps/c/cofactr). Configure your data fetch, specifying:

* The types of data you want to fetch (`parts`, `BOMs`, `purchase orders`, etc).
* Fetch frequency, for example every 1 hour, 10 minutes, etc.

Violet will need to fetch whichever data you wish to be synced from Arena (eg. `parts`).
{% endstep %}

{% step %}

### Configure sync workflow

Head to [..](https://docs.violetlabs.com/features/workflows "mention") to configure your sync, including desired trigger, property mappings, business logic, etc.
{% endstep %}
{% endstepper %}

### One-off syncs

Alternatively, you can push parts to Cofactr on a one-off basis.

1. Navigate to the desired Arena part in Violet. Under **Automations**, select your target app and click Push.\
   \
   \&#xNAN;*Note, if this part is an assembly, the entire assembly will be pushed.*
2. Once successful, you will now see this part and its children in Arena, Violet and Cofactr.

### Observability

To learn more about monitoring performance and health & status of your data syncs, head to [observability](https://docs.violetlabs.com/features/workflows/observability "mention").

## How does it work?

Violet retrieves BOMs, files, assembly relationships, release status, and more from Arena on an event-driven, scheduled or ad-hoc basis. Violet structures information into our purpose-built schema that enables data to be mapped and synced to any downstream tool, such as an MES, ERP or modeling & simulation environment.

Data orchestration is fully user configurable in Violet. The Violet platform syncs relevant data to Cofactr according to any desired criteria (for example, released parts only), allows users to create matching assembly relationships, and syncs CAD files and drawings. Violet provides full observability into data sync status, metrics and error logging, and can provide tailored notifications to users via email or Slack.

<figure><img src="https://2091741164-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvrraExym8pNEUvBDoima%2Fuploads%2FYmrkIPedfbKdHEDd70Ji%2FSync%20Metrics.png?alt=media&#x26;token=7f63afd6-77b5-469e-9df5-a6c9faa66193" alt="" width="563"><figcaption><p>Monitor every integration and data sync with live metrics.</p></figcaption></figure>
